summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-07-01 21:00:14 +0000
committerheinz <heinz@pkgsrc.org>2007-07-01 21:00:14 +0000
commitc5187dbe6f4578b3e290dad654352afd61057700 (patch)
tree5b6d99f93802eaff6b64d3ce1c663263f9b28737 /audio
parentf63ce7c23ef6ba7f9bbd92d9599b3b3ab8c44714 (diff)
downloadpkgsrc-c5187dbe6f4578b3e290dad654352afd61057700.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'audio')
-rw-r--r--audio/portaudio/Makefile8
-rw-r--r--audio/portaudio/distinfo4
-rw-r--r--audio/portaudio/patches/patch-ac16
3 files changed, 18 insertions, 10 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile
index 633c0f11508..0781cdedbd0 100644
--- a/audio/portaudio/Makefile
+++ b/audio/portaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/05/16 08:09:42 minskim Exp $
+# $NetBSD: Makefile,v 1.15 2007/07/01 21:00:14 heinz Exp $
DISTNAME= portaudio_v18_1
PKGNAME= portaudio-18.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.portaudio.com/
COMMENT= Portable cross-platform Audio API
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= Interix-*-*
USE_TOOLS+= gmake
@@ -21,8 +23,10 @@ CFLAGS.Darwin= -Ipablio
EXTRACT_OPTS_ZIP= -aqo
+INSTALLATION_DIRS+= lib include
+
pre-configure:
- ${CHMOD} 755 ${WRKSRC}/configure
+ ${CHMOD} 755 ${WRKSRC:Q}/configure
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
diff --git a/audio/portaudio/distinfo b/audio/portaudio/distinfo
index 888b51f3530..a4203028957 100644
--- a/audio/portaudio/distinfo
+++ b/audio/portaudio/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.7 2006/08/27 20:29:26 ben Exp $
+$NetBSD: distinfo,v 1.8 2007/07/01 21:00:15 heinz Exp $
SHA1 (portaudio_v18_1.zip) = a460ac5484137d77df17a95ce844ff7f178305b1
RMD160 (portaudio_v18_1.zip) = 3352d70225a81aae80eefabc3701658da0c750c2
Size (portaudio_v18_1.zip) = 550130 bytes
SHA1 (patch-aa) = e522bfbf7f69d6f15fd0a32e01a480db922acc56
-SHA1 (patch-ac) = bc8133f418cc062bae1513d5aeea7107c4bb1843
+SHA1 (patch-ac) = 17bdfd65b50bcadf993bcef232c19d903c3a5446
SHA1 (patch-ad) = 5a343e721ae183facc58195026c7e5c49536632a
SHA1 (patch-ae) = c2744f10d80a478ad571fcce82bf301d6c50cb59
SHA1 (patch-af) = da42578e66137f95edbbb86bde724af32e398d57
diff --git a/audio/portaudio/patches/patch-ac b/audio/portaudio/patches/patch-ac
index a726e762c33..f8a42b6433f 100644
--- a/audio/portaudio/patches/patch-ac
+++ b/audio/portaudio/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.4 2004/10/05 04:06:30 ben Exp $
+$NetBSD: patch-ac,v 1.5 2007/07/01 21:00:15 heinz Exp $
---- Makefile.in.orig Tue Feb 11 23:24:56 2003
+--- Makefile.in.orig 2003-02-11 23:24:56.000000000 +0100
+++ Makefile.in
@@ -5,14 +5,14 @@
#
@@ -20,7 +20,7 @@ $NetBSD: patch-ac,v 1.4 2004/10/05 04:06:30 ben Exp $
OTHER_OBJS = @OTHER_OBJS@
-@@ -57,18 +57,15 @@ all: lib/$(PALIB) lib/$(PADLLV) tests
+@@ -57,20 +57,17 @@ all: lib/$(PALIB) lib/$(PADLLV) tests
tests: bin/ $(TESTS)
lib/$(PALIB): lib/ $(OBJS) Makefile $(PAINC)
@@ -38,7 +38,11 @@ $NetBSD: patch-ac,v 1.4 2004/10/05 04:06:30 ben Exp $
install: lib/$(PALIB) lib/$(PADLLV)
- $(INSTALL) -m 644 lib/$(PADLLV) $(PREFIX)/lib/$(PADLLV)
- $(INSTALL) -m 644 lib/$(PALIB) $(PREFIX)/lib/$(PALIB)
-+ ${LIBTOOL} --mode=install $(INSTALL) -m 644 lib/${PALIB:.a=.la} $(PREFIX)/lib/
- cd $(PREFIX)/lib && rm -f $(PADLL) && ln -s $(PADLLV) $(PADLL)
- $(INSTALL) -m 644 pa_common/portaudio.h $(PREFIX)/include/portaudio.h
+- cd $(PREFIX)/lib && rm -f $(PADLL) && ln -s $(PADLLV) $(PADLL)
+- $(INSTALL) -m 644 pa_common/portaudio.h $(PREFIX)/include/portaudio.h
++ ${LIBTOOL} --mode=install $(INSTALL) -m 644 lib/${PALIB:.a=.la} $(DESTDIR)$(PREFIX)/lib/
++ cd $(DESTDIR)$(PREFIX)/lib && rm -f $(PADLL) && ln -s $(PADLLV) $(PADLL)
++ $(INSTALL) -m 644 pa_common/portaudio.h $(DESTDIR)$(PREFIX)/include/portaudio.h
@echo ""
+ @echo "------------------------------------------------------------"
+ @echo "PortAudio was successfully installed."