summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-19 06:59:28 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-19 06:59:28 +0000
commit458b973a56e0369512bef9bba8ae167524787170 (patch)
treea40e28519561876227d28f252b2e5d6c2fd459aa /finance
parentUse USE_PYTHON. (diff)
Update to 0.9.1.
Diffstat (limited to 'finance')
-rw-r--r--finance/gnomepm/Makefile21
-rw-r--r--finance/gnomepm/distinfo2
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