aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-06-01 19:33:57 +0800
committerohauer <ohauer@FreeBSD.org>2014-06-01 19:33:57 +0800
commit708484b121566fe6b3ea4905fa9d32c3546987af (patch)
tree926133d24e83d9141ba2d2529408bb46504bf4fa /biology
parentefa62245796e713096c3941d458c774e982d6ab1 (diff)
downloadfreebsd-ports-gnome-708484b121566fe6b3ea4905fa9d32c3546987af.tar.gz
freebsd-ports-gnome-708484b121566fe6b3ea4905fa9d32c3546987af.tar.zst
freebsd-ports-gnome-708484b121566fe6b3ea4905fa9d32c3546987af.zip
- add stage support
Diffstat (limited to 'biology')
-rw-r--r--biology/velvet/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/biology/velvet/Makefile b/biology/velvet/Makefile
index 06f7344df390..9b514578d4f4 100644
--- a/biology/velvet/Makefile
+++ b/biology/velvet/Makefile
@@ -57,8 +57,6 @@ PLIST_FILES+= %%SITE_PERL%%/${f:H:T}/${f:T}
PORTDOCS= ChangeLog Manual.pdf Columbus_manual.pdf
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@@ -73,22 +71,18 @@ post-patch:
do-install:
.for f in ${BINARIES}
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.for f in ${SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin/${f:T}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/${f:T}
.endfor
.for d in ${PERLMOD_DIRS}
- ${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${d:T}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${d:T}
.endfor
.for f in ${PERLMOD_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${SITE_PERL_REL}/${f:H:T}/${f:T}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${f:H:T}/${f:T}
.endfor
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>