blob: 1109de14ea97a7be9b1bc20d18c1b3b6a65172d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# 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= ports@FreeBSD.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>
|