svn commit: r369620 - head/misc/getopt

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 30 15:23:33 UTC 2014


Author: sunpoet
Date: Tue Sep 30 15:23:32 2014
New Revision: 369620
URL: http://svnweb.freebsd.org/changeset/ports/369620
QAT: https://qat.redports.org/buildarchive/r369620/

Log:
  - Fix MAINTAINER
  - Add LICENSE
  - Add NLS option

Modified:
  head/misc/getopt/Makefile

Modified: head/misc/getopt/Makefile
==============================================================================
--- head/misc/getopt/Makefile	Tue Sep 30 15:23:27 2014	(r369619)
+++ head/misc/getopt/Makefile	Tue Sep 30 15:23:32 2014	(r369620)
@@ -7,19 +7,24 @@ CATEGORIES=	misc
 MASTER_SITES=	http://software.frodo.looijaard.name/getopt/files/ \
 		LOCAL/sunpoet
 
-MAINTAINER=	sunpoetFreeBSD.org
+MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Replacement for getopt(1) that supports GNU-style long options
 
-OPTIONS_DEFINE=	DOCS
+LICENSE=	GPLv2
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lintl
-MAKE_ARGS=	CC=${CC}
-MAKE_ENV=	LIBCGETOPT=0
-USES=		gettext gmake
+OPTIONS_DEFINE=	DOCS NLS
+
+MAKE_ARGS=	CC=${CC} LIBCGETOPT=0
+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
+
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/


More information about the svn-ports-head mailing list