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/375de8d8784e
branches:  trunk
changeset: 395528:375de8d8784e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 15:02:14 2009 +0000

description:
user-destdir support

diffstat:

 audio/xmms-blursk/Makefile                |   8 ++++++--
 audio/xmms-dscope/Makefile                |   6 +++++-
 audio/xmms-dscope/distinfo                |   4 ++--
 audio/xmms-dscope/patches/patch-aa        |   8 ++++----
 audio/xmms-dspectogram/Makefile           |   6 +++++-
 audio/xmms-dspectogram/distinfo           |   4 ++--
 audio/xmms-dspectogram/patches/patch-aa   |   8 ++++----
 audio/xmms-dspectral/Makefile             |   6 +++++-
 audio/xmms-dspectral/distinfo             |   4 ++--
 audio/xmms-dspectral/patches/patch-aa     |   8 ++++----
 audio/xmms-flac/Makefile                  |   8 +++-----
 audio/xmms-funtimedancer/Makefile         |   8 ++++++--
 audio/xmms-funtimedancer/distinfo         |   4 ++--
 audio/xmms-funtimedancer/patches/patch-aa |  13 ++++++++++---
 14 files changed, 60 insertions(+), 35 deletions(-)

diffs (284 lines):

diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-blursk/Makefile
--- a/audio/xmms-blursk/Makefile        Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-blursk/Makefile        Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/11/18 10:23:23 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2009/07/08 15:02:14 joerg Exp $
 
 DISTNAME=      Blursk-1.3
 PKGNAME=       xmms-blursk-1.3
@@ -11,13 +11,17 @@
 HOMEPAGE=      http://web.cecs.pdx.edu/~kirkenda/blursk/
 COMMENT=       Visualization plugin for XMMS inspired by "Blur Scope"
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
 
 GNU_CONFIGURE= YES
 USE_LIBTOOL=   YES
 
+INSTALLATION_DIRS=     share/xmms
+
 post-install:
-       ${INSTALL_DATA} ${DISTDIR}/blursk-presets ${PREFIX}/share/xmms/blursk-presets
+       ${INSTALL_DATA} ${DISTDIR}/blursk-presets ${DESTDIR}${PREFIX}/share/xmms/blursk-presets
 
 .include "../../audio/xmms/buildlink3.mk"
 .include "../../x11/gtk/buildlink3.mk"
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dscope/Makefile
--- a/audio/xmms-dscope/Makefile        Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dscope/Makefile        Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/11/18 10:23:23 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2009/07/08 15:09:19 joerg Exp $
 #
 
 DISTNAME=      dscope-1.2
@@ -11,8 +11,12 @@
 #HOMEPAGE=     http://hem.passagen.se/joakime/linuxapp.html
 COMMENT=       XMMS plugin for dual scope
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LIBTOOL=           YES
 
+INSTALLATION_DIRS=     lib/xmms/Visualization
+
 pre-build:
        cd ${WRKSRC} ; ${MAKE} clean
 
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dscope/distinfo
--- a/audio/xmms-dscope/distinfo        Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dscope/distinfo        Wed Jul 08 15:02:14 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:54 agc Exp $
+$NetBSD: distinfo,v 1.6 2009/07/08 15:09:19 joerg Exp $
 
 SHA1 (dscope-1.2.tar.gz) = 5a4750c0a8170c1e2d263df1212262b3adad1210
 RMD160 (dscope-1.2.tar.gz) = c8a8fcfdfe37591b0d757cab84ff83898af924ae
 Size (dscope-1.2.tar.gz) = 34353 bytes
-SHA1 (patch-aa) = 1dec86cbec9d870ee2586d3f209e4bbb7ecacfb5
+SHA1 (patch-aa) = 768d7f989a222386f85f4e0efdfdb3d9186765b4
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dscope/patches/patch-aa
--- a/audio/xmms-dscope/patches/patch-aa        Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dscope/patches/patch-aa        Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2002/09/21 01:34:50 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2009/07/08 15:09:19 joerg Exp $
 
 --- Makefile.orig      Sat Jan 20 06:18:28 2001
 +++ Makefile
@@ -51,6 +51,6 @@
 -      install libdscope.so $(INSTALL-DIR)
 -      mkdir -p $(XMMS_DATADIR)/$(THEME_SUBDIR)
 -      install bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
-+      ${LIBTOOL} ${INSTALL} libdscope.la $(INSTALL-DIR)
-+      ${BSD_INSTALL_DATA_DIR} $(XMMS_DATADIR)/$(THEME_SUBDIR)
-+      ${BSD_INSTALL_DATA} bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
++      ${LIBTOOL} ${INSTALL} libdscope.la ${DESTDIR}$(INSTALL-DIR)
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(XMMS_DATADIR)/$(THEME_SUBDIR)
++      ${BSD_INSTALL_DATA} bg_*.xpm ${DESTDIR}$(XMMS_DATADIR)/$(THEME_SUBDIR)
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dspectogram/Makefile
--- a/audio/xmms-dspectogram/Makefile   Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dspectogram/Makefile   Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/10/04 20:44:20 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2009/07/08 15:05:57 joerg Exp $
 #
 
 DISTNAME=      dspectogram-1.2
