Date: Fri, 20 Dec 2013 18:49:52 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337071 - head/devel/gengetopt Message-ID: <201312201849.rBKInqPb085507@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Fri Dec 20 18:49:51 2013 New Revision: 337071 URL: http://svnweb.freebsd.org/changeset/ports/337071 Log: - Bump PORTREVISION - USES gmake instead of USE_GMAKE - Use pkg-plist instead of PLIST_FILES and PLIST_DIRS - Support STAGEDIR - Break lines around 80 characters Approved by: pawel / wg (mentors, implicit) Added: head/devel/gengetopt/pkg-plist (contents, props changed) Modified: head/devel/gengetopt/Makefile (contents, props changed) Modified: head/devel/gengetopt/Makefile ============================================================================== --- head/devel/gengetopt/Makefile Fri Dec 20 18:47:52 2013 (r337070) +++ head/devel/gengetopt/Makefile Fri Dec 20 18:49:51 2013 (r337071) @@ -3,6 +3,7 @@ PORTNAME= gengetopt PORTVERSION= 2.22.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU @@ -13,20 +14,12 @@ LICENSE= GPLv3 INSTALL_WRKSRC= ${WRKSRC}/src -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes CFLAGS+= -D_GL_SYSTEM_GETOPT -MAN1= gengetopt.1 -INFO= gengetopt - -PLIST_FILES= bin/gengetopt %%DATADIR%%/getopt.c %%DATADIR%%/getopt1.c \ - %%DATADIR%%/gnugetopt.h - -PLIST_DIRS= %%DATADIR%% - PORTDOCS= * PORTEXAMPLES= * @@ -42,29 +35,26 @@ DOC_EXAMPLES= README.example cmdline1.c TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \ test_manual_help_cmd.ggo test_manual_help_cmd.h -NO_STAGE= yes .include <bsd.port.options.mk> post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/${INFO_PATH} - ${INSTALL_DATA} ${WRKSRC}/doc/${INFO}.info ${PREFIX}/${INFO_PATH} - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} - ${MKDIR} ${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} -.endif + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/ + @${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} + ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info \ + ${STAGEDIR}${PREFIX}/${INFO_PATH} + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for e in ${DOC_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/doc/${e} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${e} ${STAGEDIR}${EXAMPLESDIR} .endfor .for e in ${TESTS_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/tests/${e} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tests/${e} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif .include <bsd.port.mk> Added: head/devel/gengetopt/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gengetopt/pkg-plist Fri Dec 20 18:49:51 2013 (r337071) @@ -0,0 +1,7 @@ +bin/gengetopt +info/gengetopt.info +man/man1/gengetopt.1.gz +%%DATADIR%%/getopt.c +%%DATADIR%%/getopt1.c +%%DATADIR%%/gnugetopt.h +@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201849.rBKInqPb085507>