summaryrefslogtreecommitdiff
path: root/games/xtrojka
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /games/xtrojka
parentUpdate to version 2.2.6 (diff)
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Diffstat (limited to 'games/xtrojka')
-rw-r--r--games/xtrojka/Makefile4
-rw-r--r--games/xtrojka/files/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile
index d7b21ee4d0e2..7fbc6c07ae8d 100644
--- a/games/xtrojka/Makefile
+++ b/games/xtrojka/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xtrojka
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/
DISTNAME= ${PORTNAME}
@@ -15,10 +15,10 @@ DISTNAME= ${PORTNAME}
MAINTAINER= e@ik.nu
COMMENT= Game of skill similar to T*tris
+USE_XORG= x11 xt xproto xaw
WRKSRC= ${WRKDIR}
MAN6= xtrojka.6
MANCOMPRESSED= yes
-USE_XLIB= yes
pre-install:
${MKDIR} ${PREFIX}/share/xtrojka
diff --git a/games/xtrojka/files/patch-aa b/games/xtrojka/files/patch-aa
index c84978d819c1..fc405e53b436 100644
--- a/games/xtrojka/files/patch-aa
+++ b/games/xtrojka/files/patch-aa
@@ -21,7 +21,7 @@
# add library search path
#
-CFLAGS+=-L/usr/X11/lib
-+CFLAGS+=-L${X11BASE}/lib
++CFLAGS+=-L${LOCALBASE}/lib
# on some systems you might add this line, because gcc starts wining
# about 'sizeof(Display)', since Display might be an empty struct;
@@ -52,7 +52,7 @@
#LIBS=-lnsl
+# FreeBSD
-+XDIR=${X11BASE}/include
++XDIR=${LOCALBASE}/include
+LIBS=-lm
+
#