@@ -11,8 +11,12 @@
 HOMEPAGE=      http://hem.passagen.se/joakime/
 COMMENT=       XMMS plugin for dual spectogram
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LIBTOOL=           YES
 
+INSTALLATION_DIRS=     lib/xmms/Visualization
+
 pre-build:
        cd ${WRKSRC} ; ${MAKE} clean
 
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dspectogram/distinfo
--- a/audio/xmms-dspectogram/distinfo   Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dspectogram/distinfo   Wed Jul 08 15:02:14 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:54 agc Exp $
+$NetBSD: distinfo,v 1.6 2009/07/08 15:05:57 joerg Exp $
 
 SHA1 (dspectogram-1.2.tar.gz) = defad396e898efdaa597312629afc1b46bd7e9c9
 RMD160 (dspectogram-1.2.tar.gz) = bf7d3004ba647d176b822791a9cf49f26a495057
 Size (dspectogram-1.2.tar.gz) = 40791 bytes
-SHA1 (patch-aa) = b08397f747f762d4da09471a3f91a03cba173603
+SHA1 (patch-aa) = 8995ba932fec3159497523ed16e63c6fdae9928b
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dspectogram/patches/patch-aa
--- a/audio/xmms-dspectogram/patches/patch-aa   Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dspectogram/patches/patch-aa   Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2002/09/21 01:46:52 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2009/07/08 15:05:57 joerg Exp $
 
 --- Makefile.orig      Sat Jan 20 06:20:49 2001
 +++ Makefile
@@ -51,6 +51,6 @@
 -      install libdspectogram.so $(INSTALL-DIR)
 -      mkdir -p $(XMMS_DATADIR)/$(THEME_SUBDIR)
 -      install bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
-+      ${LIBTOOL} ${INSTALL} libdspectogram.la $(INSTALL-DIR)
-+      ${BSD_INSTALL_DATA_DIR} $(XMMS_DATADIR)/$(THEME_SUBDIR)
-+      ${BSD_INSTALL_DATA} bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
++      ${LIBTOOL} ${INSTALL} libdspectogram.la ${DESTDIR}$(INSTALL-DIR)
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(XMMS_DATADIR)/$(THEME_SUBDIR)
++      ${BSD_INSTALL_DATA} bg_*.xpm ${DESTDIR}$(XMMS_DATADIR)/$(THEME_SUBDIR)
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dspectral/Makefile
--- a/audio/xmms-dspectral/Makefile     Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dspectral/Makefile     Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:29:00 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2009/07/08 15:05:52 joerg Exp $
 #
 
 DISTNAME=      dspectral-1.2
@@ -11,8 +11,12 @@
 HOMEPAGE=      http://hem.passagen.se/joakime/linuxapp.html
 COMMENT=       XMMS plugin for dual spectral analyzer
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LIBTOOL=           YES
 
+INSTALLATION_DIRS=     lib/xmms/Visualization
+
 pre-build:
        cd ${WRKSRC} ; ${MAKE} clean
 
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dspectral/distinfo
--- a/audio/xmms-dspectral/distinfo     Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dspectral/distinfo     Wed Jul 08 15:02:14 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 20:39:54 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/07/08 15:05:52 joerg Exp $
 
 SHA1 (dspectral-1.2.tar.gz) = da32adcdcfef1cc2e32e4d5013623be64922c430
 RMD160 (dspectral-1.2.tar.gz) = 7cdbdeadb8309d90ff1d42deb0704dc495b81728
 Size (dspectral-1.2.tar.gz) = 41866 bytes
-SHA1 (patch-aa) = ba20a05edbc3f1cccde8593933186bea2c37286f
+SHA1 (patch-aa) = 899b6e52c33b54df2d95c7c276a3b1c54fd44e31
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-dspectral/patches/patch-aa
--- a/audio/xmms-dspectral/patches/patch-aa     Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-dspectral/patches/patch-aa     Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/02/15 00:44:42 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/08 15:05:52 joerg Exp $
 
 --- Makefile.orig      Sat Jan 20 06:19:26 2001
 +++ Makefile
@@ -51,6 +51,6 @@
 -      install libdspectral.so $(INSTALL-DIR) 
 -      mkdir -p $(XMMS_DATADIR)/$(THEME_SUBDIR)
 -      install bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
