Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2016 09:03:45 +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: r423837 - head/sysutils/lxtask
Message-ID:  <201610120903.u9C93jeB000971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Oct 12 09:03:45 2016
New Revision: 423837
URL: https://svnweb.freebsd.org/changeset/ports/423837

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/sysutils/lxtask/Makefile

Modified: head/sysutils/lxtask/Makefile
==============================================================================
--- head/sysutils/lxtask/Makefile	Wed Oct 12 09:01:17 2016	(r423836)
+++ head/sysutils/lxtask/Makefile	Wed Oct 12 09:03:45 2016	(r423837)
@@ -10,7 +10,8 @@ MASTER_SITES=	SF/lxde/LXTask%20%28task%2
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Lightweight desktop-independent task manager
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake iconv pkgconfig
 USE_GNOME=	gtk20 intlhack
@@ -22,22 +23,13 @@ PORTDOCS=	AUTHORS README
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=	gettext
+NLS_USES=	gettext localbase
+NLS_USES_OFF=	gettext-tools
 
-.include <bsd.port.options.mk>
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e 's|po src|src|' ${WRKSRC}/Makefile.in
 
-.if ${PORT_OPTIONS:MNLS}
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
-	@${REINPLACE_CMD} -e 's|po src|src|' \
-		${WRKSRC}/Makefile.in
-.endif
-
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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