From ce24a3059774f71b12205f9438c1a57b83254176 Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Wed, 1 Mar 2000 03:03:34 +0000 Subject: Import of corewars. Core Wars is a simulation game in which a number of programs are loaded into a virtual machine and executed. The programs can try to crash each other, manipulate each other, overwrite as much memory as they can, etc.. The "best" program is selected according to a scoring mechanism which involves the number of memory cells the program has overwritten, the number of other programs it has crashed, and whether/when it crashed. --- games/corewars/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 games/corewars/Makefile (limited to 'games/corewars/Makefile') diff --git a/games/corewars/Makefile b/games/corewars/Makefile new file mode 100644 index 000000000000..26ad96bf0584 --- /dev/null +++ b/games/corewars/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: corewars +# Version required: 0.9.0 +# Date created: 29 February 2000 +# Whom: Jim Mock +# +# $FreeBSD$ +# + +DISTNAME= corewars-0.9.0 +CATEGORIES= games +MASTER_SITES= http://download.sourceforge.net/corewars/ + +MAINTAINER= jim@FreeBSD.org + +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 + +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes + +CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ + GLIB_CONFIG="${GLIB_CONFIG}" + +post-install: + @strip ${PREFIX}/bin/corewars +.if !defined(NOPORTDOCS) + @${ECHO} "===> Installing README in ${PREFIX}/share/doc/corewars." + @${ECHO} "===> Please read it before playing." + @${MKDIR} ${PREFIX}/share/doc/corewars && ${CHMOD} a+rx ${PREFIX}/share/doc/corewars + @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/corewars +.endif + +.include -- cgit v1.2.3