summaryrefslogtreecommitdiff
path: root/games/corewars/Makefile
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/Makefile
parentImplement USE_GLIB. (diff)
Implement USE_GTK, part 1.
Notes
Notes: svn path=/head/; revision=33424
Diffstat (limited to 'games/corewars/Makefile')
-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>