Date: Tue, 19 Aug 2014 19:51:01 +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: r365423 - head/misc/getopt Message-ID: <201408191951.s7JJp1Vm024294@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Aug 19 19:51:01 2014 New Revision: 365423 URL: http://svnweb.freebsd.org/changeset/ports/365423 QAT: https://qat.redports.org/buildarchive/r365423/ Log: - Add my LOCAL to MASTER_SITES - Use PORTDOCS - Sort PLIST - Take maintainership Modified: head/misc/getopt/Makefile head/misc/getopt/pkg-plist Modified: head/misc/getopt/Makefile ============================================================================== --- head/misc/getopt/Makefile Tue Aug 19 19:31:35 2014 (r365422) +++ head/misc/getopt/Makefile Tue Aug 19 19:51:01 2014 (r365423) @@ -4,26 +4,25 @@ PORTNAME= getopt PORTVERSION= 1.1.5 CATEGORIES= misc -MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/ +MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/ \ + LOCAL/sunpoet -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoetFreeBSD.org COMMENT= Replacement for getopt(1) that supports GNU-style long options -USES= gettext gmake +OPTIONS_DEFINE= DOCS CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl -MAKE_ENV+= LIBCGETOPT=0 - -DOCS= Changelog README - -OPTIONS_DEFINE= DOCS +MAKE_ARGS= CC=${CC} +MAKE_ENV= LIBCGETOPT=0 +USES= gettext gmake -post-patch: - ${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile +PORTDOCS= Changelog README post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt .include <bsd.port.mk> Modified: head/misc/getopt/pkg-plist ============================================================================== --- head/misc/getopt/pkg-plist Tue Aug 19 19:31:35 2014 (r365422) +++ head/misc/getopt/pkg-plist Tue Aug 19 19:51:01 2014 (r365423) @@ -1,7 +1,5 @@ bin/getopt -%%PORTDOCS%%%%DOCSDIR%%/Changelog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% +man/man1/getopt.1.gz share/locale/ca/LC_MESSAGES/getopt.mo share/locale/cs/LC_MESSAGES/getopt.mo share/locale/da/LC_MESSAGES/getopt.mo @@ -27,4 +25,3 @@ share/locale/uk/LC_MESSAGES/getopt.mo share/locale/vi/LC_MESSAGES/getopt.mo share/locale/zh_CN/LC_MESSAGES/getopt.mo share/locale/zh_TW/LC_MESSAGES/getopt.mo -man/man1/getopt.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408191951.s7JJp1Vm024294>