Lines 3-16
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= species |
4 |
PORTNAME= species |
5 |
PORTVERSION= 1.2d |
5 |
PORTVERSION= 1.2d |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= games |
7 |
CATEGORIES= games |
7 |
MASTER_SITES= ${MASTER_SITE_LOCAL} |
8 |
MASTER_SITES= LOCAL/alepulver |
8 |
MASTER_SITE_SUBDIR= alepulver |
|
|
9 |
DISTNAME= redcoder |
9 |
DISTNAME= redcoder |
10 |
|
10 |
|
11 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= Corewars evolver - generates warriors using genetic algorithms |
12 |
COMMENT= Corewars evolver - generates warriors using genetic algorithms |
13 |
|
13 |
|
|
|
14 |
LICENSE= GPLv1 # (or later) |
15 |
|
14 |
USE_BZIP2= yes |
16 |
USE_BZIP2= yes |
15 |
USES= gmake dos2unix |
17 |
USES= gmake dos2unix |
16 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
18 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
Lines 25-35
Link Here
|
25 |
|
27 |
|
26 |
.include <bsd.port.options.mk> |
28 |
.include <bsd.port.options.mk> |
27 |
|
29 |
|
|
|
30 |
.if empty(PORT_OPTIONS:MVISITOOL) |
31 |
MAKE_ENV+= WX_CONFIG="${TRUE}" |
32 |
.endif |
33 |
|
28 |
do-install: |
34 |
do-install: |
29 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
30 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
36 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
31 |
cd ${WRKSRC} && ${INSTALL_DATA} koen.* species.ini *.rc ${STAGEDIR}${DATADIR} |
37 |
cd ${WRKSRC} && ${INSTALL_DATA} koen.* species.ini *.rc ${STAGEDIR}${DATADIR} |
32 |
cd ${WRKSRC} && ${CP} -r bench evolver_hill wilfiz ${STAGEDIR}${DATADIR} |
38 |
.for i in bench evolver_hill wilfiz |
|
|
39 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${DATADIR}) |
40 |
.endfor |
33 |
.if ${PORT_OPTIONS:MVISITOOL} |
41 |
.if ${PORT_OPTIONS:MVISITOOL} |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/visitool ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-visitool |
42 |
${INSTALL_PROGRAM} ${WRKSRC}/visitool ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-visitool |
35 |
.endif |
43 |
.endif |