summaryrefslogtreecommitdiffstats
path: root/finance/gnomepm
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-19 06:59:28 +0000
committersobomax <sobomax@FreeBSD.org>2000-09-19 06:59:28 +0000
commit874bf38ced37519c837c04efb0ddf52ec4c97b86 (patch)
treed80ecee2c844c223f77a5ee51a4ee9212e9f29d3 /finance/gnomepm
parent04ebe6572fb9100efe8c721d3cc1d889d5971bc3 (diff)
downloadFreeBSD-ports-874bf38ced37519c837c04efb0ddf52ec4c97b86.zip
FreeBSD-ports-874bf38ced37519c837c04efb0ddf52ec4c97b86.tar.gz
Update to 0.9.1.
Diffstat (limited to 'finance/gnomepm')
-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 d26cc16..f1fe86b 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 a0f65c0..27bf77b 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
OpenPOWER on IntegriCloud