summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-08-04 15:29:09 +0000
committersobomax <sobomax@FreeBSD.org>2000-08-04 15:29:09 +0000
commitf0b7927fc59c6470dbe401587a9a194593c8c095 (patch)
tree9538d636b0c8a85af1b1021a0a205db6cd85ed2b
parentd88dc27d96509c3a3e07996870c5c912253b42be (diff)
downloadFreeBSD-ports-f0b7927fc59c6470dbe401587a9a194593c8c095.zip
FreeBSD-ports-f0b7927fc59c6470dbe401587a9a194593c8c095.tar.gz
Sobomized.
-rw-r--r--sysutils/gnomefind/Makefile11
-rw-r--r--sysutils/gnomefind/pkg-plist10
2 files changed, 15 insertions, 6 deletions
diff --git a/sysutils/gnomefind/Makefile b/sysutils/gnomefind/Makefile
index bd386cf..34ea4b7 100644
--- a/sysutils/gnomefind/Makefile
+++ b/sysutils/gnomefind/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
glade.4:${PORTSDIR}/devel/libglade
-RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
+RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
@@ -25,6 +25,8 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
GTK_CONFIG="${GTK_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
USE_X_PREFIX= yes
USE_XPM= yes
@@ -32,4 +34,11 @@ GNU_CONFIGURE= yes
MAN1= gnome-find.1
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|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/sysutils/gnomefind/pkg-plist b/sysutils/gnomefind/pkg-plist
index 0bb322a..8893552 100644
--- a/sysutils/gnomefind/pkg-plist
+++ b/sysutils/gnomefind/pkg-plist
@@ -1,9 +1,9 @@
bin/gnome-find
-share/gnome-find/gnome-find.glade
-share/gnome-find/gnome-find.xpm
-share/gnome-find/multiple.xpm
-share/gnome-find/shell.xpm
share/gnome/apps/Utilities/gnome-find.desktop
+share/gnome/gnome-find/gnome-find.glade
+share/gnome/gnome-find/gnome-find.xpm
+share/gnome/gnome-find/multiple.xpm
+share/gnome/gnome-find/shell.xpm
share/gnome/help/gnome-find/C/bugreport.html
share/gnome/help/gnome-find/C/contacting.html
share/gnome/help/gnome-find/C/copyright.html
@@ -21,4 +21,4 @@ share/locale/ko/LC_MESSAGES/gnome-find.mo
share/locale/ru/LC_MESSAGES/gnome-find.mo
@dirrm share/gnome/help/gnome-find/C
@dirrm share/gnome/help/gnome-find
-@dirrm share/gnome-find
+@dirrm share/gnome/gnome-find
OpenPOWER on IntegriCloud