summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-10-31 19:53:17 +0000
committertnn <tnn@pkgsrc.org>2009-10-31 19:53:17 +0000
commitd5348bd9b6bac1cad01477a9108179490006d73a (patch)
tree4edce9564bf7a8d539403f483c11c6a672be5997 /sysutils
parent306350565d603316fea3b1d60c4de796343c09b6 (diff)
downloadpkgsrc-d5348bd9b6bac1cad01477a9108179490006d73a.tar.gz
Support DESTDIR and PKGMANDIR
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sshsh/Makefile6
-rw-r--r--sysutils/sshsh/distinfo3
-rw-r--r--sysutils/sshsh/patches/patch-aa15
3 files changed, 22 insertions, 2 deletions
diff --git a/sysutils/sshsh/Makefile b/sysutils/sshsh/Makefile
index d4613ea776f..94e845edd52 100644
--- a/sysutils/sshsh/Makefile
+++ b/sysutils/sshsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/12/03 15:15:10 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2009/10/31 19:53:17 tnn Exp $
#
DISTNAME= sshsh-1.0
@@ -8,8 +8,12 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Run a new shell with an SSH identity
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
BUILD_TARGET= all PREFIX=${PREFIX}
INSTALL_TARGET= install PREFIX=${PREFIX}
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/sshsh/distinfo b/sysutils/sshsh/distinfo
index 2bb1a6c022f..4a2f360925c 100644
--- a/sysutils/sshsh/distinfo
+++ b/sysutils/sshsh/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 13:40:57 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/10/31 19:53:17 tnn Exp $
SHA1 (sshsh-1.0.tar.gz) = b27a1f19f86ae6546dca6098377874204a6ddde8
RMD160 (sshsh-1.0.tar.gz) = 5c16fc1b04050169bee233714a49b78b23b2e543
Size (sshsh-1.0.tar.gz) = 865 bytes
+SHA1 (patch-aa) = 1590b0dca8e8a2f0eccc46fbe4b0bde9abb6d5a0
diff --git a/sysutils/sshsh/patches/patch-aa b/sysutils/sshsh/patches/patch-aa
new file mode 100644
index 00000000000..17c8f75bdc5
--- /dev/null
+++ b/sysutils/sshsh/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2009/10/31 19:53:17 tnn Exp $
+
+--- Makefile.orig 1999-07-05 06:31:48.000000000 +0200
++++ Makefile
+@@ -8,8 +8,8 @@ M=1
+ all: $(CMD)
+
+ install: $(CMD)
+- install -c -m 775 $(CMD) ${PREFIX}/bin/$(CMD)
+- install -c -m 664 $(CMD).man ${PREFIX}/man/man$(M)/$(CMD).$(M)
++ install -c -m 775 $(CMD) ${DESTDIR}${PREFIX}/bin/$(CMD)
++ install -c -m 664 $(CMD).man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man$(M)/$(CMD).$(M)
+
+ clean:
+ rm -f $(CMD)