pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac1f72057b68
branches:  trunk
changeset: 395526:ac1f72057b68
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 15:00:28 2009 +0000

description:
user-destdir support

diffstat:

 audio/xmms-fmradio/Makefile         |   4 +++-
 audio/xmms-fmradio/distinfo         |   4 ++--
 audio/xmms-fmradio/patches/patch-aa |  15 ++++++++++++---
 3 files changed, 17 insertions(+), 6 deletions(-)

diffs (60 lines):

diff -r 463bb0002017 -r ac1f72057b68 audio/xmms-fmradio/Makefile
--- a/audio/xmms-fmradio/Makefile       Wed Jul 08 14:44:00 2009 +0000
+++ b/audio/xmms-fmradio/Makefile       Wed Jul 08 15:00:28 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/01/12 16:21:38 jmcneill Exp $
+# $NetBSD: Makefile,v 1.21 2009/07/08 15:00:28 joerg Exp $
 #
 
 DISTNAME=              xmms-FMRadio-1.4
@@ -12,6 +12,8 @@
 HOMEPAGE=              http://silicone.free.fr/xmms-FMRadio/
 COMMENT=               Use a Radio Tuner card in XMMS
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 ONLY_FOR_PLATFORM=     NetBSD-1.5Z[A-Z]-* NetBSD-1.6*-* NetBSD-[2-9]*-*
 
 MAKE_ENV+=             ${BSD_MAKE_ENV}
diff -r 463bb0002017 -r ac1f72057b68 audio/xmms-fmradio/distinfo
--- a/audio/xmms-fmradio/distinfo       Wed Jul 08 14:44:00 2009 +0000
+++ b/audio/xmms-fmradio/distinfo       Wed Jul 08 15:00:28 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 20:39:54 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/07/08 15:00:28 joerg Exp $
 
 SHA1 (xmms-FMRadio-1.4.tgz) = 8c22a2532df986f425341295c7b37f7b93d09560
 RMD160 (xmms-FMRadio-1.4.tgz) = 4dbc178634d9cceb84291d44825d34ab343f6e3e
 Size (xmms-FMRadio-1.4.tgz) = 10378 bytes
-SHA1 (patch-aa) = 7b572563d6427c791afbc98594582790f0e059e9
+SHA1 (patch-aa) = 51839dd489748321d71d19ac0937966cea96f8a3
 SHA1 (patch-ab) = 8a6411ff75409019b5fde7796866079fef62bf33
 SHA1 (patch-ac) = 945b3c30d80d9602b15223b9852b86d13c5a66fe
 SHA1 (patch-ad) = 32daee9f65164ce7560cf2fa92120bdcd8ce32f7
diff -r 463bb0002017 -r ac1f72057b68 audio/xmms-fmradio/patches/patch-aa
--- a/audio/xmms-fmradio/patches/patch-aa       Wed Jul 08 14:44:00 2009 +0000
+++ b/audio/xmms-fmradio/patches/patch-aa       Wed Jul 08 15:00:28 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/01/06 06:50:35 jmcneill Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/08 15:00:28 joerg Exp $
 
---- Makefile.orig      Sat Dec 15 10:32:11 2001
-+++ Makefile   Sun Jan  6 02:18:37 2002
+--- Makefile.orig      2001-12-15 15:32:11.000000000 +0100
++++ Makefile
 @@ -1,15 +1,14 @@
  CC?= cc
  OBJ=radio.o radio_configure.o radio_file_info.o
@@ -22,3 +22,12 @@
  BINMODE?= 555
  DIRMODE?= 755
  
+@@ -22,6 +21,6 @@ clean:
+       rm -f *~ $(OBJ) libradio.so
+ 
+ install:
+-      install -d -o $(BINOWN) -g $(BINGRP) -m $(DIRMODE) $(XMMS_PLUG_INS_DIR)
+-      install -c -s -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) libradio.so $(XMMS_PLUG_INS_DIR)/libradio.so
++      install -d -o $(BINOWN) -g $(BINGRP) -m $(DIRMODE) ${DESTDIR}$(XMMS_PLUG_INS_DIR)
++      install -c -s -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) libradio.so ${DESTDIR}$(XMMS_PLUG_INS_DIR)/libradio.so
+ 



Home | Main Index | Thread Index | Old Index