From 458b973a56e0369512bef9bba8ae167524787170 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 19 Sep 2000 06:59:28 +0000 Subject: Update to 0.9.1. --- misc/gnomepm/Makefile | 21 +++++++++++++++++++-- misc/gnomepm/distinfo | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) (limited to 'misc/gnomepm') diff --git a/misc/gnomepm/Makefile b/misc/gnomepm/Makefile index d26cc16123ea..f1fe86b9808e 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 diff --git a/misc/gnomepm/distinfo b/misc/gnomepm/distinfo index a0f65c0530dc..27bf77bf6ca6 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 -- cgit