Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 20:16:36 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399369 - head/misc/getopt
Message-ID:  <201510152016.t9FKGaQM023899@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510152016.t9FKGaQM023899>