aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-19 14:59:28 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-19 14:59:28 +0800
commit874bf38ced37519c837c04efb0ddf52ec4c97b86 (patch)
treed80ecee2c844c223f77a5ee51a4ee9212e9f29d3 /misc
parent04ebe6572fb9100efe8c721d3cc1d889d5971bc3 (diff)
downloadfreebsd-ports-graphics-874bf38ced37519c837c04efb0ddf52ec4c97b86.tar.gz
freebsd-ports-graphics-874bf38ced37519c837c04efb0ddf52ec4c97b86.tar.zst
freebsd-ports-graphics-874bf38ced37519c837c04efb0ddf52ec4c97b86.zip
Update to 0.9.1.
Diffstat (limited to 'misc')
-rw-r--r--misc/gnomepm/Makefile21
-rw-r--r--misc/gnomepm/distinfo2
2 files changed, 20 insertions, 3 deletions
diff --git a/misc/gnomepm/Makefile b/misc/gnomepm/Makefile
index d26cc16123e..f1fe86b9808 100644
--- a/misc/gnomepm/Makefile
+++ b/misc/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/misc/gnomepm/distinfo b/misc/gnomepm/distinfo
index a0f65c0530d..27bf77bf6ca 100644
--- a/misc/gnomepm/distinfo
+++ b/misc/gnomepm/distinfo
@@ -1 +1 @@
-MD5 (gnome-pm-0.9.0.tar.gz) = 6cbb686fa46bae2febcbd9ce181a7368
+MD5 (gnome-pm-0.9.1.tar.gz) = 1abf9fd61cb25a044160795465dd988f