aboutsummaryrefslogtreecommitdiff
path: root/net/gabber/Makefile
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/gabber/Makefile
parentb7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (diff)
downloadports-c76cf46929051f9dd322487d888c82f104026e6d.tar.gz
ports-c76cf46929051f9dd322487d888c82f104026e6d.zip
Notes
Diffstat (limited to 'net/gabber/Makefile')
-rw-r--r--net/gabber/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/net/gabber/Makefile b/net/gabber/Makefile
index f4311e1d3614..e0e2fd9645b7 100644
--- a/net/gabber/Makefile
+++ b/net/gabber/Makefile
@@ -13,23 +13,26 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= erich@tacni.net
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- gtkmm-1.2.1:${PORTSDIR}/x11-toolkits/gtk-- \
- gnomemm-1.1.3:${PORTSDIR}/x11-toolkits/gnome-- \
+LIB_DEPENDS= gtkmm.1:${PORTSDIR}/x11-toolkits/gtk-- \
+ gnomemm.3:${PORTSDIR}/x11-toolkits/gnome-- \
sigc.1:${PORTSDIR}/devel/libsigc++ \
gnet.0:${PORTSDIR}/net/gnet \
glade.4:${PORTSDIR}/devel/libglade
-RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure jabberoo/configure
-CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" GLIB_CONFIG="${GLIB_CONFIG}" \
- GNOME_LIBCONFIG_PATH="${LOCALBASE}/lib:${X11BASE}/lib" \
+CONFIGURE_ENV+= GNOME_LIBCONFIG_PATH="${LOCALBASE}/lib:${X11BASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-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'
+
.include <bsd.port.mk>