Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 15:23:32 +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: r369620 - head/misc/getopt
Message-ID:  <201409301523.s8UFNW41051095@svn.freebsd.org>

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



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