svn commit: r424009 - head/sysutils/lxinput
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 15 09:03:48 UTC 2016
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 at 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}
More information about the svn-ports-head
mailing list