From 0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 14 Oct 2006 08:54:54 +0000 Subject: 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) --- sysutils/gupsc/Makefile | 6 +++--- sysutils/gupsc/pkg-plist | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'sysutils/gupsc') 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 -- cgit