diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
commit | 68dad4980b984b6c03859651af5eefb37c1c9d90 (patch) | |
tree | a1b402b639681e7623529a2295404459e0d45edf /sysutils/battstat-applet/Makefile | |
parent | 30fb8569371544b140cbfbe9d8d545a551b7a815 (diff) | |
download | freebsd-ports-graphics-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz freebsd-ports-graphics-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst freebsd-ports-graphics-68dad4980b984b6c03859651af5eefb37c1c9d90.zip |
Implement USE_GNOME, part 2.
Diffstat (limited to 'sysutils/battstat-applet/Makefile')
-rw-r--r-- | sysutils/battstat-applet/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/sysutils/battstat-applet/Makefile b/sysutils/battstat-applet/Makefile index bf4352ca8fb..bbb3eb9d099 100644 --- a/sysutils/battstat-applet/Makefile +++ b/sysutils/battstat-applet/Makefile @@ -13,14 +13,20 @@ DISTNAME= battstat_applet-${PORTVERSION} MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - WRKSRC= ${WRKDIR}/${DISTNAME} -USE_LIBTOOL= yes -USE_GMAKE= yes + USE_X_PREFIX= yes -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +USE_GMAKE= yes +USE_GNOME= yes +USE_LIBTOOL= yes +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' .include <bsd.port.mk> |