Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 10:54:33 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356093 - head/biology/mummer
Message-ID:  <201406011054.s51AsXIf097009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011054.s51AsXIf097009>