diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:10:50 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:10:50 +0000 |
commit | b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (patch) | |
tree | 1b4ff069c830fd60b78ef9613fa9aa5abef69f83 /deskutils/gnofin | |
parent | Implement WANT_IMLIB and USE_IMLIB. (diff) |
Implement USE_GNOME, part 1.
Notes
Notes:
svn path=/head/; revision=33428
Diffstat (limited to 'deskutils/gnofin')
-rw-r--r-- | deskutils/gnofin/Makefile | 21 | ||||
-rw-r--r-- | deskutils/gnofin/pkg-plist | 25 |
2 files changed, 19 insertions, 27 deletions
diff --git a/deskutils/gnofin/Makefile b/deskutils/gnofin/Makefile index ee50298608c7..c7d26ec5c177 100644 --- a/deskutils/gnofin/Makefile +++ b/deskutils/gnofin/Makefile @@ -13,17 +13,24 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - xml.5:${PORTSDIR}/textproc/libxml - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes -USE_LIBTOOL= yes USE_GMAKE= yes +USE_GNOME= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" MAN1= gnofin.1 -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' + @find ${WRKSRC}/plugins -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g' .include <bsd.port.mk> diff --git a/deskutils/gnofin/pkg-plist b/deskutils/gnofin/pkg-plist index 02138384f313..acabc7d57fd0 100644 --- a/deskutils/gnofin/pkg-plist +++ b/deskutils/gnofin/pkg-plist @@ -1,28 +1,13 @@ bin/gnofin -lib/gnofin/plugins/libqif.so.0 -lib/gnofin/plugins/libqif.so -lib/gnofin/plugins/libqif.a -lib/gnofin/plugins/libhtml.so.0 -lib/gnofin/plugins/libhtml.so -lib/gnofin/plugins/libhtml.a -lib/gnofin/plugins/liblatex.so.0 -lib/gnofin/plugins/liblatex.so -lib/gnofin/plugins/liblatex.a -lib/gnofin/plugins/libtext.so.0 -lib/gnofin/plugins/libtext.so -lib/gnofin/plugins/libtext.a -lib/gnofin/plugins/libcbb.so.0 lib/gnofin/plugins/libcbb.so -lib/gnofin/plugins/libcbb.a -lib/gnofin/plugins/libfind.so.0 lib/gnofin/plugins/libfind.so -lib/gnofin/plugins/libfind.a -lib/gnofin/plugins/libreconcile.so.0 +lib/gnofin/plugins/libhtml.so +lib/gnofin/plugins/liblatex.so +lib/gnofin/plugins/libqif.so lib/gnofin/plugins/libreconcile.so -lib/gnofin/plugins/libreconcile.a -lib/gnofin/plugins/libsched.so.0 lib/gnofin/plugins/libsched.so -lib/gnofin/plugins/libsched.a +lib/gnofin/plugins/libtext.so share/gnome/apps/Applications/gnofin.desktop +share/locale/fr/LC_MESSAGES/gnofin.mo @dirrm lib/gnofin/plugins @dirrm lib/gnofin |