summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2010-06-25 23:16:27 +0000
committerjoerg <joerg>2010-06-25 23:16:27 +0000
commit4a508338dba1263a74296603c8b1501d2a1568ca (patch)
treefafa528a0216e4cb26407306560e3743d6618a03
parent9aaeae88cc24bc1470dfd465d4c490746c0a87fa (diff)
downloadpkgsrc-4a508338dba1263a74296603c8b1501d2a1568ca.tar.gz
DESTDIR support
-rw-r--r--shells/perlsh/Makefile4
-rw-r--r--shells/perlsh/distinfo3
-rw-r--r--shells/perlsh/patches/patch-ab13
3 files changed, 18 insertions, 2 deletions
diff --git a/shells/perlsh/Makefile b/shells/perlsh/Makefile
index 081d535735a..d5ddfe00235 100644
--- a/shells/perlsh/Makefile
+++ b/shells/perlsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2010/05/07 12:02:44 jmmv Exp $
+# $NetBSD: Makefile,v 1.18 2010/06/25 23:16:27 joerg Exp $
DISTNAME= psh-1.8
PKGNAME= perlsh-1.8
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.focusresearch.com/gregor/sw/psh/
COMMENT= The Perl Shell
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
DEPENDS+= p5-Term-ReadLine>=1.12:../../devel/p5-Term-ReadLine
DEPENDS+= p5-BSD-Resource>=1.15:../../devel/p5-BSD-Resource
diff --git a/shells/perlsh/distinfo b/shells/perlsh/distinfo
index b288fa1397f..1d789a3a88b 100644
--- a/shells/perlsh/distinfo
+++ b/shells/perlsh/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 13:14:41 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/06/25 23:16:27 joerg Exp $
SHA1 (psh-1.8.tar.gz) = fd2f1fd0e100fb9fc20102b1c0d9dfaf2b14c0b9
RMD160 (psh-1.8.tar.gz) = ed06062ef6faeb08dba0ac5dd12cf24acbcd6380
Size (psh-1.8.tar.gz) = 119989 bytes
SHA1 (patch-aa) = c91b7ace961409e9d12f7ecda0e0dad1e860cd22
+SHA1 (patch-ab) = e884915aeb44fcdce6d2177bd7836302048586f1
diff --git a/shells/perlsh/patches/patch-ab b/shells/perlsh/patches/patch-ab
new file mode 100644
index 00000000000..25093d3d448
--- /dev/null
+++ b/shells/perlsh/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2010/06/25 23:16:27 joerg Exp $
+
+--- Makefile.PL.orig 2010-06-25 23:12:07.000000000 +0000
++++ Makefile.PL
+@@ -22,7 +22,7 @@ sub MY::postamble {
+ my $tmp="
+
+ install ::
+- \$(PERL) postinstall.pl \$(SITEPREFIX) \$(PREFIX)
++ \$(PERL) postinstall.pl \$(DESTDIR)\$(SITEPREFIX) \$(DESTDIR)\$(PREFIX)
+
+
+ lib/Psh/StrategyBunch.pm : $sb_depends