aboutsummaryrefslogtreecommitdiff
path: root/games/corewars
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /games/corewars
parentd0cdca8bc326260560504ebb5d4b206942ca5125 (diff)
downloadports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.tar.gz
ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.zip
Notes
Diffstat (limited to 'games/corewars')
-rw-r--r--games/corewars/Makefile34
1 files changed, 13 insertions, 21 deletions
diff --git a/games/corewars/Makefile b/games/corewars/Makefile
index 2d340707a9f4..3d6a37d8c615 100644
--- a/games/corewars/Makefile
+++ b/games/corewars/Makefile
@@ -5,35 +5,27 @@
# $FreeBSD$
#
-PORTNAME= corewars
-PORTVERSION= 0.9.12
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTNAME= corewars
+PORTVERSION= 0.9.12
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= jim@FreeBSD.org
+MAINTAINER= jim@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+USE_X_PREFIX= yes
+USE_GTK= yes
+GNU_CONFIGURE= yes
+MAKE_ENV= FREEBSD_CFLAGS="${CFLAGS}"
-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}"
-MAKE_ENV= FREEBSD_CFLAGS="${CFLAGS}"
-
-MAN6= corewars.6
+MAN6= corewars.6
post-install:
- @strip ${PREFIX}/bin/corewars
.if !defined(NOPORTDOCS)
- @${ECHO} "===> Installing README in ${PREFIX}/share/doc/corewars."
- @${ECHO} "===> Please read it before playing."
+ @${ECHO_MSG} "===> Installing README in ${PREFIX}/share/doc/corewars."
+ @${ECHO_MSG} "===> 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
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/corewars
.endif
.include <bsd.port.mk>