pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio Mechanical changes to add full DESTDIR support t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/27e518799fe8
branches: trunk
changeset: 539239:27e518799fe8
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Mar 02 06:10:30 2008 +0000
description:
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
diffstat:
audio/abcde/Makefile | 18 +++++++++------
audio/abcmidi/Makefile | 31 ++++++++++++++++++---------
audio/amaroc/Makefile | 11 ++++++---
audio/amp/Makefile | 7 +++--
audio/applerecords/Makefile | 11 ++++++---
audio/cd-discid/Makefile | 13 +++++++----
audio/cdd/Makefile | 8 ++++--
audio/cmp3/Makefile | 16 +++++++++-----
audio/csound4-manual/Makefile | 13 +++++++----
audio/csound5-manual/Makefile | 6 +++-
audio/dap/Makefile | 8 ++++--
audio/darkice/Makefile | 21 +++++++++++-------
audio/disc-cover/Makefile | 15 ++++++++-----
audio/distmp3/Makefile | 18 +++++++++------
audio/espeak/Makefile | 23 +++++++++++++-------
audio/festival-doc/Makefile | 16 ++++++++------
audio/festival/Makefile | 43 +++++++++++++++++++++++++-------------
audio/festlex-cmu/Makefile | 8 ++++--
audio/festlex-oald/Makefile | 8 ++++--
audio/festlex-ogi/Makefile | 8 ++++--
audio/festlex-poslex/Makefile | 8 ++++--
audio/festogi-spanish/Makefile | 8 ++++--
audio/festvox-abc/Makefile | 8 ++++--
audio/festvox-aec/Makefile | 8 ++++--
audio/festvox-don/Makefile | 8 ++++--
audio/festvox-el11/Makefile | 8 ++++--
audio/festvox-en1/Makefile | 10 +++++---
audio/festvox-hvs/Makefile | 8 ++++--
audio/festvox-jph/Makefile | 8 ++++--
audio/festvox-kal16/Makefile | 8 ++++--
audio/festvox-kal8/Makefile | 8 ++++--
audio/festvox-ked16/Makefile | 8 ++++--
audio/festvox-ked8/Makefile | 8 ++++--
audio/festvox-mwm/Makefile | 8 ++++--
audio/festvox-ogirab/Makefile | 8 ++++--
audio/festvox-rab16/Makefile | 8 ++++--
audio/festvox-rab8/Makefile | 8 ++++--
audio/festvox-tll/Makefile | 8 ++++--
audio/festvox-us1/Makefile | 10 +++++---
audio/festvox-us2/Makefile | 10 +++++---
audio/festvox-us3/Makefile | 10 +++++---
audio/flac2mp3/Makefile | 5 ++-
audio/gnome-audio/Makefile | 16 ++++++++------
audio/gogo/Makefile | 10 +++++---
audio/gqmpeg-skins/Makefile | 12 ++++++----
audio/gramofile/Makefile | 11 ++++++---
audio/gtkmserv/Makefile | 8 ++++--
audio/ices-mp3/Makefile | 22 +++++++++++--------
audio/id3v2/Makefile | 12 ++++++----
audio/liveice/Makefile | 12 ++++++----
audio/madman/Makefile | 12 ++++++----
audio/mbrola/Makefile | 12 +++++++---
audio/mbrolavox-en1/Makefile | 8 ++++--
audio/mbrolavox-us1/Makefile | 8 ++++--
audio/mbrolavox-us2/Makefile | 8 ++++--
audio/mbrolavox-us3/Makefile | 8 ++++--
audio/mixer.app/Makefile | 9 ++++---
audio/mp32ogg/Makefile | 6 +++-
audio/mp3_check/Makefile | 6 +++-
audio/mp3check/Makefile | 8 ++++--
audio/mp3to/Makefile | 6 +++-
audio/mpg123-esound/Makefile | 10 ++++++--
audio/musicbox/Makefile | 11 ++++++---
audio/nosefart/Makefile | 6 +++-
audio/nspmod/Makefile | 7 +++--
audio/oggasm/Makefile | 8 ++++--
audio/qsynth/Makefile | 12 +++++++---
audio/qtplay/Makefile | 8 ++++--
audio/rio/Makefile | 13 +++++++----
audio/rip/Makefile | 10 +++++---
audio/spiralloops/Makefile | 6 +++-
audio/spiralsynth/Makefile | 10 +++++---
audio/tfmxplay/Makefile | 9 ++++---
audio/wavesurfer/Makefile | 9 +++++--
audio/wmusic/Makefile | 12 ++++++----
audio/xamp/Makefile | 23 ++++++++++++--------
audio/xine-arts/Makefile | 7 ++++-
audio/xine-esound/Makefile | 7 ++++-
audio/xmms-meta-input/Makefile | 17 +++++++++------
audio/xmms-meta-timidity/Makefile | 7 ++++-
audio/xmmsctrl/Makefile | 8 ++++--
audio/xsidplay/Makefile | 6 +++-
audio/xwave/Makefile | 13 +++++++----
83 files changed, 557 insertions(+), 339 deletions(-)
diffs (truncated from 2603 to 300 lines):
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/abcde/Makefile
--- a/audio/abcde/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/abcde/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2006/10/14 13:20:46 rillig Exp $
+# $NetBSD: Makefile,v 1.40 2008/03/02 06:10:30 jlam Exp $
DISTNAME= abcde_2.3.3.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@@ -16,6 +16,8 @@
DEPENDS+= cdparanoia>=3.0.9.7:../../audio/cdparanoia
DEPENDS+= wget>=1.7:../../net/wget
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
@@ -33,11 +35,13 @@
SUBST_SED.abcde= -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${EGDIR}
- ${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_MAN} ${WRKSRC}/abcde.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/abcmidi/Makefile
--- a/audio/abcmidi/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/abcmidi/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/12/19 13:48:20 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/02 06:10:30 jlam Exp $
#
DISTNAME= abcMIDI-${ABCMIDIVER}
@@ -15,24 +15,33 @@
ABCMIDIVER= 2006-04-22
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \
share/doc/abcmidi/programming share/examples/abcmidi
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} abc2abc abc2midi mftext \
- midi2abc midicopy yaps ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/demo.abc ${PREFIX}/share/examples/abcmidi/
+ midi2abc midicopy yaps ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/demo.abc \
+ ${DESTDIR}${PREFIX}/share/examples/abcmidi
cd ${WRKSRC}/doc && ${INSTALL_DATA} AUTHORS CHANGES \
abcguide.txt abcmatch.txt gpl.txt history.txt readme.txt \
- yapshelp.txt ${PREFIX}/share/doc/abcmidi/
+ yapshelp.txt ${DESTDIR}${PREFIX}/share/doc/abcmidi
cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} abc2midi.txt \
coding.txt midi2abc.txt split.abc yaps.txt \
- ${PREFIX}/share/doc/abcmidi/programming/
- ${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${DESTDIR}${PREFIX}/share/doc/abcmidi/programming
+ ${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/amaroc/Makefile
--- a/audio/amaroc/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/amaroc/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/02/20 19:08:45 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= amaroc-0.3
@@ -12,12 +12,15 @@
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin share/doc/amaroc
+
do-build:
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/amaroc.py ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amaroc
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/amaroc
+ ${INSTALL_SCRIPT} ${WRKSRC}/amaroc.py ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/amaroc
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/amaroc
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/amp/Makefile
--- a/audio/amp/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/amp/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/01/07 09:13:46 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= amp-0.7.6
@@ -16,13 +16,14 @@
NOT_FOR_PLATFORM= Interix-*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/amp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/amp.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/amp ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/amp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/applerecords/Makefile
--- a/audio/applerecords/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/applerecords/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/03/04 11:29:57 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= applerecords-0.5
@@ -11,6 +11,8 @@
HOMEPAGE= http://web.archive.org/web/20060501054520/http://www.cdavies.org/applerecords.html
COMMENT= Java DAAP client
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}
USE_JAVA= run
@@ -24,8 +26,9 @@
${SED} -e 's|@SH@|${SH}|g' -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/applerecords > ${WRKSRC}/applerecords
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/applerecords
- ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${PREFIX}/lib/applerecords/applerecords.jar
- ${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/applerecords
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
+ ${DESTDIR}${PREFIX}/lib/applerecords/applerecords.jar
+ ${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/cd-discid/Makefile
--- a/audio/cd-discid/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/cd-discid/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/14 13:11:23 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/02 06:10:31 jlam Exp $
DISTNAME= cd-discid_0.9.orig
PKGNAME= cd-discid-0.9
@@ -8,9 +8,11 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Read CD to obtain CDDB discid information
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+NOT_FOR_PLATFORM= Interix-*-*
-NOT_FOR_PLATFORM= Interix-*-*
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
@@ -18,7 +20,8 @@
cd ${WRKSRC} && ${CC} -O -o cd-discid cd-discid.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cd-discid ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/cd-discid.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/cd-discid ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cd-discid.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/cdd/Makefile
--- a/audio/cdd/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/cdd/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/05/11 10:07:58 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:31 jlam Exp $
DISTNAME= cdd-1.0nb3
CATEGORIES= audio
@@ -7,6 +7,8 @@
MAINTAINER= thorpej%NetBSD.org@localhost
COMMENT= Program for reading CD audio from SCSI/ATAPI CD-ROM drives
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if defined(CDDCPPFLAGS)
@@ -16,8 +18,8 @@
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cdd ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/stripzeros ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cdd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/stripzeros ${DESTDIR}${PREFIX}/bin
.include "../../devel/libscsi/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/cmp3/Makefile
--- a/audio/cmp3/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/cmp3/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/02/05 23:08:06 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= cmp3-2.0pre6
@@ -14,6 +14,8 @@
DEPENDS+= mpg123-[0-9]*:../../audio/mpg123
DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/cmp3-kenrevs
USE_TOOLS+= gmake
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
@@ -22,11 +24,13 @@
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/rnmp3 ${PREFIX}/bin
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cmp3
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cmp3
- ${INSTALL_DATA} ${WRKSRC}/cmp3rc ${PREFIX}/share/doc/cmp3/sample.cmp3rc
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/rnmp3 ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cmp3
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/cmp3
+ ${INSTALL_DATA} ${WRKSRC}/cmp3rc \
+ ${DESTDIR}${PREFIX}/share/doc/cmp3/sample.cmp3rc
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ed2e8d1f3578 -r 27e518799fe8 audio/csound4-manual/Makefile
--- a/audio/csound4-manual/Makefile Sun Mar 02 05:32:59 2008 +0000
+++ b/audio/csound4-manual/Makefile Sun Mar 02 06:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/06/03 22:04:42 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= manual-html-4.23
@@ -10,6 +10,8 @@
HOMEPAGE= http://www.csounds.com/
COMMENT= Csound4 Reference Manual
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
@@ -17,11 +19,12 @@
INSTALLATION_DIRS= share/doc/csound4 share/examples
do-install:
- cd ${WRKSRC}/csound-4.23/manual \
- && ${PAX} -rw -s '|.*/CVS/.*||' -s ',.*/CVS$$,,' * ${PREFIX}/share/doc/csound4
Home |
Main Index |
Thread Index |
Old Index