svn commit: r356093 - head/biology/mummer

Olli Hauer ohauer at FreeBSD.org
Sun Jun 1 10:54:33 UTC 2014


Author: ohauer
Date: Sun Jun  1 10:54:33 2014
New Revision: 356093
URL: http://svnweb.freebsd.org/changeset/ports/356093
QAT: https://qat.redports.org/buildarchive/r356093/

Log:
  - add stage support

Modified:
  head/biology/mummer/Makefile

Modified: head/biology/mummer/Makefile
==============================================================================
--- head/biology/mummer/Makefile	Sun Jun  1 10:37:22 2014	(r356092)
+++ head/biology/mummer/Makefile	Sun Jun  1 10:54:33 2014	(r356093)
@@ -19,26 +19,14 @@ SCRIPTS=	dnadiff exact-tandems mapview m
 		nucmer2xfig promer run-mummer1 run-mummer3
 DOCUMENTS=	COPYRIGHT INSTALL LICENSE README
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
 do-install:
-.for program in ${PROGRAMS}
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${program} ${PREFIX}/bin)
-.endfor
-
-.for script in ${SCRIPTS}
-	(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${script} ${PREFIX}/bin)
-.endfor
-
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${DOCUMENTS}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${DOCSDIR})
-.endfor
-.endif
+	${INSTALL_PROGRAM} ${PROGRAMS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCUMENTS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list