summaryrefslogtreecommitdiff
path: root/audio/maplay
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 15:25:39 +0000
committerjoerg <joerg>2009-07-07 15:25:39 +0000
commitef1e86a9592b9ef3ca3f1b8a5c20d7ec29d055ff (patch)
tree92127c373704111847c9aa088e01c8a06ccd91b9 /audio/maplay
parent409365437dc2b98150bd954d4577d533b4e05103 (diff)
downloadpkgsrc-ef1e86a9592b9ef3ca3f1b8a5c20d7ec29d055ff.tar.gz
user-destdir support
Diffstat (limited to 'audio/maplay')
-rw-r--r--audio/maplay/Makefile6
-rw-r--r--audio/maplay/distinfo4
-rw-r--r--audio/maplay/patches/patch-aa4
3 files changed, 9 insertions, 5 deletions
diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile
index 5acc15776c5..26d5ee7786f 100644
--- a/audio/maplay/Makefile
+++ b/audio/maplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/02/22 19:30:03 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2009/07/07 15:25:39 joerg Exp $
DISTNAME= maplay1_2
PKGNAME= maplay-1.2
@@ -10,11 +10,15 @@ EXTRACT_SUFX= .tar
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= MPEG audio player/decoder for layer I and II MPEG audio streams
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c++
NOT_FOR_PLATFORM= Interix-*-*
+INSTALLATION_DIRS= bin
+
pre-configure:
cd ${WRKSRC} && ${MAKE} pre-install
diff --git a/audio/maplay/distinfo b/audio/maplay/distinfo
index 7e6a105bc86..77c4754a015 100644
--- a/audio/maplay/distinfo
+++ b/audio/maplay/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2005/12/11 22:17:37 joerg Exp $
+$NetBSD: distinfo,v 1.7 2009/07/07 15:25:39 joerg Exp $
SHA1 (maplay1_2.tar) = faeac51cfbf011956a17721e2077d0ed11f8d8dd
RMD160 (maplay1_2.tar) = bc016d4cc8f356d9c2c0a90d4afde5e67c45ba14
Size (maplay1_2.tar) = 286720 bytes
-SHA1 (patch-aa) = 12dfda39d9c451b4ba197aab637f234cbd255649
+SHA1 (patch-aa) = 46d7f3934c08ac98e4ac7646105fce635d4a5313
SHA1 (patch-ab) = 92582f6a9b87ca4c61aaf42a1d03349b455997dc
SHA1 (patch-ac) = 53abb9ca8231cf48c0900fb286c39de768345831
SHA1 (patch-ad) = 389c418dac740b6959b441439cc4660ed28daee0
diff --git a/audio/maplay/patches/patch-aa b/audio/maplay/patches/patch-aa
index 523a6bb8400..56a01c07a59 100644
--- a/audio/maplay/patches/patch-aa
+++ b/audio/maplay/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2002/06/27 15:52:12 agc Exp $
+$NetBSD: patch-aa,v 1.4 2009/07/07 15:25:39 joerg Exp $
--- Makefile 2002/06/27 15:41:29 1.1
+++ Makefile 2002/06/27 15:41:40
@@ -17,7 +17,7 @@ $NetBSD: patch-aa,v 1.3 2002/06/27 15:52:12 agc Exp $
-strip $@
+
+install: all
-+ ${INSTALL} -s -c -m 755 maplay ${PREFIX}/bin
++ ${INSTALL} -s -c -m 755 maplay ${DESTDIR}${PREFIX}/bin
.cc.o:
$(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@