diff options
author | wiz <wiz@pkgsrc.org> | 2014-04-21 15:35:27 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-04-21 15:35:27 +0000 |
commit | 07abef0a6a5e9c95856a41f598c57bf2e87c9aaf (patch) | |
tree | dfc5d53434f236dc0ba850ae7c9a96a2b3f75685 /misc/xdg-utils | |
parent | c0d415035bbe9ef6bb81a3800490ce7ae772d12f (diff) | |
download | pkgsrc-07abef0a6a5e9c95856a41f598c57bf2e87c9aaf.tar.gz |
Use GNU sed and bash to make these tools work a bit better.
This at least fixes xdg-screensaver.
Bump PKGREVISION.
Diffstat (limited to 'misc/xdg-utils')
-rw-r--r-- | misc/xdg-utils/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/misc/xdg-utils/Makefile b/misc/xdg-utils/Makefile index 6518d090f91..c78c82e6f73 100644 --- a/misc/xdg-utils/Makefile +++ b/misc/xdg-utils/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2013/03/17 19:56:43 markd Exp $ -# +# $NetBSD: Makefile,v 1.7 2014/04/21 15:35:27 wiz Exp $ DISTNAME= xdg-utils-1.1.0-rc1 -PKGNAME= xdg-utils-1.1.0rc1 +PKGNAME= ${DISTNAME:S/-rc/rc/} +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://portland.freedesktop.org/download/ @@ -13,5 +13,22 @@ LICENSE= mit GNU_CONFIGURE= yes USE_LANGUAGES= # none +USE_TOOLS+= bash:run gsed:run + +SUBST_CLASSES+= gsed +SUBST_FILES.gsed= scripts/xdg-* +SUBST_STAGE.gsed= post-build +SUBST_MESSAGE.gsed= Use GNU sed instead of sed. +SUBST_SED.gsed+= -e "s/sed /gsed /g" + +# "foo > /dev/null 2> /dev/null" gives "foo: not found" with NetBSD's sh +REPLACE_BASH+= scripts/xdg-desktop-icon +REPLACE_BASH+= scripts/xdg-desktop-menu +REPLACE_BASH+= scripts/xdg-email +REPLACE_BASH+= scripts/xdg-icon-resource +REPLACE_BASH+= scripts/xdg-mime +REPLACE_BASH+= scripts/xdg-open +REPLACE_BASH+= scripts/xdg-screensaver +REPLACE_BASH+= scripts/xdg-settings .include "../../mk/bsd.pkg.mk" |