summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/battstat-applet/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/sysutils/battstat-applet/Makefile b/sysutils/battstat-applet/Makefile
index ef55cd19d377..cdc72a534ec8 100644
--- a/sysutils/battstat-applet/Makefile
+++ b/sysutils/battstat-applet/Makefile
@@ -13,23 +13,17 @@ DISTNAME= battstat_applet-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-BROKEN= "Does not install"
-
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
-USE_REINPLACE= yes
USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehack gnomeprefix libpanel
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
-pre-patch:
+post-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'
.include <bsd.port.mk>