Changeset View
Changeset View
Standalone View
Standalone View
biology/avida/Makefile
Show All 28 Lines | DATA_FILES= analyze.cfg avida.cfg default-gx.org \ | ||||
experimental.org instset-experimental.cfg instset-gx.cfg \ | experimental.org instset-experimental.cfg instset-gx.cfg \ | ||||
instset-heads-sex.cfg instset-heads.cfg instset-smt.cfg \ | instset-heads-sex.cfg instset-heads.cfg instset-smt.cfg \ | ||||
instset-transsmt.cfg | instset-transsmt.cfg | ||||
BROKEN_ia64= Does not compile: invokes i386 asm | BROKEN_ia64= Does not compile: invokes i386 asm | ||||
BROKEN_powerpc= Does not compile: invokes i386 asm | BROKEN_powerpc= Does not compile: invokes i386 asm | ||||
BROKEN_sparc64= Does not compile: invokes i386 asm | BROKEN_sparc64= Does not compile: invokes i386 asm | ||||
.include <bsd.port.options.mk> | |||||
post-patch: | post-patch: | ||||
@${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \ | @${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \ | ||||
${REINPLACE_CMD} -e \ | ${REINPLACE_CMD} -e \ | ||||
's|-O[0-9]|| ; \ | 's|-O[0-9]|| ; \ | ||||
s| pthread| -pthread|' | s| pthread| -pthread|' | ||||
@${REINPLACE_CMD} -e '/long long int/s|std::abs|llabs|' \ | @${REINPLACE_CMD} -e '/long long int/s|std::abs|llabs|' \ | ||||
${WRKSRC}/avida-core/source/main/cPopulationInterface.cc | ${WRKSRC}/avida-core/source/main/cPopulationInterface.cc | ||||
Show All 11 Lines | .for exec in ${BIN_FILES} | ||||
(cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${exec} \ | (cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${exec} \ | ||||
${STAGEDIR}${PREFIX}/lib/${PORTNAME}) | ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) | ||||
.endfor | .endfor | ||||
(cd ${WRKSRC}/avida-core/support/config && ${INSTALL_DATA} *.cfg \ | (cd ${WRKSRC}/avida-core/support/config && ${INSTALL_DATA} *.cfg \ | ||||
${STAGEDIR}${PREFIX}/lib/${PORTNAME}) | ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) | ||||
(cd ${WRKSRC}/avida-core/support/config && ${INSTALL_DATA} *.org \ | (cd ${WRKSRC}/avida-core/support/config && ${INSTALL_DATA} *.org \ | ||||
${STAGEDIR}${PREFIX}/lib/${PORTNAME}) | ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) | ||||
.if ${PORT_OPTIONS:MDOCS} | do-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
@(cd ${WRKSRC}/avida-core/documentation && ${COPYTREE_SHARE} . \ | @(cd ${WRKSRC}/avida-core/documentation && ${COPYTREE_SHARE} . \ | ||||
${STAGEDIR}${DOCSDIR}) | ${STAGEDIR}${DOCSDIR}) | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |