diff options
Diffstat (limited to 'sysutils/gupsc')
-rw-r--r-- | sysutils/gupsc/Makefile | 6 | ||||
-rw-r--r-- | sysutils/gupsc/pkg-plist | 2 |
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 |