-+      ${LIBTOOL} ${INSTALL} libdspectral.la $(INSTALL-DIR) 
-+      ${BSD_INSTALL_DATA_DIR} $(XMMS_DATADIR)/$(THEME_SUBDIR)
-+      ${BSD_INSTALL_DATA} bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
++      ${LIBTOOL} ${INSTALL} libdspectral.la ${DESTDIR}$(INSTALL-DIR) 
++      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(XMMS_DATADIR)/$(THEME_SUBDIR)
++      ${BSD_INSTALL_DATA} bg_*.xpm ${DESTDIR}$(XMMS_DATADIR)/$(THEME_SUBDIR)
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-flac/Makefile
--- a/audio/xmms-flac/Makefile  Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-flac/Makefile  Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/01/08 00:19:18 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2009/07/08 15:07:07 joerg Exp $
 #
 
 DISTNAME=      flac-1.1.3
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://flac.sourceforge.net/
 COMMENT=       FLAC XMMS plugin
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
 
@@ -35,10 +37,6 @@
 CFLAGS+=       -D__inline=inline
 .endif
 
-do-install:
-       cd ${XMMS_WRKSRC} && ${SETENV} ${MAKE_ENV} \
-               ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET}
-
 BUILDLINK_API_DEPENDS.flac+=   flac>=1.1.3nb1
 .include "../../audio/flac/buildlink3.mk"
 .include "../../audio/xmms/buildlink3.mk"
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-funtimedancer/Makefile
--- a/audio/xmms-funtimedancer/Makefile Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-funtimedancer/Makefile Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/05/25 21:42:20 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/07/08 15:02:15 joerg Exp $
 #
 
 DISTNAME=      FunTimeDancer-0.1
@@ -12,11 +12,15 @@
 HOMEPAGE=      http://sourceforge.net/projects/ftd/
 COMMENT=       XMMS plugin displaying an animation
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            pax
 
+INSTALLATION_DIRS=     lib/xmms/Visualization
+
 post-install:
        cd ${WRKDIR} && \
-               pax -rw -pp FunTimeDancer ${PREFIX}/lib/xmms/Visualization
+               pax -rw -pp FunTimeDancer ${DESTDIR}${PREFIX}/lib/xmms/Visualization
 
 .include "../../audio/xmms/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-funtimedancer/distinfo
--- a/audio/xmms-funtimedancer/distinfo Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-funtimedancer/distinfo Wed Jul 08 15:02:14 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 20:39:54 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/07/08 15:02:15 joerg Exp $
 
 SHA1 (FunTimeDancer-0.1.tar.gz) = 6cdd02209c647bfb6786f3ccff27de1194f54311
 RMD160 (FunTimeDancer-0.1.tar.gz) = 76b94a8f5f137cc1be9463eeb9bf5837f78e380e
@@ -6,5 +6,5 @@
 SHA1 (FunTimeDancer-packs-1.0.tar.gz) = 7392144570646f86e9138f285deaea5b8a9280fa
 RMD160 (FunTimeDancer-packs-1.0.tar.gz) = 16f416945be45d9b114f938bc7aad4214da93ce7
 Size (FunTimeDancer-packs-1.0.tar.gz) = 462063 bytes
-SHA1 (patch-aa) = c93ebd9093d91e37866640c2851b19e95c218e8b
+SHA1 (patch-aa) = 679a5adef39205a3901ccf48ef15a1394ad70a10
 SHA1 (patch-ab) = 503d9455434a3a411a873c9759978314c2e3312f
diff -r 941976b9afd5 -r 375de8d8784e audio/xmms-funtimedancer/patches/patch-aa
--- a/audio/xmms-funtimedancer/patches/patch-aa Wed Jul 08 15:02:01 2009 +0000
+++ b/audio/xmms-funtimedancer/patches/patch-aa Wed Jul 08 15:02:14 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/02/14 23:56:39 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/08 15:02:15 joerg Exp $
 
---- Makefile.orig      Mon Nov 27 08:21:21 2000
+--- Makefile.orig      2000-11-27 08:21:21.000000000 +0100
 +++ Makefile
-@@ -3,7 +3,7 @@
+@@ -3,13 +3,13 @@ LIB=libfuntimedancer.so
  all: $(LIB)
  
  libfuntimedancer.so: FunTimeDancer.c FunTimeDancer.h
@@ -11,3 +11,10 @@
  
  clean:
        rm -f *.o $(LIB)
+ 
+ install: $(LIB)
+-      cp $(LIB) `xmms-config --visualization-plugin-dir`
++      cp $(LIB) ${DESTDIR}`xmms-config --visualization-plugin-dir`
+ 
+ uninstall:
+       rm `xmms-config --visualization-plugin-dir`/$(LIB)



Home | Main Index | Thread Index | Old Index