Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 18:08:15 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338155 - head/biology/hmmer
Message-ID:  <201312301808.rBUI8FpH046623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Dec 30 18:08:14 2013
New Revision: 338155
URL: http://svnweb.freebsd.org/changeset/ports/338155

Log:
  Stage support

Modified:
  head/biology/hmmer/Makefile

Modified: head/biology/hmmer/Makefile
==============================================================================
--- head/biology/hmmer/Makefile	Mon Dec 30 17:45:54 2013	(r338154)
+++ head/biology/hmmer/Makefile	Mon Dec 30 18:08:14 2013	(r338155)
@@ -24,7 +24,6 @@ EXAMPLES=	7LESS_DROME Pkinase.sto fn3.st
 OPTIONS_DEFINE=	PVM
 PVM_DESC=	PVM support
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPVM}
@@ -35,21 +34,13 @@ BUILD_DEPENDS+=		pvm:${PORTSDIR}/net/pvm
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@ ${MKDIR} ${DOCSDIR}
-.for docfile in ${DOCFILES}
-	@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
-.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@ ${MKDIR} ${EXAMPLESDIR}
-.for example in ${EXAMPLES}
-	@ ${INSTALL_DATA} ${WRKSRC}/tutorial/${example} ${EXAMPLESDIR}
-.endfor
-.endif
-
-.if !defined(BATCH)
-	@ ${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/tutorial/,} ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>



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