aboutsummaryrefslogtreecommitdiff
path: root/misc/gnome-mime-data
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-04-03 20:38:53 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-04-03 20:38:53 +0000
commit00993fd72194161dd220a5689316e0998585a7bd (patch)
tree7f5f0e13c885f9a3123aa3a53789bd97dfcbc719 /misc/gnome-mime-data
parent999c8cb5645a1fd1610b1082933927b204105d14 (diff)
downloadports-00993fd72194161dd220a5689316e0998585a7bd.tar.gz
ports-00993fd72194161dd220a5689316e0998585a7bd.zip
Notes
Diffstat (limited to 'misc/gnome-mime-data')
-rw-r--r--misc/gnome-mime-data/Makefile8
-rw-r--r--misc/gnome-mime-data/distinfo6
2 files changed, 9 insertions, 5 deletions
diff --git a/misc/gnome-mime-data/Makefile b/misc/gnome-mime-data/Makefile
index d846951d17f6..9835c797bdc2 100644
--- a/misc/gnome-mime-data/Makefile
+++ b/misc/gnome-mime-data/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= gnome-mime-data
-PORTVERSION= 2.4.3
+PORTVERSION= 2.18.0
CATEGORIES= misc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/gnome-mime-data/2.4
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= gnome-mime-data-${PORTVERSION}
DIST_SUBDIR= gnome
@@ -24,4 +24,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
+post-patch:
+ @${REINPLACE_CMD} -e 's|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/misc/gnome-mime-data/distinfo b/misc/gnome-mime-data/distinfo
index c15a5ada0772..672545d7e1c5 100644
--- a/misc/gnome-mime-data/distinfo
+++ b/misc/gnome-mime-data/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome/gnome-mime-data-2.4.3.tar.bz2) = 2abe573a6e84b71c58a661d4bafa9bd6
-SHA256 (gnome/gnome-mime-data-2.4.3.tar.bz2) = 6b1ea9a4b5019d77515563c19640569f9d81e1747307ac9eb7170770e97bb49c
-SIZE (gnome/gnome-mime-data-2.4.3.tar.bz2) = 563654
+MD5 (gnome/gnome-mime-data-2.18.0.tar.bz2) = 541858188f80090d12a33b5a7c34d42c
+SHA256 (gnome/gnome-mime-data-2.18.0.tar.bz2) = 37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7
+SIZE (gnome/gnome-mime-data-2.18.0.tar.bz2) = 607012