diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-26 14:42:56 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-26 14:42:56 +0800 |
commit | ee0f4e66d730a4201bb18b075604da4071ffa84e (patch) | |
tree | 69f9262c1d82a2bd49f71f89c1b6ff4f772cd430 | |
parent | de6008e092df4143808fb16a83ae6e2b50289991 (diff) | |
download | freebsd-ports-gnome-ee0f4e66d730a4201bb18b075604da4071ffa84e.tar.gz freebsd-ports-gnome-ee0f4e66d730a4201bb18b075604da4071ffa84e.tar.zst freebsd-ports-gnome-ee0f4e66d730a4201bb18b075604da4071ffa84e.zip |
Support staging
-rw-r--r-- | databases/rdb/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/databases/rdb/Makefile b/databases/rdb/Makefile index c73223dc403e..c793b11d907c 100644 --- a/databases/rdb/Makefile +++ b/databases/rdb/Makefile @@ -19,21 +19,19 @@ BINFILES= column compute dataent etbl headchg jointbl lst2tbl \ DOCFILES= RDB.pln.noM.gz RDB.ps.gz rdbi.doc -NO_STAGE= yes +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} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin .endfor -.if !defined(NOPORTDOCS) - @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in ${DOCFILES} - @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |