aboutsummaryrefslogtreecommitdiffstats
path: root/misc/getopt
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-16 04:16:36 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-16 04:16:36 +0800
commit63c5710adf033d2eeab6bf07a9901af319258e1e (patch)
tree2569f48604b1748c610b33c41f4e58610cfd0fe0 /misc/getopt
parentbc50eec7755c68f3777d122636d855afeff4932a (diff)
downloadfreebsd-ports-gnome-63c5710adf033d2eeab6bf07a9901af319258e1e.tar.gz
freebsd-ports-gnome-63c5710adf033d2eeab6bf07a9901af319258e1e.tar.zst
freebsd-ports-gnome-63c5710adf033d2eeab6bf07a9901af319258e1e.zip
- Use USES=localbase
- Convert to new options target helper
Diffstat (limited to 'misc/getopt')
-rw-r--r--misc/getopt/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index df8956fcd74a..5c4349d7fcc2 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -21,18 +21,19 @@ USES= gmake
PORTDOCS= Changelog README
-NLS_CFLAGS= -I${LOCALBASE}/include
NLS_MAKE_ARGS= WITHOUT_GETTEXT=0
NLS_MAKE_ARGS_OFF= WITHOUT_GETTEXT=1
-NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
-NLS_USES= gettext
+NLS_LDFLAGS= -lintl
+NLS_USES= gettext localbase
post-patch:
@${RM} ${WRKSRC}/gnu/*.o
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt
.include <bsd.port.mk>