diff options
author | alepulver <alepulver@FreeBSD.org> | 2008-01-30 11:58:10 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2008-01-30 11:58:10 +0800 |
commit | bc7130df382151f8d0cd1b763a3dd4053a188cf6 (patch) | |
tree | 35f1377feed2c601b83b7ae270743df11213d354 /games | |
parent | 588cabf48e537939e29fc0e9d3394ae42241e571 (diff) | |
download | freebsd-ports-graphics-bc7130df382151f8d0cd1b763a3dd4053a188cf6.tar.gz freebsd-ports-graphics-bc7130df382151f8d0cd1b763a3dd4053a188cf6.tar.zst freebsd-ports-graphics-bc7130df382151f8d0cd1b763a3dd4053a188cf6.zip |
Here you can find Yace, which is a program that automatically creates
corewar-warriors, using a genetic algorithm. Yace was a modified version of
ga_war.c, another corewar evolver (many thanks to Jason Boer), but in the
latest release there is not much code left from ga_war. I also want to thank M
Joonas Pihlaja for his Corewar Simulator exhaust, which is released under the
GPL.
WWW: http://corewar.co.uk/ankerl/yace.htm
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/yace/Makefile | 37 | ||||
-rw-r--r-- | games/yace/distinfo | 3 | ||||
-rw-r--r-- | games/yace/pkg-descr | 8 | ||||
-rw-r--r-- | games/yace/pkg-plist | 84 |
5 files changed, 133 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 26b69d57e56..b3c025e134e 100644 --- a/games/Makefile +++ b/games/Makefile @@ -966,6 +966,7 @@ SUBDIR += xworm SUBDIR += xye SUBDIR += xzip + SUBDIR += yace SUBDIR += yadex SUBDIR += yahtzee SUBDIR += yamsweeper diff --git a/games/yace/Makefile b/games/yace/Makefile new file mode 100644 index 00000000000..7f12559e6ff --- /dev/null +++ b/games/yace/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: yace +# Date created: 2008-01-15 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= yace +PORTVERSION= 1.2 +CATEGORIES= games +MASTER_SITES= http://corewar.co.uk/ankerl/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Yet Another Corewars Evolver + +USE_BZIP2= yes +USE_GMAKE= yes +NO_WRKSUBDIR= yes +BUILD_WRKSRC= ${WRKDIR}/src +MAKEFILE= makefile +ALL_TARGET= # + +post-patch: + @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|CCFLAGS =|& ${CFLAGS}|' \ + ${BUILD_WRKSRC}/${MAKEFILE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${DATADIR} + cd ${WRKSRC}/bin && ${CP} -r bench testset yace.cfg ${DATADIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/games/yace/distinfo b/games/yace/distinfo new file mode 100644 index 00000000000..e4f10068552 --- /dev/null +++ b/games/yace/distinfo @@ -0,0 +1,3 @@ +MD5 (yace_1.2.tar.bz2) = c3336dd96dfd0dd85e5f667f93ac6396 +SHA256 (yace_1.2.tar.bz2) = 3cd9afab122a67df5a407c08498fc1529b36c1adbce067e49eed95356193764e +SIZE (yace_1.2.tar.bz2) = 86425 diff --git a/games/yace/pkg-descr b/games/yace/pkg-descr new file mode 100644 index 00000000000..f5d5ed6e839 --- /dev/null +++ b/games/yace/pkg-descr @@ -0,0 +1,8 @@ +Here you can find Yace, which is a program that automatically creates +corewar-warriors, using a genetic algorithm. Yace was a modified version of +ga_war.c, another corewar evolver (many thanks to Jason Boer), but in the +latest release there is not much code left from ga_war. I also want to thank M +Joonas Pihlaja for his Corewar Simulator exhaust, which is released under the +GPL. + +WWW: http://corewar.co.uk/ankerl/yace.htm diff --git a/games/yace/pkg-plist b/games/yace/pkg-plist new file mode 100644 index 00000000000..ca05db57a21 --- /dev/null +++ b/games/yace/pkg-plist @@ -0,0 +1,84 @@ +bin/yace +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/readme.txt +%%DATADIR%%/bench/00000000.red +%%DATADIR%%/bench/00000001.red +%%DATADIR%%/bench/00000002.red +%%DATADIR%%/bench/00000003.red +%%DATADIR%%/bench/00000004.red +%%DATADIR%%/bench/00000005.red +%%DATADIR%%/bench/00000006.red +%%DATADIR%%/bench/00000007.red +%%DATADIR%%/bench/00000008.red +%%DATADIR%%/bench/00000009.red +%%DATADIR%%/bench/readme.txt +%%DATADIR%%/testset/00000000.red +%%DATADIR%%/testset/00000001.red +%%DATADIR%%/testset/00000002.red +%%DATADIR%%/testset/00000003.red +%%DATADIR%%/testset/00000004.red +%%DATADIR%%/testset/00000005.red +%%DATADIR%%/testset/00000006.red +%%DATADIR%%/testset/00000007.red +%%DATADIR%%/testset/00000008.red +%%DATADIR%%/testset/00000009.red +%%DATADIR%%/testset/00000010.red +%%DATADIR%%/testset/00000011.red +%%DATADIR%%/testset/00000012.red +%%DATADIR%%/testset/00000013.red +%%DATADIR%%/testset/00000014.red +%%DATADIR%%/testset/00000015.red +%%DATADIR%%/testset/00000016.red +%%DATADIR%%/testset/00000017.red +%%DATADIR%%/testset/00000018.red +%%DATADIR%%/testset/00000019.red +%%DATADIR%%/testset/franz/00000001.red +%%DATADIR%%/testset/franz/00000002.red +%%DATADIR%%/testset/franz/00000003.red +%%DATADIR%%/testset/franz/00000004.red +%%DATADIR%%/testset/franz/00000005.red +%%DATADIR%%/testset/franz/00000006.red +%%DATADIR%%/testset/franz/00000007.red +%%DATADIR%%/testset/franz/00000008.red +%%DATADIR%%/testset/franz/00000009.red +%%DATADIR%%/testset/franz/00000010.red +%%DATADIR%%/testset/koenigsstuhl/00000000.red +%%DATADIR%%/testset/koenigsstuhl/00000001.red +%%DATADIR%%/testset/koenigsstuhl/00000002.red +%%DATADIR%%/testset/koenigsstuhl/00000003.red +%%DATADIR%%/testset/koenigsstuhl/00000004.red +%%DATADIR%%/testset/koenigsstuhl/00000005.red +%%DATADIR%%/testset/koenigsstuhl/00000006.red +%%DATADIR%%/testset/koenigsstuhl/00000007.red +%%DATADIR%%/testset/koenigsstuhl/00000008.red +%%DATADIR%%/testset/koenigsstuhl/00000009.red +%%DATADIR%%/testset/koenigsstuhl/00000010.red +%%DATADIR%%/testset/koenigsstuhl/00000011.red +%%DATADIR%%/testset/srcforge/00000000.red +%%DATADIR%%/testset/srcforge/00000001.red +%%DATADIR%%/testset/srcforge/00000002.red +%%DATADIR%%/testset/srcforge/00000003.red +%%DATADIR%%/testset/srcforge/00000004.red +%%DATADIR%%/testset/srcforge/00000005.red +%%DATADIR%%/testset/srcforge/00000006.red +%%DATADIR%%/testset/srcforge/00000007.red +%%DATADIR%%/testset/srcforge/00000008.red +%%DATADIR%%/testset/srcforge/00000009.red +%%DATADIR%%/testset/srcforge/00000010.red +%%DATADIR%%/testset/srcforge/00000011.red +%%DATADIR%%/testset/srcforge/00000012.red +%%DATADIR%%/testset/srcforge/00000013.red +%%DATADIR%%/testset/srcforge/00000014.red +%%DATADIR%%/testset/srcforge/00000015.red +%%DATADIR%%/testset/srcforge/00000016.red +%%DATADIR%%/testset/srcforge/00000017.red +%%DATADIR%%/testset/srcforge/00000018.red +%%DATADIR%%/testset/srcforge/00000019.red +%%DATADIR%%/yace.cfg +@dirrm %%DATADIR%%/testset/srcforge +@dirrm %%DATADIR%%/testset/koenigsstuhl +@dirrm %%DATADIR%%/testset/franz +@dirrm %%DATADIR%%/testset +@dirrm %%DATADIR%%/bench +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |