pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0834a27708f0
branches:  trunk
changeset: 395137:0834a27708f0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 15:25:39 2009 +0000

description:
user-destdir support

diffstat:

 audio/maplay/Makefile         |  6 +++++-
 audio/maplay/distinfo         |  4 ++--
 audio/maplay/patches/patch-aa |  4 ++--
 audio/rexima/Makefile         |  4 +++-
 audio/rexima/distinfo         |  4 ++--
 audio/rexima/patches/patch-aa |  9 +++++----
 6 files changed, 19 insertions(+), 12 deletions(-)

diffs (115 lines):

diff -r 121497bb7fd6 -r 0834a27708f0 audio/maplay/Makefile
--- a/audio/maplay/Makefile     Tue Jul 07 15:23:15 2009 +0000
+++ b/audio/maplay/Makefile     Tue Jul 07 15:25:39 2009 +0000
@@ -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 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 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 -r 121497bb7fd6 -r 0834a27708f0 audio/maplay/distinfo
--- a/audio/maplay/distinfo     Tue Jul 07 15:23:15 2009 +0000
+++ b/audio/maplay/distinfo     Tue Jul 07 15:25:39 2009 +0000
@@ -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 -r 121497bb7fd6 -r 0834a27708f0 audio/maplay/patches/patch-aa
--- a/audio/maplay/patches/patch-aa     Tue Jul 07 15:23:15 2009 +0000
+++ b/audio/maplay/patches/patch-aa     Tue Jul 07 15:25:39 2009 +0000
@@ -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 @@
                -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 $@
diff -r 121497bb7fd6 -r 0834a27708f0 audio/rexima/Makefile
--- a/audio/rexima/Makefile     Tue Jul 07 15:23:15 2009 +0000
+++ b/audio/rexima/Makefile     Tue Jul 07 15:25:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/09 21:04:41 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/07 15:28:47 joerg Exp $
 #
 
 DISTNAME=              rexima-1.4
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://rus.members.beeb.net/rexima.html
 COMMENT=               Curses-based interactive mixer
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 121497bb7fd6 -r 0834a27708f0 audio/rexima/distinfo
--- a/audio/rexima/distinfo     Tue Jul 07 15:23:15 2009 +0000
+++ b/audio/rexima/distinfo     Tue Jul 07 15:25:39 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 20:39:51 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/07/07 15:28:47 joerg Exp $
 
 SHA1 (rexima-1.4.tar.gz) = 86dc739e1a14074c89b06ce5ac668d13ef824948
 RMD160 (rexima-1.4.tar.gz) = 08251ac47f9ce6db01d2bb41d7b0c01c36c096d9
 Size (rexima-1.4.tar.gz) = 15903 bytes
-SHA1 (patch-aa) = ec9c0ebcbc85553dfc69535b8da19339e4db548b
+SHA1 (patch-aa) = b3723573e106bc64203404051e76a303c14f9ef9
diff -r 121497bb7fd6 -r 0834a27708f0 audio/rexima/patches/patch-aa
--- a/audio/rexima/patches/patch-aa     Tue Jul 07 15:23:15 2009 +0000
+++ b/audio/rexima/patches/patch-aa     Tue Jul 07 15:25:39 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/10/23 09:24:55 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/07 15:28:47 joerg Exp $
 
 --- Makefile.orig      2003-06-30 14:45:27.000000000 +0200
 +++ Makefile
@@ -27,13 +27,14 @@
 +      $(CC) $(CFLAGS) -o rexima rexima.o -lncurses ${LIBOSSAUDIO}
  
  installdirs:
-       /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
+-      /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
++      /bin/sh ./mkinstalldirs ${DESTDIR}$(BINDIR) ${DESTDIR}$(MANDIR)
  
  install: rexima installdirs
 -      install -s -m 755 rexima $(BINDIR)
 -      install -m 644 rexima.1 $(MANDIR)
-+      ${BSD_INSTALL_PROGRAM} rexima $(BINDIR)
-+      ${BSD_INSTALL_DATA} rexima.1 $(MANDIR)
++      ${BSD_INSTALL_PROGRAM} rexima ${DESTDIR}$(BINDIR)
++      ${BSD_INSTALL_DATA} rexima.1 ${DESTDIR}$(MANDIR)
  
  uninstall:
        $(RM) $(BINDIR)/rexima $(MANDIR)/rexima.1



Home | Main Index | Thread Index | Old Index