svn commit: r399369 - head/misc/getopt
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Oct 15 20:16:37 UTC 2015
Author: sunpoet
Date: Thu Oct 15 20:16:36 2015
New Revision: 399369
URL: https://svnweb.freebsd.org/changeset/ports/399369
Log:
- Use USES=localbase
- Convert to new options target helper
Modified:
head/misc/getopt/Makefile
Modified: head/misc/getopt/Makefile
==============================================================================
--- head/misc/getopt/Makefile Thu Oct 15 20:16:31 2015 (r399368)
+++ head/misc/getopt/Makefile Thu Oct 15 20:16:36 2015 (r399369)
@@ -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>
More information about the svn-ports-all
mailing list