aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-16 19:39:42 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-16 19:39:42 +0800
commit3352d35ec82f58ace39ae7a4ed757a597e1e299c (patch)
treea8443633b3fd619861346c73e4fbc67e68f97c6c /biology
parentdbbf7c5ae9b43e8da91382f9207a241e24828f58 (diff)
downloadfreebsd-ports-gnome-3352d35ec82f58ace39ae7a4ed757a597e1e299c.tar.gz
freebsd-ports-gnome-3352d35ec82f58ace39ae7a4ed757a597e1e299c.tar.zst
freebsd-ports-gnome-3352d35ec82f58ace39ae7a4ed757a597e1e299c.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'biology')
-rw-r--r--biology/recombine/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/biology/recombine/Makefile b/biology/recombine/Makefile
index aeb27c53d208..7889cad023b0 100644
--- a/biology/recombine/Makefile
+++ b/biology/recombine/Makefile
@@ -10,26 +10,24 @@ DISTNAME= ${PORTNAME}${PORTVERSION}.src.doc
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to fit population models across sites
+USES= shebangfix
+
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
ALL_TARGET= ${PORTNAME}
PLIST_FILES+= bin/filetran bin/recombine
PORTDOCS= recombine.txt
+SHEBANG_FILES= filetran
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/filetran ${PREFIX}/bin/
-
-.include <bsd.port.options.mk>
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/filetran ${STAGEDIR}${PREFIX}/bin
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/recombine.txt ${DOCSDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/recombine.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>