aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2007-07-31 23:12:59 +0800
committermm <mm@FreeBSD.org>2007-07-31 23:12:59 +0800
commit87b6e213ab0531f85d7ac394c16b11119c4ab080 (patch)
tree0dae320aa3f434b520f294c3dd64a0b302c8020e /games
parenta16090b29d62626bc96f873d36c23c3dae22b2eb (diff)
downloadfreebsd-ports-gnome-87b6e213ab0531f85d7ac394c16b11119c4ab080.tar.gz
freebsd-ports-gnome-87b6e213ab0531f85d7ac394c16b11119c4ab080.tar.zst
freebsd-ports-gnome-87b6e213ab0531f85d7ac394c16b11119c4ab080.zip
- Depend explicitly on USE_XORG= xmu xaw
- Switch to USE_TK (bsd.tcl.mk) Approved by: garga (mentor, implicit)
Diffstat (limited to 'games')
-rw-r--r--games/xconq/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/games/xconq/Makefile b/games/xconq/Makefile
index ecc31dcebae3..60a403bab9ee 100644
--- a/games/xconq/Makefile
+++ b/games/xconq/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xconq
PORTVERSION= 7.4.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games tcl84 tk84
MASTER_SITES= ftp://sources.redhat.com/pub/xconq/ \
ftp://unix.hensa.ac.uk/mirrors/sources.redhat.com/pub/xconq/
@@ -15,24 +15,25 @@ MASTER_SITES= ftp://sources.redhat.com/pub/xconq/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical multi-player strategy game and game design system
-LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
-
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tclconfig=${PREFIX}/lib/tcl8.4 \
- --with-tkconfig=${PREFIX}/lib/tk8.4 \
- --enable-alternate-scoresdir=${SCOREDIR}
-USE_XLIB= yes
+USE_TK= yes
+USE_XORG= xmu xaw
USE_GMAKE= yes
-CFLAGS+= -I ${PREFIX}/include/tcl8.4 \
- -I ${PREFIX}/include/tk8.4
-
MAN6= xconq.6
SCOREDIR?= /var/games/xconq
PLIST_SUB= SCOREDIR=${SCOREDIR}
+.include <bsd.port.pre.mk>
+
+CFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}
+
+CONFIGURE_ARGS= --with-tclconfig=${TCL_LIBDIR} \
+ --with-tkconfig=${TK_LIBDIR} \
+ --enable-alternate-scoresdir=${SCOREDIR}
+
post-install:
.for file in xconq imf2x x2imf ximfapp
${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -42,4 +43,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc-html/* ${PREFIX}/share/xconq/doc/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>