diff options
author | Jim Mock <jim@FreeBSD.org> | 2000-03-01 03:03:34 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2000-03-01 03:03:34 +0000 |
commit | ce24a3059774f71b12205f9438c1a57b83254176 (patch) | |
tree | b94e8a53e272988aa186009fa6fe63dacf5eb141 /games/corewars/Makefile | |
parent | fea1faa1a52f7a2a9b5066c21a4eaad645d87e66 (diff) |
Notes
Diffstat (limited to 'games/corewars/Makefile')
-rw-r--r-- | games/corewars/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
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 <jim@FreeBSD.org> +# +# $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 <bsd.port.mk> |