Date: Wed, 28 Mar 2018 09:03:24 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465784 - head/textproc/gsed Message-ID: <201803280903.w2S93Of7034529@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Mar 28 09:03:24 2018 New Revision: 465784 URL: https://svnweb.freebsd.org/changeset/ports/465784 Log: - Add LICENSE - Switch to options helpers - Switch to new test framework Approved by: portmgr blanket Modified: head/textproc/gsed/Makefile Modified: head/textproc/gsed/Makefile ============================================================================== --- head/textproc/gsed/Makefile Wed Mar 28 08:33:26 2018 (r465783) +++ head/textproc/gsed/Makefile Wed Mar 28 09:03:24 2018 (r465784) @@ -11,19 +11,25 @@ PKGNAMEPREFIX= g MAINTAINER= johans@FreeBSD.org COMMENT= The GNU stream editor +LICENSE= GPLv3+ GFDL +LICENSE_COMB= multi +LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING +LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.DOC + GNU_CONFIGURE= yes CONFIGURE_ENV+= MAKEINFO="${MAKEINFO} --no-split" +TEST_TARGET= check USES= charsetfix makeinfo gmake PATCH_SUBDIRS= . doc lib sed DATADIR= ${PREFIX}/share/${PKGBASE} SAMP_FILES= binary*.sed dc.sed EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} -PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS +PORTDOCS= AUTHORS BUGS NEWS README THANKS DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} INFO= sed -OPTIONS_DEFINE= NLS DOCS +OPTIONS_DEFINE= NLS DOCS EXAMPLES OPTIONS_SUB= yes NLS_USES= gettext iconv @@ -44,15 +50,13 @@ post-configure: post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${SAMP_FILES} - @${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor - -# Maintainer only -test: - @cd ${WRKSRC}/testsuite; ${MAKE} check .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803280903.w2S93Of7034529>