From f5af1100ea0bbbe6f64a44aaf8aa592904c66aff Mon Sep 17 00:00:00 2001 From: mezz Date: Tue, 7 Dec 2004 20:32:44 +0000 Subject: Update to 0.0.17, it should works better with GNOME 2.8's new mimetype system. --- net-p2p/gnome-btdownload/Makefile | 9 ++++++--- net-p2p/gnome-btdownload/distinfo | 4 ++-- net-p2p/gnome-btdownload/pkg-plist | 3 +++ net/gnome-btdownload/Makefile | 9 ++++++--- net/gnome-btdownload/distinfo | 4 ++-- net/gnome-btdownload/pkg-plist | 3 +++ 6 files changed, 22 insertions(+), 10 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 diff --git a/net/gnome-btdownload/Makefile b/net/gnome-btdownload/Makefile index 15c4c3fe69df..39af645f77a9 100644 --- a/net/gnome-btdownload/Makefile +++ b/net/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/gnome-btdownload/distinfo b/net/gnome-btdownload/distinfo index 7792bc3ae7c4..96bf40a91f5b 100644 --- a/net/gnome-btdownload/distinfo +++ b/net/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/gnome-btdownload/pkg-plist b/net/gnome-btdownload/pkg-plist index a7ddb001455f..7cb3e4a657e2 100644 --- a/net/gnome-btdownload/pkg-plist +++ b/net/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 -- cgit