From owner-svn-ports-all@freebsd.org Tue Dec 8 17:47:53 2015 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 2888B9D4311; Tue, 8 Dec 2015 17:47:53 +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 D0B8A1866; Tue, 8 Dec 2015 17:47:52 +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 tB8HlpNs089375; Tue, 8 Dec 2015 17:47:51 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB8Hlp9f089373; Tue, 8 Dec 2015 17:47:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512081747.tB8Hlp9f089373@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 8 Dec 2015 17:47:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403320 - head/databases/rdb 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.20 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: Tue, 08 Dec 2015 17:47:53 -0000 Author: amdmi3 Date: Tue Dec 8 17:47:51 2015 New Revision: 403320 URL: https://svnweb.freebsd.org/changeset/ports/403320 Log: - Simplify the port by switching to shebangfix and PORTDOCS - Switch to options helpers - Add NO_ARCH Modified: head/databases/rdb/Makefile head/databases/rdb/pkg-plist Modified: head/databases/rdb/Makefile ============================================================================== --- head/databases/rdb/Makefile Tue Dec 8 17:47:17 2015 (r403319) +++ head/databases/rdb/Makefile Tue Dec 8 17:47:51 2015 (r403320) @@ -10,28 +10,29 @@ DISTNAME= RDB-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Fast, portable, relational database management system +USES= perl5 shebangfix +SHEBANG_FILES= ${BINFILES} +NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/rdb -USES= perl5 BINFILES= column compute dataent etbl headchg jointbl lst2tbl \ mergetbl mktbl ptbl rdb rdbt repair reporttbl row search \ sorttbl subtotal summ tbl2lst uniqtbl valid -DOCFILES= RDB.pln.noM.gz RDB.ps.gz rdbi.doc +PORTDOCS= RDB.pln.noM.gz RDB.ps.gz rdbi.doc OPTIONS_DEFINE= DOCS -do-build: - cd ${WRKSRC}; \ - ${PERL} -pi -e 's|^\#\! /usr/bin/perl|\#\!${PERL}|g' ${BINFILES} - do-install: .for binfile in ${BINFILES} ${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for docfile in ${DOCFILES} - @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR} +.for docfile in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR} .endfor .include Modified: head/databases/rdb/pkg-plist ============================================================================== --- head/databases/rdb/pkg-plist Tue Dec 8 17:47:17 2015 (r403319) +++ head/databases/rdb/pkg-plist Tue Dec 8 17:47:51 2015 (r403320) @@ -20,6 +20,3 @@ bin/summ bin/tbl2lst bin/uniqtbl bin/valid -%%PORTDOCS%%share/doc/rdb/RDB.pln.noM.gz -%%PORTDOCS%%share/doc/rdb/RDB.ps.gz -%%PORTDOCS%%share/doc/rdb/rdbi.doc