aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/lxsession
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-19 18:29:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-19 18:29:56 +0000
commit8fc3c44656442af3f9c79ac7430001b51266e510 (patch)
treef6a06fa2e7a351c7730cded8f5fce5ef7260da49 /x11-wm/lxsession
parentf1cc67d664e0cda9bba555dcfd758a121d2da6c4 (diff)
downloadports-8fc3c44656442af3f9c79ac7430001b51266e510.tar.gz
ports-8fc3c44656442af3f9c79ac7430001b51266e510.zip
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers - Fix build with disabled NLS - Verbosify build
Notes
Notes: svn path=/head/; revision=420485
Diffstat (limited to 'x11-wm/lxsession')
-rw-r--r--x11-wm/lxsession/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/x11-wm/lxsession/Makefile b/x11-wm/lxsession/Makefile
index cf1bc70712ad..f1a318f85196 100644
--- a/x11-wm/lxsession/Makefile
+++ b/x11-wm/lxsession/Makefile
@@ -10,33 +10,31 @@ MASTER_SITES= SF/lxde/LXSession%20%28session%20manager%29/LXSession%20${PORTVERS
MAINTAINER= ports@FreeBSD.org
COMMENT= LXDE Session Manager
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libhal.so:sysutils/hal \
libgee-0.8.so:devel/libgee \
libdbus-glib-1.so:devel/dbus-glib
-USES= gmake iconv pkgconfig
+USES= gmake iconv localbase pkgconfig
USE_GNOME= gtk20 intlhack libxslt
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-silent-rules
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
+NLS_USES_OFF= gettext-tools
# Wrong versioning upstream
PORTSCOUT= skipv:0.4.9.2
-.include <bsd.port.options.mk>
-
-post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
+post-patch-NLS-off:
@${REINPLACE_CMD} -e 's|po man|man|' \
${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>