svn commit: r344537 - head/biology/recombine
Emanuel Haupt
ehaupt at FreeBSD.org
Sun Feb 16 11:39:43 UTC 2014
Author: ehaupt
Date: Sun Feb 16 11:39:42 2014
New Revision: 344537
URL: http://svnweb.freebsd.org/changeset/ports/344537
QAT: https://qat.redports.org/buildarchive/r344537/
Log:
- Support staging
- Use shebangfix
Modified:
head/biology/recombine/Makefile
Modified: head/biology/recombine/Makefile
==============================================================================
--- head/biology/recombine/Makefile Sun Feb 16 11:35:00 2014 (r344536)
+++ head/biology/recombine/Makefile Sun Feb 16 11:39:42 2014 (r344537)
@@ -10,26 +10,24 @@ DISTNAME= ${PORTNAME}${PORTVERSION}.src.
MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list