pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/chord DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/d26c0cf904aa
branches: trunk
changeset: 571376:d26c0cf904aa
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Feb 11 19:02:01 2010 +0000
description:
DESTDIR support
diffstat:
misc/chord/Makefile | 6 ++++--
misc/chord/distinfo | 4 ++--
misc/chord/patches/patch-aa | 10 +++++-----
3 files changed, 11 insertions(+), 9 deletions(-)
diffs (65 lines):
diff -r dc5665f0dec8 -r d26c0cf904aa misc/chord/Makefile
--- a/misc/chord/Makefile Thu Feb 11 19:00:47 2010 +0000
+++ b/misc/chord/Makefile Thu Feb 11 19:02:01 2010 +0000
@@ -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 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
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 -r dc5665f0dec8 -r d26c0cf904aa misc/chord/distinfo
--- a/misc/chord/distinfo Thu Feb 11 19:00:47 2010 +0000
+++ b/misc/chord/distinfo Thu Feb 11 19:02:01 2010 +0000
@@ -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 -r dc5665f0dec8 -r d26c0cf904aa misc/chord/patches/patch-aa
--- a/misc/chord/patches/patch-aa Thu Feb 11 19:00:47 2010 +0000
+++ b/misc/chord/patches/patch-aa Thu Feb 11 19:02:01 2010 +0000
@@ -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 @@
# 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 @@
- 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*
Home |
Main Index |
Thread Index |
Old Index