summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg>2009-08-18 16:47:18 +0000
committerjoerg <joerg>2009-08-18 16:47:18 +0000
commitc5c7f91b160a52f981f82dd6fef40ab3c5057fa9 (patch)
treeba94d609d2420261ce1ee88e522590cfff23564a /audio
parent80ec6aa262b4b03494a967e8c244e745da7304f8 (diff)
downloadpkgsrc-c5c7f91b160a52f981f82dd6fef40ab3c5057fa9.tar.gz
Fix destdir installation
Diffstat (limited to 'audio')
-rw-r--r--audio/snd/distinfo3
-rw-r--r--audio/snd/patches/patch-ab26
2 files changed, 28 insertions, 1 deletions
diff --git a/audio/snd/distinfo b/audio/snd/distinfo
index 11f5095170a..c1c725cc5b0 100644
--- a/audio/snd/distinfo
+++ b/audio/snd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2008/04/28 12:47:44 wiz Exp $
+$NetBSD: distinfo,v 1.16 2009/08/18 16:47:18 joerg Exp $
SHA1 (snd-9.9.tar.gz) = 8c00b1d48d66032a9085b8ae652a5d25c8ef14a2
RMD160 (snd-9.9.tar.gz) = 39561a38d8bba7ead73a16fc7647cb2bd6ef275a
Size (snd-9.9.tar.gz) = 12349176 bytes
SHA1 (patch-aa) = b17208a09350d6f9be61b60d6ece6d92d60c5ad5
+SHA1 (patch-ab) = c6f2a3c134c2fb2adee67b672f66a092e7962b75
diff --git a/audio/snd/patches/patch-ab b/audio/snd/patches/patch-ab
new file mode 100644
index 00000000000..32585526068
--- /dev/null
+++ b/audio/snd/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.4 2009/08/18 16:47:18 joerg Exp $
+
+--- makefile.in.orig 2009-08-18 18:34:38.000000000 +0200
++++ makefile.in
+@@ -190,14 +190,14 @@ audinfo: $(SNDLIB_HEADERS)
+ $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o audinfo.o -o audinfo $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
+
+ install: snd
+- ${SHELL} ${top_srcdir}/mkinstalldirs ${bindir}
+- ${SHELL} ${top_srcdir}/mkinstalldirs ${mandir}
+- ${SHELL} ${top_srcdir}/mkinstalldirs ${mandir}/man1
+- ${SHELL} ${top_srcdir}/mkinstalldirs ${pkgdatadir}
++ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
++ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}
++ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
++ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${pkgdatadir}
+ (cd po && $(MAKE) install)
+- $(INSTALL) snd ${bindir}/snd
+- $(INSTALL) ${top_srcdir}/snd.1 ${mandir}/man1
+- (cd ${top_srcdir} && for f in ${SND_SCRIPTS}; do ${INSTALL_DATA} ${top_srcdir}/$${f} ${pkgdatadir}/$${f}; done)
++ $(BSD_INSTALL_PROGRAM) snd ${DESTDIR}${bindir}/snd
++ $(INSTALL) ${top_srcdir}/snd.1 ${DESTDIR}${mandir}/man1
++ (cd ${top_srcdir} && for f in ${SND_SCRIPTS}; do ${INSTALL_DATA} ${top_srcdir}/$${f} ${DESTDIR}${pkgdatadir}/$${f}; done)
+
+ uninstall:
+ rm -f ${bindir}/snd