1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/biology/avida/Makefile
Edwin Groothuis c817a83fdc [patch] cleanup non-supported FreeBSD versions
PR:		ports/111724
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
2007-05-02 07:13:53 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: avida
# Date created: 17 April 2002
# Whom: Jeremy <karlj000@unbc.ca>
#
# $FreeBSD$
#
PORTNAME= avida
PORTVERSION= 2.4.3
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= sf@slappy.org
COMMENT= Avida is an auto-adaptive genetic system designed for ALife research
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
CMAKE_ARGS= -DPROJECT_BINARY_DIR=${WRKSRC}/build/work \
-DAVD_CONSISTENCY_TEST_PRIMITIVE:BOOL=OFF \
-DAVD_GUI_NCURSES:BOOL=ON \
-DAVD_PRIMITIVE:BOOL=ON \
-DAVD_UNIT_TESTS:BOOL=OFF\
-DCMAKE_BUILD_TYPE:STRING=Release
WRKSRC= ${WRKDIR}/${PORTNAME}
do-build:
@(cd ${BUILD_WRKSRC}; \
${MKDIR} build build/work; \
cd build; \
cmake ${CMAKE_ARGS} ..; \
${MAKE})
do-install:
@(cd ${BUILD_WRKSRC}; \
cd build; \
${MAKE} install)
post-install:
${MKDIR} ${PREFIX}/share/${PORTNAME}
(cd ${WRKSRC}/build/work/work; \
${INSTALL_PROGRAM} AvidaConsole ${PREFIX}/bin; \
${INSTALL_PROGRAM} task_event_gen ${PREFIX}/bin; \
${INSTALL_DATA} analyze.cfg environment.cfg events.cfg genesis genesis.4stack inst_set.4stack inst_set.default organism.default ${PREFIX}/share/${PORTNAME} )
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(${CP} -RP ${WRKSRC}/documentation/ ${DOCSDIR})
.endif
.include <bsd.port.mk>