diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-01-30 03:58:10 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-01-30 03:58:10 +0000 |
commit | b5c2829921c6b28721b5d6050dddb963a1af1162 (patch) | |
tree | 76275ddc092fbabe50b623a9c0caa9571ca69aba | |
parent | 611bbdeb72628112f6388a925b7d7d60b411a770 (diff) |
Notes
-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 26b69d57e562..b3c025e134e1 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 000000000000..7f12559e6ff1 --- /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 000000000000..e4f100685527 --- /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 000000000000..f5d5ed6e8390 --- /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 000000000000..ca05db57a213 --- /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%% |