diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 01:47:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 01:47:51 +0800 |
commit | ef6ff95e6e0ff1f56150c5b95deb17240244465b (patch) | |
tree | 006b4a5e05c7f06f889b750b90447760fcdd71a7 /databases/rdb | |
parent | d725921f193fb1798db2bfc6b06a7da532c4dbb7 (diff) | |
download | freebsd-ports-gnome-ef6ff95e6e0ff1f56150c5b95deb17240244465b.tar.gz freebsd-ports-gnome-ef6ff95e6e0ff1f56150c5b95deb17240244465b.tar.zst freebsd-ports-gnome-ef6ff95e6e0ff1f56150c5b95deb17240244465b.zip |
- Simplify the port by switching to shebangfix and PORTDOCS
- Switch to options helpers
- Add NO_ARCH
Diffstat (limited to 'databases/rdb')
-rw-r--r-- | databases/rdb/Makefile | 17 | ||||
-rw-r--r-- | databases/rdb/pkg-plist | 3 |
2 files changed, 9 insertions, 11 deletions
diff --git a/databases/rdb/Makefile b/databases/rdb/Makefile index a76af7d35223..1d7814199e97 100644 --- a/databases/rdb/Makefile +++ b/databases/rdb/Makefile @@ -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> diff --git a/databases/rdb/pkg-plist b/databases/rdb/pkg-plist index d2eb079ed0fe..52ebb4bcb329 100644 --- a/databases/rdb/pkg-plist +++ b/databases/rdb/pkg-plist @@ -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 |