From owner-svn-ports-all@freebsd.org Wed Nov 23 18:37:20 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9361EC51EBB; Wed, 23 Nov 2016 18:37:20 +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 mx1.freebsd.org (Postfix) with ESMTPS id 5FBEE66A; Wed, 23 Nov 2016 18:37:20 +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 uANIbJrD081102; Wed, 23 Nov 2016 18:37:19 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uANIbJdr081101; Wed, 23 Nov 2016 18:37:19 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201611231837.uANIbJdr081101@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 23 Nov 2016 18:37:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426952 - head/devel/autobook X-SVN-Group: ports-head 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.23 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, 23 Nov 2016 18:37:20 -0000 Author: amdmi3 Date: Wed Nov 23 18:37:19 2016 New Revision: 426952 URL: https://svnweb.freebsd.org/changeset/ports/426952 Log: - Add LICENSE - Add NO_ARCH - Use INSTALL_DATA to install files Modified: head/devel/autobook/Makefile Modified: head/devel/autobook/Makefile ============================================================================== --- head/devel/autobook/Makefile Wed Nov 23 18:34:08 2016 (r426951) +++ head/devel/autobook/Makefile Wed Nov 23 18:37:19 2016 (r426952) @@ -9,10 +9,20 @@ MASTER_SITES= http://sources.redhat.com/ MAINTAINER= ports@FreeBSD.org COMMENT= GNU autoconf, automake, and libtool - The Book -NO_BUILD= yes # it's only text! +LICENSE= OPL +LICENSE_NAME= OPEN PUBLICATION LICENSE +LICENSE_FILE= ${WRKDIR}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +NO_BUILD= yes +NO_ARCH= yes + +post-extract: + @${SED} -ne '/
/,/<\/pre>/ { s|.*
||; s|
.*||; s|<|<|g; s|>|>|g; p; }' \ + < ${WRKSRC}/autobook_284.html > ${WRKDIR}/LICENSE do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/autobook - ${CP} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/doc/autobook + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DOCSDIR} .include