summaryrefslogtreecommitdiff
path: root/devel/RTx-RightsMatrix
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-06-26 09:54:40 +0000
committerwiz <wiz@pkgsrc.org>2011-06-26 09:54:40 +0000
commit63063272e4329e197210f7984589c8d39fca58fb (patch)
treef25c258bfeab3b03d8764bd0ca6b480291d524bb /devel/RTx-RightsMatrix
parentfa984a1979d44ead1eefb5c078e2b00e336dc05e (diff)
downloadpkgsrc-63063272e4329e197210f7984589c8d39fca58fb.tar.gz
Convert to user-destdir.
Diffstat (limited to 'devel/RTx-RightsMatrix')
-rw-r--r--devel/RTx-RightsMatrix/Makefile5
-rw-r--r--devel/RTx-RightsMatrix/distinfo4
-rw-r--r--devel/RTx-RightsMatrix/patches/patch-aa12
3 files changed, 13 insertions, 8 deletions
diff --git a/devel/RTx-RightsMatrix/Makefile b/devel/RTx-RightsMatrix/Makefile
index b43c1d1b8c1..00adfa70c78 100644
--- a/devel/RTx-RightsMatrix/Makefile
+++ b/devel/RTx-RightsMatrix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/08/21 16:33:08 seb Exp $
+# $NetBSD: Makefile,v 1.5 2011/06/26 09:54:40 wiz Exp $
#
DISTNAME= RTx-RightsMatrix-0.03.00
@@ -13,6 +13,9 @@ COMMENT= Utility to efficiently manage rights to a RT installation
DEPENDS+= rt>=3.4.5:../../devel/rt3
+PKG_DESTDIR_SUPPORT= user-destdir
+MAKE_ENV+= DESTDIR=${DESTDIR}
+
.include "../../devel/rt3/dirs.mk"
PLIST_SUBST+= RT_SHARE_DIR=share/rt3
diff --git a/devel/RTx-RightsMatrix/distinfo b/devel/RTx-RightsMatrix/distinfo
index 41d8afb4dd0..ea89041a75d 100644
--- a/devel/RTx-RightsMatrix/distinfo
+++ b/devel/RTx-RightsMatrix/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/05/01 09:43:11 cube Exp $
+$NetBSD: distinfo,v 1.2 2011/06/26 09:54:40 wiz Exp $
SHA1 (RTx-RightsMatrix-0.03.00.tgz) = 95345e935293d90bdd1d08a60290f72e0e5c0b94
RMD160 (RTx-RightsMatrix-0.03.00.tgz) = f85820289db564eb887e44830e08276db62cff9a
Size (RTx-RightsMatrix-0.03.00.tgz) = 29898 bytes
-SHA1 (patch-aa) = 5230c031f94d6f3af8f1b7afdd14a96dbd7def1f
+SHA1 (patch-aa) = 2cae70586bf0a4bf95ec89898add5a268a62c197
diff --git a/devel/RTx-RightsMatrix/patches/patch-aa b/devel/RTx-RightsMatrix/patches/patch-aa
index ee728aecb0e..b43118c5946 100644
--- a/devel/RTx-RightsMatrix/patches/patch-aa
+++ b/devel/RTx-RightsMatrix/patches/patch-aa
@@ -1,13 +1,15 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/05/01 09:43:11 cube Exp $
+$NetBSD: patch-aa,v 1.2 2011/06/26 09:54:40 wiz Exp $
---- inc/Module/Install/RTx.pm.orig 2005-09-27 00:23:22.000000000 +0200
+--- inc/Module/Install/RTx.pm.orig 2005-10-28 20:04:16.000000000 +0000
+++ inc/Module/Install/RTx.pm
-@@ -29,7 +29,8 @@ sub RTx {
+@@ -28,8 +28,9 @@ sub RTx {
+ @ARGV = grep { /PREFIX=(.*)/ ? (($prefix = $1), 0) : 1 } @ARGV;
if ($prefix) {
- $RT::LocalPath = $prefix;
+- $RT::LocalPath = $prefix;
- $INC{'RT.pm'} = "$RT::LocalPath/lib/RT.pm";
-+ $RT::LocalHtmlPath = "$prefix/share/rt3/html";
++ $RT::LocalPath = "$ENV{DESTDIR}$prefix";
++ $RT::LocalHtmlPath = "$ENV{DESTDIR}$prefix/share/rt3/html";
+ $INC{'RT.pm'} = "$RT::LocalPath/lib/rt3/RT.pm";
}
else {