ports/149021: [patch] net-p2p/amule2: update to a snapshot, r10257
Anonymous
swell.k at gmail.com
Wed Jul 28 06:10:04 UTC 2010
The following reply was made to PR ports/149021; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/149021: [patch] net-p2p/amule2: update to a snapshot, r10257
Date: Wed, 28 Jul 2010 10:03:43 +0400
Only after wiping out all kde packages I noticed that my plist was
inaccurate. Now, if only bsd.kde4.mk had KDE4_LOCALBASE...
--- b.diff begins here ---
diff --git a/Makefile b/Makefile
index 65936a1..4e8224c 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ CONFLICTS= aMule-1.* aMule-devel-[0-9]* ed2k-hash-1.*
WRKSRC= ${WRKDIR}/${PORTNAME:L}
-USE_GNOME= desktopfileutils pkgconfig
+USE_GNOME= pkgconfig
USE_GMAKE= yes
USE_KDE4= # empty
USE_QT_VER= 4
@@ -206,7 +206,8 @@ post-patch: .SILENT
post-install:
.if !defined(WITHOUT_PLASMAMULE)
- ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/plasmamule/*.so ${KDE4_PREFIX}/lib
+ @-update-mime-database ${KDE4_PREFIX}/share/mime
+ @-update-desktop-database ${KDE4_PREFIX}/share/applications
.endif
@-update-desktop-database ${PREFIX}/share/applications
diff --git a/pkg-plist b/pkg-plist
index 4929156..f682216 100644
--- a/pkg-plist
+++ b/pkg-plist
@@ -1,7 +1,18 @@
%%PLASMAMULE%%@cwd %%KDE4_PREFIX%%
%%PLASMAMULE%%bin/plasmamule-engine-feeder
-%%PLASMAMULE%%lib/plasma-applet-plasmamule.so
-%%PLASMAMULE%%lib/plasma-engine-plasmamule.so
+%%PLASMAMULE%%lib/kde4/plasma-applet-plasmamule.so
+%%PLASMAMULE%%lib/kde4/plasma-engine-plasmamule.so
+%%PLASMAMULE%%share/applications/plasmamule-engine-feeder.desktop
+%%PLASMAMULE%%share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg
+%%PLASMAMULE%%share/kde4/services/ed2k.protocol
+%%PLASMAMULE%%share/kde4/services/magnet.protocol
+%%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop
+%%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop
+%%PLASMAMULE%%share/mime/amule.xml
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
%%PLASMAMULE%%@cwd
%%ALC%%bin/alc
%%ALC%%bin/alcc
--- b.diff ends here ---
More information about the freebsd-ports-bugs
mailing list