Tweak x11/metisse version 0.4.1_8
[dports.git] / x11 / wbar / Makefile
1 # Created by: Nicola Vitale <nivit@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       wbar
5 PORTVERSION=    2.3.4
6 PORTREVISION=   1
7 CATEGORIES=     x11
8 MASTER_SITES=   GOOGLE_CODE
9
10 MAINTAINER=     nivit@FreeBSD.org
11 COMMENT=        Simple and highly customizable quick launch bar
12
13 LICENSE=        GPLv3
14
15 BUILD_DEPENDS=  intltool-update:textproc/intltool
16 LIB_DEPENDS=    libImlib2.so:graphics/imlib2
17
18 CONFIGURE_ARGS= --exec-prefix=${PREFIX}
19
20 USES=           pkgconfig gettext gmake tar:tgz
21
22 GNU_CONFIGURE=  yes
23 LDFLAGS+=       -L${LOCALBASE}/lib
24
25 OPTIONS_DEFINE= NLS WBARCONFIG
26 OPTIONS_DEFAULT=        WBARCONFIG
27 OPTIONS_SUB=    yes
28
29 WBARCONFIG_DESC=        Build the GTK+ configuration interface
30
31 NLS_CONFIGURE_ENABLE=   nls
32 NLS_LIBS=       -lintl
33
34 WBARCONFIG_CONFIGURE_ENABLE=    wbar-config
35 WBARCONFIG_USE=         GNOME=libglade2
36
37 PLIST_SUB+=     DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
38
39 post-install:
40         ${MV} ${STAGEDIR}${PREFIX}/etc/wbar.d/wbar.desktop ${STAGEDIR}${DESKTOPDIR}/wbar.desktop
41
42 .include <bsd.port.mk>