Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2016 09:03:47 +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: r424009 - head/sysutils/lxinput
Message-ID:  <201610150903.u9F93lsG052223@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 15 09:03:46 2016
New Revision: 424009
URL: https://svnweb.freebsd.org/changeset/ports/424009

Log:
  - Switch to USES=localbase
  - Switch to options helpers
  - Remove unneeded CONFIGURE_ARGS

Modified:
  head/sysutils/lxinput/Makefile

Modified: head/sysutils/lxinput/Makefile
==============================================================================
--- head/sysutils/lxinput/Makefile	Sat Oct 15 08:16:53 2016	(r424008)
+++ head/sysutils/lxinput/Makefile	Sat Oct 15 09:03:46 2016	(r424009)
@@ -10,31 +10,23 @@ MASTER_SITES=	SF/lxde/LXInput%20%28Kbd%2
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Keyboard and mouse config tool from the LXDE project
 
-USES=		iconv gmake pkgconfig
+USES=		iconv gmake localbase pkgconfig
 USE_GNOME=	gtk20 intlhack
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX}
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 PORTDOCS=	AUTHORS README
 
 OPTIONS_DEFINE=	DOCS NLS
-OPTIONS_SUB=  yes
-
-NLS_USES=		gettext
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
+NLS_USES=	gettext
+NLS_USES_OFF=	gettext-tools
 
-post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
-	@${REINPLACE_CMD} -e 's|po man|man|' \
-		${WRKSRC}/Makefile.in
-.endif
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e 's|po man|man|' ${WRKSRC}/Makefile.in
 
-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?201610150903.u9F93lsG052223>