svn commit: r348933 - head/biology/wise
Pawel Pekala
pawel at FreeBSD.org
Mon Mar 24 10:46:35 UTC 2014
Author: pawel
Date: Mon Mar 24 10:46:35 2014
New Revision: 348933
URL: http://svnweb.freebsd.org/changeset/ports/348933
QAT: https://qat.redports.org/buildarchive/r348933/
Log:
- Add staging support
- Unmute install commands
Modified:
head/biology/wise/Makefile
Modified: head/biology/wise/Makefile
==============================================================================
--- head/biology/wise/Makefile Mon Mar 24 10:39:13 2014 (r348932)
+++ head/biology/wise/Makefile Mon Mar 24 10:46:35 2014 (r348933)
@@ -43,9 +43,6 @@ DATAFILES= BLOSUM30.bla BLOSUM45.bla BLO
human.stats idenity.bla methods pb.gf pombe.gf tm.pri \
wise.2 wise.per worm.gf
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
${REINPLACE_CMD} -e \
@@ -59,21 +56,14 @@ post-patch:
/welcome.csh/s|^|#|'
do-install:
-.for i in ${BINFILES}
- (cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/bin)
-.endfor
- @${MKDIR} ${DATADIR}
-.for i in ${DATAFILES}
- (cd ${WRKSRC}/wisecfg && ${INSTALL_DATA} ${i} ${DATADIR})
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/test_data && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
- @${CAT} ${PKGMESSAGE}
+ (cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${BINFILES} \
+ ${STAGEDIR}${PREFIX}/bin)
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC}/wisecfg && ${INSTALL_DATA} ${DATAFILES} \
+ ${STAGEDIR}${DATADIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/test_data && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list