summaryrefslogtreecommitdiffstats
path: root/misc/gnomeutils
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gnomeutils')
-rw-r--r--misc/gnomeutils/Makefile10
-rw-r--r--misc/gnomeutils/pkg-plist1
2 files changed, 4 insertions, 7 deletions
diff --git a/misc/gnomeutils/Makefile b/misc/gnomeutils/Makefile
index 7e662c4..7dba6c8 100644
--- a/misc/gnomeutils/Makefile
+++ b/misc/gnomeutils/Makefile
@@ -19,7 +19,8 @@ LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gtkhtml libpanel
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-messages=/var/log/messages
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -32,11 +33,8 @@ MAN1= gcalc.1 gcharmap.1 gcolorsel.1 gdialog.1 gdict.1 gdiskfree.1 \
stripchart.1
MAN8= gshutdown.8
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|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>
diff --git a/misc/gnomeutils/pkg-plist b/misc/gnomeutils/pkg-plist
index c233d1e..3263dfd 100644
--- a/misc/gnomeutils/pkg-plist
+++ b/misc/gnomeutils/pkg-plist
@@ -764,7 +764,6 @@ share/locale/zh_CN.GB2312/LC_MESSAGES/gnome-utils.mo
share/locale/zh_TW/LC_MESSAGES/gnome-utils.mo
@dirrm share/gnome/stripchart
@dirrm share/gnome/pixmaps/logview
-@dirrm share/gnome/omf/gnome-utils
@dirrm share/gnome/logview
@dirrm share/gnome/help/stripchart/es/stylesheet-images
@dirrm share/gnome/help/stripchart/es/figures
OpenPOWER on IntegriCloud