summaryrefslogtreecommitdiff
path: root/deskutils/bulb
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:10:50 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:10:50 +0000
commitb7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (patch)
tree1b4ff069c830fd60b78ef9613fa9aa5abef69f83 /deskutils/bulb
parentImplement WANT_IMLIB and USE_IMLIB. (diff)
Implement USE_GNOME, part 1.
Diffstat (limited to 'deskutils/bulb')
-rw-r--r--deskutils/bulb/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/deskutils/bulb/Makefile b/deskutils/bulb/Makefile
index b19b416fb595..cab2b75907c9 100644
--- a/deskutils/bulb/Makefile
+++ b/deskutils/bulb/Makefile
@@ -12,13 +12,16 @@ MASTER_SITES= http://www.idiap.ch/~gobry/bulb/
MAINTAINER= smoberly@xavier.dyndns.org
-LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore
+USE_X_PREFIX= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
-USE_X_PREFIX= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" LDFLAGS="-L${LOCALBASE}/lib -lintl"
-CONFIGURE_ARGS= --datadir=${PREFIX}/share/gnome
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
.include <bsd.port.mk>