diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 19:02:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 19:02:01 +0000 |
commit | 6690d5ce16f1bfbf9b66ede089a63ae5ae9285a9 (patch) | |
tree | c612310d334ae1242388010b7ae8fb6805ce9a51 /misc | |
parent | ff11d03cc86b848657afea7806342eec77a82047 (diff) | |
download | pkgsrc-6690d5ce16f1bfbf9b66ede089a63ae5ae9285a9.tar.gz |
DESTDIR support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/chord/Makefile | 6 | ||||
-rw-r--r-- | misc/chord/distinfo | 4 | ||||
-rw-r--r-- | misc/chord/patches/patch-aa | 10 |
3 files changed, 11 insertions, 9 deletions
diff --git a/misc/chord/Makefile b/misc/chord/Makefile index 7433b4defcc..68991514817 100644 --- a/misc/chord/Makefile +++ b/misc/chord/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/03/04 21:30:10 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/11 19:02:01 joerg Exp $ DISTNAME= chord PKGNAME= chord-3.6 @@ -8,7 +8,9 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Produce PS sheet-music from text input -NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL +PKG_DESTDIR_SUPPORT= user-destdir + +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 CFLAGS+= -DPAPERSIZE=${PAPERSIZE} diff --git a/misc/chord/distinfo b/misc/chord/distinfo index d9e981fc684..817a98d854a 100644 --- a/misc/chord/distinfo +++ b/misc/chord/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2005/02/24 11:02:51 agc Exp $ +$NetBSD: distinfo,v 1.6 2010/02/11 19:02:01 joerg Exp $ SHA1 (chord.tar.gz) = 2d93a43ee153f840786d7218cf49b44c85d19388 RMD160 (chord.tar.gz) = a0f01ac2f67f1556e7249848601901a1481fb4a1 Size (chord.tar.gz) = 74809 bytes -SHA1 (patch-aa) = 8625a6cf246d265c305faaffd826e984b30fdbc3 +SHA1 (patch-aa) = 68a43070091b8ecdb51d3e7aafbe10fa053f3018 SHA1 (patch-ab) = d99fade958792cf1b31905d5b685b6cbfd699585 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* |