From dfde300e326bf5e8243264b408fefe200666ff35 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 2 May 2011 12:37:14 +0000 Subject: Get rid of /usr/bin/env, and depend on xdg-utils for the xdg-open the desktop file is using. Bump PKGREVISION. --- graphics/kipi-plugins/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'graphics/kipi-plugins') 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 -- cgit v1.2.3