aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-12-08 04:32:44 +0800
committermezz <mezz@FreeBSD.org>2004-12-08 04:32:44 +0800
commitf5af1100ea0bbbe6f64a44aaf8aa592904c66aff (patch)
treeab4250e4f23600a26ae32f2bd587d75541cf8183 /net-p2p
parent6713c17eed5f3eaeb989011499b74007fba522c5 (diff)
downloadfreebsd-ports-gnome-f5af1100ea0bbbe6f64a44aaf8aa592904c66aff.tar.gz
freebsd-ports-gnome-f5af1100ea0bbbe6f64a44aaf8aa592904c66aff.tar.zst
freebsd-ports-gnome-f5af1100ea0bbbe6f64a44aaf8aa592904c66aff.zip
Update to 0.0.17, it should works better with GNOME 2.8's new mimetype system.
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gnome-btdownload/Makefile9
-rw-r--r--net-p2p/gnome-btdownload/distinfo4
-rw-r--r--net-p2p/gnome-btdownload/pkg-plist3
3 files changed, 11 insertions, 5 deletions
diff --git a/net-p2p/gnome-btdownload/Makefile b/net-p2p/gnome-btdownload/Makefile
index 15c4c3fe69df..39af645f77a9 100644
--- a/net-p2p/gnome-btdownload/Makefile
+++ b/net-p2p/gnome-btdownload/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnome-btdownload
-PORTVERSION= 0.0.16
+PORTVERSION= 0.0.17
PORTEPOCH= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -22,7 +22,7 @@ USE_GMAKE= yes
USE_PYTHON= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
-USE_GNOME= gnomehack gnomeprefix pygnome2
+USE_GNOME= gnomehack gnomeprefix pygnome2 desktopfileutils
GNU_CONFIGURE= yes
MAN1= gnome-btdownload.1
@@ -31,9 +31,12 @@ DOCS= AUTHORS COPYING ChangeLog README
post-patch:
@${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/${PORTNAME}
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share/gnome|g' \
+ ${WRKSRC}/share/desktop/gnome-btdownload.desktop
-.ifndef (NOPORTDOCS)
post-install:
+ @${X11BASE}/bin/update-desktop-database
+.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
diff --git a/net-p2p/gnome-btdownload/distinfo b/net-p2p/gnome-btdownload/distinfo
index 7792bc3ae7c4..96bf40a91f5b 100644
--- a/net-p2p/gnome-btdownload/distinfo
+++ b/net-p2p/gnome-btdownload/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome-btdownload-0.0.16.tar.bz2) = 7cfedd0a2eada815ec42851d8a255a9b
-SIZE (gnome-btdownload-0.0.16.tar.bz2) = 86017
+MD5 (gnome-btdownload-0.0.17.tar.bz2) = 5ee47668b7c531c78a3b5be2f929193c
+SIZE (gnome-btdownload-0.0.17.tar.bz2) = 86361
diff --git a/net-p2p/gnome-btdownload/pkg-plist b/net-p2p/gnome-btdownload/pkg-plist
index a7ddb001455f..7cb3e4a657e2 100644
--- a/net-p2p/gnome-btdownload/pkg-plist
+++ b/net-p2p/gnome-btdownload/pkg-plist
@@ -4,6 +4,8 @@ bin/gnome-btdownload
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
share/gnome/application-registry/gnome-btdownload.applications
+share/gnome/applications/gnome-btdownload.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/gnome-btdownload/glade/contdiag.glade
share/gnome/gnome-btdownload/glade/dlsession.glade
share/gnome/gnome-btdownload/glade/errdiag.glade
@@ -14,3 +16,4 @@ share/gnome/mime-info/gnome-btdownload.mime
@dirrm share/gnome/gnome-btdownload/glade
@dirrm share/gnome/gnome-btdownload
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec update-desktop-database > /dev/null || /usr/bin/true