diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-08-04 15:29:09 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-08-04 15:29:09 +0000 |
commit | 980135e8e58289d37a516d00eeecc0ca8d8a08c2 (patch) | |
tree | 83994485d848a22c61d31194894c6502feb448b4 /sysutils | |
parent | Upgrade to 1.1.5fix1. (diff) |
Sobomized.
Notes
Notes:
svn path=/head/; revision=31315
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gnomefind/Makefile | 11 | ||||
-rw-r--r-- | sysutils/gnomefind/pkg-plist | 10 |
2 files changed, 15 insertions, 6 deletions
diff --git a/sysutils/gnomefind/Makefile b/sysutils/gnomefind/Makefile index bd386cf047d0..34ea4b7d7159 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 0bb322ad7340..88935529ee37 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 |