aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gupsc
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-10-14 16:54:54 +0800
committermarcus <marcus@FreeBSD.org>2006-10-14 16:54:54 +0800
commit0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch)
tree17937489af4c767844fc63b684ae3e7b31948812 /sysutils/gupsc
parente959473966b963953d63d5f00fae8751f2decf0f (diff)
downloadfreebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz
freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.zst
freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.zip
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
Diffstat (limited to 'sysutils/gupsc')
-rw-r--r--sysutils/gupsc/Makefile6
-rw-r--r--sysutils/gupsc/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/gupsc/Makefile b/sysutils/gupsc/Makefile
index 344a9d5772db..8ba6536a065c 100644
--- a/sysutils/gupsc/Makefile
+++ b/sysutils/gupsc/Makefile
@@ -7,17 +7,16 @@
PORTNAME= gupsc
PORTVERSION= 0.3.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils gnome
MASTER_SITES= http://heim.ifi.uio.no/~hennikul/gupsc/download/
MAINTAINER= demon@FreeBSD.org
COMMENT= A free Gnome client for the Network UPS Tools
-USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomelibs
+USE_GNOME= gnomelibs gnomehier
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -25,6 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|/usr/local|${PREFIX}|; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure \
${WRKSRC}/src/Makefile.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
diff --git a/sysutils/gupsc/pkg-plist b/sysutils/gupsc/pkg-plist
index 213dcb215695..b78d831db818 100644
--- a/sysutils/gupsc/pkg-plist
+++ b/sysutils/gupsc/pkg-plist
@@ -3,3 +3,5 @@ share/locale/no/LC_MESSAGES/gupsc.mo
share/gnome/pixmaps/gupsc/ups.png
share/gnome/apps/System/gupsc.desktop
@dirrm share/gnome/pixmaps/gupsc
+@dirrmtry share/locale/no/LC_MESSAGES
+@dirrmtry share/locale/no