summaryrefslogtreecommitdiff
path: root/graphics/kipi-plugins
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-05-02 12:37:14 +0000
committerwiz <wiz@pkgsrc.org>2011-05-02 12:37:14 +0000
commitdfde300e326bf5e8243264b408fefe200666ff35 (patch)
tree5003d3ade005bf7590dd5a49903c85c4afe636c1 /graphics/kipi-plugins
parentdcb5e96bfea878ad93764d1275e887b96b5cf6e2 (diff)
downloadpkgsrc-dfde300e326bf5e8243264b408fefe200666ff35.tar.gz
Get rid of /usr/bin/env, and depend on xdg-utils for the xdg-open
the desktop file is using. Bump PKGREVISION.
Diffstat (limited to 'graphics/kipi-plugins')
-rw-r--r--graphics/kipi-plugins/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/kipi-plugins/Makefile b/graphics/kipi-plugins/Makefile
index 59c67a66057..76217214dc0 100644
--- a/graphics/kipi-plugins/Makefile
+++ b/graphics/kipi-plugins/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.60 2011/04/22 13:43:48 obache Exp $
+# $NetBSD: Makefile,v 1.61 2011/05/02 12:37:14 wiz Exp $
#
DISTNAME= kipi-plugins-1.6.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kipi/kipi-plugins/1.6.0/}
EXTRACT_SUFX= .tar.bz2
@@ -14,6 +14,7 @@ COMMENT= Common plugin structure for KDE4 programs
BUILD_DEPENDS+= automoc4>=0.9.83:../../devel/automoc4
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
+DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
PKG_DESTDIR_SUPPORT= user-destdir
@@ -22,6 +23,12 @@ USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_TOOLS+= msgfmt pkg-config
+SUBST_CLASSES+= xdg
+SUBST_SED.xdg= -e "s,/usr/bin/env xdg-open,${PREFIX}/bin/xdg-open,"
+SUBST_FILES.xdg= expoblending/expoblending.desktop
+SUBST_STAGE.xdg= pre-build
+SUBST_MESSAGE.xdg= Fixing path in desktop file.
+
BUILDLINK_API_DEPENDS.kdelibs+= kdelibs4>=4.4.0
.include "../../meta-pkgs/kde4/kde4.mk"
# for IpodExport