aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-03-24 01:43:41 +0800
committerpawel <pawel@FreeBSD.org>2014-03-24 01:43:41 +0800
commite1c6a27b4c77438d48300d0ff41c5e3759888036 (patch)
treef91daac46d5378ee7107ba5f77a1872f81bf7700 /biology
parentc7d2ac022a4dd751b9707621aaab88ffc75f969d (diff)
downloadfreebsd-ports-gnome-e1c6a27b4c77438d48300d0ff41c5e3759888036.tar.gz
freebsd-ports-gnome-e1c6a27b4c77438d48300d0ff41c5e3759888036.tar.zst
freebsd-ports-gnome-e1c6a27b4c77438d48300d0ff41c5e3759888036.zip
Add staging support
Diffstat (limited to 'biology')
-rw-r--r--biology/gff2ps/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/biology/gff2ps/Makefile b/biology/gff2ps/Makefile
index efb4b00f2392..b0db3c3c8e92 100644
--- a/biology/gff2ps/Makefile
+++ b/biology/gff2ps/Makefile
@@ -27,12 +27,9 @@ GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+DOCS_DISTFILES= ${GFF2PS_MAN}.gz:doc
-.if ${PORT_OPTIONS:MDOCS}
-DISTFILES+= ${GFF2PS_MAN}.gz:doc
-.endif
+.include <bsd.port.options.mk>
do-extract:
@${MKDIR} ${WRKDIR}
@@ -48,10 +45,10 @@ post-patch:
s|/usr/local/bin/gawk|${LOCALBASE}/bin/gawk|' ${WRKSRC}/gff2ps
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>