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 /devel/pharmacy | |
parent | Implement WANT_IMLIB and USE_IMLIB. (diff) |
Implement USE_GNOME, part 1.
Notes
Notes:
svn path=/head/; revision=33428
Diffstat (limited to 'devel/pharmacy')
-rw-r--r-- | devel/pharmacy/Makefile | 20 | ||||
-rw-r--r-- | devel/pharmacy/pkg-plist | 2 |
2 files changed, 12 insertions, 10 deletions
diff --git a/devel/pharmacy/Makefile b/devel/pharmacy/Makefile index eb527a624bbb..127fc7423c9c 100644 --- a/devel/pharmacy/Makefile +++ b/devel/pharmacy/Makefile @@ -12,18 +12,20 @@ MASTER_SITES= http://home.earthlink.net/~nawalker/pharmacy/ MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-x -CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ +CONFIGURE_ENV+= CPPCFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +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' + .include <bsd.port.mk> diff --git a/devel/pharmacy/pkg-plist b/devel/pharmacy/pkg-plist index 848c8bccfda5..a61bd4fcd76a 100644 --- a/devel/pharmacy/pkg-plist +++ b/devel/pharmacy/pkg-plist @@ -11,7 +11,7 @@ share/gnome/help/pharmacy/C/topic.dat share/gnome/help/pharmacy/C/update.html share/gnome/help/pharmacy/C/using.html share/gnome/help/pharmacy/C/web.html -share/pixmaps/pharmacy.png +share/gnome/pixmaps/pharmacy.png share/locale/de/LC_MESSAGES/pharmacy.mo share/locale/fr/LC_MESSAGES/pharmacy.mo share/locale/ko/LC_MESSAGES/pharmacy.mo |