aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lxinput
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-15 09:03:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-15 09:03:46 +0000
commit611f0c523fa5e9f9d895e3b5b1694ab034ecbbaa (patch)
treeb9f8493dc1ea9020d9f251c5903ced2fcad8a703 /sysutils/lxinput
parenta1b5d725351bf1f4a5160b22143f26c2b2b63aca (diff)
downloadports-611f0c523fa5e9f9d895e3b5b1694ab034ecbbaa.tar.gz
ports-611f0c523fa5e9f9d895e3b5b1694ab034ecbbaa.zip
- Switch to USES=localbase
- Switch to options helpers - Remove unneeded CONFIGURE_ARGS
Notes
Notes: svn path=/head/; revision=424009
Diffstat (limited to 'sysutils/lxinput')
-rw-r--r--sysutils/lxinput/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/sysutils/lxinput/Makefile b/sysutils/lxinput/Makefile
index 99954c7e07c0..f1ccec1d9323 100644
--- a/sysutils/lxinput/Makefile
+++ b/sysutils/lxinput/Makefile
@@ -10,31 +10,23 @@ MASTER_SITES= SF/lxde/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/LXInput%
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}