summaryrefslogtreecommitdiff
path: root/net/gnomba
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
commitc76cf46929051f9dd322487d888c82f104026e6d (patch)
treef415aeddadc6782b1474ebd88710bfa86cf08711 /net/gnomba
parentImplement USE_GNOME, part 1. (diff)
Implement USE_GNOME, part 2.
Notes
Notes: svn path=/head/; revision=33429
Diffstat (limited to 'net/gnomba')
-rw-r--r--net/gnomba/Makefile17
-rw-r--r--net/gnomba/files/patch-ac11
2 files changed, 22 insertions, 6 deletions
diff --git a/net/gnomba/Makefile b/net/gnomba/Makefile
index 15c972b44a2d..ce5e7580d703 100644
--- a/net/gnomba/Makefile
+++ b/net/gnomba/Makefile
@@ -13,16 +13,21 @@ MASTER_SITES= http://gnomba.darkcorner.net/tars/ \
MAINTAINER= dima@Chg.RU
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
+ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
pre-configure:
- ${RM} ${WRKSRC}/config.cache
+ ${RM} ${WRKSRC}/config.cache
.include <bsd.port.mk>
diff --git a/net/gnomba/files/patch-ac b/net/gnomba/files/patch-ac
new file mode 100644
index 000000000000..e56e855838d4
--- /dev/null
+++ b/net/gnomba/files/patch-ac
@@ -0,0 +1,11 @@
+--- configure.orig Thu Feb 10 01:53:13 2000
++++ configure Thu Feb 10 01:54:54 2000
+@@ -3440,7 +3440,7 @@
+ < $srcdir/po/POTFILES.in > po/POTFILES
+
+
+-localedir=${datadir}/locale
++localedir=${prefix}/${DATADIRNAME}/locale
+
+
+ trap '' 1 2 15