Date: Tue, 8 Dec 2015 17:47:51 +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: r403320 - head/databases/rdb Message-ID: <201512081747.tB8Hlp9f089373@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081747.tB8Hlp9f089373>