summaryrefslogtreecommitdiff
path: root/misc/chord/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 19:02:01 +0000
committerjoerg <joerg>2010-02-11 19:02:01 +0000
commit279e115b902b5a8c24cbd92676db25c2d2fd1d66 (patch)
treec612310d334ae1242388010b7ae8fb6805ce9a51 /misc/chord/patches
parentc7a719e6247c2a3ee8445b48e50757d1d81daa61 (diff)
downloadpkgsrc-279e115b902b5a8c24cbd92676db25c2d2fd1d66.tar.gz
DESTDIR support
Diffstat (limited to 'misc/chord/patches')
-rw-r--r--misc/chord/patches/patch-aa10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/chord/patches/patch-aa b/misc/chord/patches/patch-aa
index dddfd50f93e..5ccc0723bcd 100644
--- a/misc/chord/patches/patch-aa
+++ b/misc/chord/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2003/09/22 12:29:20 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2010/02/11 19:02:01 joerg Exp $
--- Makefile.orig Tue Apr 25 08:04:52 1995
+++ Makefile Mon Sep 22 11:18:10 2003
@@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.3 2003/09/22 12:29:20 wiz Exp $
# where to put the man page
-MANDIR = /usr/man
-MANEXT = l
-+MANDIR = ${PREFIX}/man
++MANDIR = ${PREFIX}/${PKGMANDIR}
+MANEXT = 1
# You should not have to change anything below this line
@@ -35,10 +35,10 @@ $NetBSD: patch-aa,v 1.3 2003/09/22 12:29:20 wiz Exp $
- chmod 666 $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT)
-
+ for prog in $(PROGRAMS); do \
-+ ${BSD_INSTALL_PROGRAM} $$prog $(BINDIR)/$$prog; \
++ ${BSD_INSTALL_PROGRAM} $$prog ${DESTDIR}$(BINDIR)/$$prog; \
+ done
-+ ${BSD_INSTALL_MAN} chord.man $(MANDIR)/man$(MANEXT)/chord.$(MANEXT)
-+ ${BSD_INSTALL_MAN} a2crd.man $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT)
++ ${BSD_INSTALL_MAN} chord.man ${DESTDIR}$(MANDIR)/man$(MANEXT)/chord.$(MANEXT)
++ ${BSD_INSTALL_MAN} a2crd.man ${DESTDIR}$(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT)
+
shar : $(SRC)
rm -f $(RELNAME).part*