diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-19 06:59:28 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-19 06:59:28 +0000 |
commit | 458b973a56e0369512bef9bba8ae167524787170 (patch) | |
tree | a40e28519561876227d28f252b2e5d6c2fd459aa /finance/gnomepm | |
parent | cc2fb1f48f0dca672103d9b5812a30223dc64ab8 (diff) | |
download | ports-458b973a56e0369512bef9bba8ae167524787170.tar.gz ports-458b973a56e0369512bef9bba8ae167524787170.zip |
Notes
Diffstat (limited to 'finance/gnomepm')
-rw-r--r-- | finance/gnomepm/Makefile | 21 | ||||
-rw-r--r-- | finance/gnomepm/distinfo | 2 |
2 files changed, 20 insertions, 3 deletions
diff --git a/finance/gnomepm/Makefile b/finance/gnomepm/Makefile index d26cc16123ea..f1fe86b9808e 100644 --- a/finance/gnomepm/Makefile +++ b/finance/gnomepm/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gnomepm -PORTVERSION= 0.9.0 +PORTVERSION= 0.9.1 CATEGORIES= misc gnome MASTER_SITES= http://www.geocities.com/lordzephyroth/ DISTNAME= ${PORTNAME:S/gnome/gnome-/}-${PORTVERSION} @@ -18,7 +18,24 @@ LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore USE_X_PREFIX= yes +GNU_CONFIGURE= yes -MAKE_ENV= MKDIR="${MKDIR}" +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome +CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ + GTK_CONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +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|\$\(gnomedatadir\)/gnome/|\$\(gnomedatadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include <bsd.port.mk> diff --git a/finance/gnomepm/distinfo b/finance/gnomepm/distinfo index a0f65c0530dc..27bf77bf6ca6 100644 --- a/finance/gnomepm/distinfo +++ b/finance/gnomepm/distinfo @@ -1 +1 @@ -MD5 (gnome-pm-0.9.0.tar.gz) = 6cbb686fa46bae2febcbd9ce181a7368 +MD5 (gnome-pm-0.9.1.tar.gz) = 1abf9fd61cb25a044160795465dd988f |