summaryrefslogtreecommitdiff
path: root/audio/splay
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 16:49:05 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 16:49:05 +0000
commit0cf3c8581ca7973dc8f0ca611654a8c2f85fb075 (patch)
tree07085a113cc5be6e514f59072522119ee8e5f57c /audio/splay
parent97efb91df291bc6264269b65c141ea710991c8ca (diff)
downloadpkgsrc-0cf3c8581ca7973dc8f0ca611654a8c2f85fb075.tar.gz
user-destdir support
Diffstat (limited to 'audio/splay')
-rw-r--r--audio/splay/Makefile3
-rw-r--r--audio/splay/distinfo4
-rw-r--r--audio/splay/patches/patch-aj19
-rw-r--r--audio/splay/patches/patch-ak29
4 files changed, 53 insertions, 2 deletions
diff --git a/audio/splay/Makefile b/audio/splay/Makefile
index 8701c23ac41..814b892744a 100644
--- a/audio/splay/Makefile
+++ b/audio/splay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/07/22 05:54:52 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2009/07/07 16:49:05 joerg Exp $
#
DISTNAME= splay-0.8.2
@@ -10,6 +10,7 @@ HOMEPAGE= http://splay.sourceforge.net/
COMMENT= Audio player/decoder that decodes MPEG Layer I,II,III and WAV files
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
diff --git a/audio/splay/distinfo b/audio/splay/distinfo
index a971bcdfb22..6c7a785af1b 100644
--- a/audio/splay/distinfo
+++ b/audio/splay/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2007/08/08 21:11:20 joerg Exp $
+$NetBSD: distinfo,v 1.7 2009/07/07 16:49:05 joerg Exp $
SHA1 (splay-0.8.2.tar.gz) = 25288afa1b52bf25be8f9c4ceb44325c50fa00c8
RMD160 (splay-0.8.2.tar.gz) = f1a99ad9e7e70f5e0000aede05966cc5a0b36ad3
@@ -10,3 +10,5 @@ SHA1 (patch-ad) = 5d52e0878eb313a7d7684a6505daa4ece3add746
SHA1 (patch-ae) = 6b343541593d1d6ca8dd641ebb299a95d3bdc067
SHA1 (patch-af) = dfe6c6fba890fb0b413b6b73a42904d3ca6b7d66
SHA1 (patch-ai) = 9ac8c7aa7a7d341585e57dec4ddba4e285db7b34
+SHA1 (patch-aj) = 840793d18ed577dea15108a3c56d9a66e0a8e9e5
+SHA1 (patch-ak) = dd0b54d9323102d92add8cc0e4b020c37b70b615
diff --git a/audio/splay/patches/patch-aj b/audio/splay/patches/patch-aj
new file mode 100644
index 00000000000..97d84607b5f
--- /dev/null
+++ b/audio/splay/patches/patch-aj
@@ -0,0 +1,19 @@
+$NetBSD: patch-aj,v 1.1 2009/07/07 16:49:05 joerg Exp $
+
+--- src/splay/Makefile.in.orig 2009-07-07 18:43:05.000000000 +0200
++++ src/splay/Makefile.in
+@@ -118,11 +118,11 @@ maintainer-clean-binPROGRAMS:
+
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(bindir)
++ $(mkinstalldirs) ${DESTDIR}$(bindir)
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ if test -f $$p; then \
+- echo " $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
+- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
++ echo " $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`"; \
++ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
+ else :; fi; \
+ done
+
diff --git a/audio/splay/patches/patch-ak b/audio/splay/patches/patch-ak
new file mode 100644
index 00000000000..29fe7f4c64f
--- /dev/null
+++ b/audio/splay/patches/patch-ak
@@ -0,0 +1,29 @@
+$NetBSD: patch-ak,v 1.1 2009/07/07 16:49:05 joerg Exp $
+
+--- Makefile.in.orig 2009-07-07 18:46:23.000000000 +0200
++++ Makefile.in
+@@ -125,19 +125,19 @@ distclean-hdr:
+ maintainer-clean-hdr:
+ install-man: $(MANS)
+ $(NORMAL_INSTALL)
+- $(mkinstalldirs) $(mandir)/man1
++ $(mkinstalldirs) ${DESTDIR}$(mandir)/man1
+ @sect=1; \
+ inst=`echo "splay" | sed '$(transform)'`.1; \
+ if test -f $(srcdir)/splay.1; then file=$(srcdir)/splay.1; \
+ else file=splay.1; fi; \
+- echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
+- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
++ echo " $(INSTALL_DATA) $$file ${DESTDIR}$(mandir)/man$$sect/$$inst"; \
++ $(INSTALL_DATA) $$file ${DESTDIR}$(mandir)/man$$sect/$$inst
+ @sect=1; \
+ inst=`echo "xsplay" | sed '$(transform)'`.1; \
+ if test -f $(srcdir)/xsplay.1; then file=$(srcdir)/xsplay.1; \
+ else file=xsplay.1; fi; \
+- echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
+- $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
++ echo " $(INSTALL_DATA) $$file ${DESTDIR}$(mandir)/man$$sect/$$inst"; \
++ $(INSTALL_DATA) $$file ${DESTDIR}$(mandir)/man$$sect/$$inst
+
+ uninstall-man:
+ $(NORMAL_UNINSTALL)