aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-20 02:29:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-20 02:29:56 +0800
commit71e4920b2176adaf0006da08ecd039cad6778668 (patch)
treef6a06fa2e7a351c7730cded8f5fce5ef7260da49 /x11-wm
parent4f7c0e2c83d46682a9fef75f2ad5bd4f6b39e56c (diff)
downloadfreebsd-ports-gnome-71e4920b2176adaf0006da08ecd039cad6778668.tar.gz
freebsd-ports-gnome-71e4920b2176adaf0006da08ecd039cad6778668.tar.zst
freebsd-ports-gnome-71e4920b2176adaf0006da08ecd039cad6778668.zip
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers - Fix build with disabled NLS - Verbosify build
Diffstat (limited to 'x11-wm')
-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>