From owner-svn-ports-all@freebsd.org Wed Mar 28 09:03:24 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C450EF6CDC1; Wed, 28 Mar 2018 09:03:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6DDB77E3B3; Wed, 28 Mar 2018 09:03:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 66227B71; Wed, 28 Mar 2018 09:03:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2S93OGA034530; Wed, 28 Mar 2018 09:03:24 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2S93Of7034529; Wed, 28 Mar 2018 09:03:24 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201803280903.w2S93Of7034529@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 28 Mar 2018 09:03:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465784 - head/textproc/gsed X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/textproc/gsed X-SVN-Commit-Revision: 465784 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 09:03:25 -0000 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