Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 18:29:56 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420485 - head/x11-wm/lxsession
Message-ID:  <201608191829.u7JITu5I041958@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Aug 19 18:29:56 2016
New Revision: 420485
URL: https://svnweb.freebsd.org/changeset/ports/420485

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers
  - Fix build with disabled NLS
  - Verbosify build

Modified:
  head/x11-wm/lxsession/Makefile

Modified: head/x11-wm/lxsession/Makefile
==============================================================================
--- head/x11-wm/lxsession/Makefile	Fri Aug 19 18:25:15 2016	(r420484)
+++ head/x11-wm/lxsession/Makefile	Fri Aug 19 18:29:56 2016	(r420485)
@@ -10,33 +10,31 @@ MASTER_SITES=	SF/lxde/LXSession%20%28ses
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608191829.u7JITu5I041958>