diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-10-15 17:03:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-10-15 17:03:46 +0800 |
commit | d1032bdf1b322d30864d0dd52bf345c2eb4dcb2c (patch) | |
tree | b9f8493dc1ea9020d9f251c5903ced2fcad8a703 /sysutils/lxinput | |
parent | 7c31741fbe83d50a69500c460f110a23a39c8483 (diff) | |
download | freebsd-ports-gnome-d1032bdf1b322d30864d0dd52bf345c2eb4dcb2c.tar.gz freebsd-ports-gnome-d1032bdf1b322d30864d0dd52bf345c2eb4dcb2c.tar.zst freebsd-ports-gnome-d1032bdf1b322d30864d0dd52bf345c2eb4dcb2c.zip |
- Switch to USES=localbase
- Switch to options helpers
- Remove unneeded CONFIGURE_ARGS
Diffstat (limited to 'sysutils/lxinput')
-rw-r--r-- | sysutils/lxinput/Makefile | 22 |
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} |