aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2003-09-21 12:22:22 +0800
committerbland <bland@FreeBSD.org>2003-09-21 12:22:22 +0800
commitaaa24e281d8c332a888c3d11b4cd8c51045f406d (patch)
tree2ac162ec536ce54f18b2e2ea899eb7b744709c36 /games
parent9b3836619fe74be5d899f0e13dd19cfc1b43f5f2 (diff)
downloadfreebsd-ports-gnome-aaa24e281d8c332a888c3d11b4cd8c51045f406d.tar.gz
freebsd-ports-gnome-aaa24e281d8c332a888c3d11b4cd8c51045f406d.tar.zst
freebsd-ports-gnome-aaa24e281d8c332a888c3d11b4cd8c51045f406d.zip
- Fix build converting port to use bsd.gnome.mk [1]
- Remove unnecesary libgnomeprintui dependency Reported by: kris [1]
Diffstat (limited to 'games')
-rw-r--r--games/gturing/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/games/gturing/Makefile b/games/gturing/Makefile
index e488be6937e6..d66268936743 100644
--- a/games/gturing/Makefile
+++ b/games/gturing/Makefile
@@ -7,22 +7,17 @@
PORTNAME= gturing
PORTVERSION= 0.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games gnome
MASTER_SITES= ftp://ftp.gnome.org/pub/gnome/sources/gturing/0.1/
MAINTAINER= rael@vectorstar.net
-COMMENT= A simple turing machine simulator for gnome 2
-
-LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
- gnomeprintui-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui20
+COMMENT= A simple turing machine simulator for GNOME 2
USE_X_PREFIX= yes
-USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui
USE_GMAKE= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -36,13 +31,6 @@ EXAMPLES= 3ones2zeroes.tur add.tur bb3.tur dashnumbers.tur addbin.tur \
bb5.tur dec2bin.tur dec2bin_shift.tur bb2.tur bin2dec.tur \
bin2dec_shift.tur sort.tur subst.tur
-pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
-
post-install:
${INSTALL} -d -o root -g wheel -m 0755 ${EXAMPLEDIR}
.for f in ${EXAMPLES}