diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio | |
parent | 8e48fde97a437ad72ee0e0977aecc1023910f244 (diff) | |
download | pkgsrc-175fab70a3a2f3b0f348e8eb065240a97f4f7d61.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio')
83 files changed, 557 insertions, 339 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile index 66660fa1c8a..bd4358418a1 100644 --- a/audio/abcde/Makefile +++ b/audio/abcde/Makefile @@ -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+= id3v2-[0-9]*:../../audio/id3v2 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_FILES.abcde= abcde abcde.1 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 --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile index a52ebe8a25f..4e4ead56e87 100644 --- a/audio/abcmidi/Makefile +++ b/audio/abcmidi/Makefile @@ -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 @@ COMMENT= Music utilities for abc 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 --git a/audio/amaroc/Makefile b/audio/amaroc/Makefile index 4dadb517bd7..89ee58136f6 100644 --- a/audio/amaroc/Makefile +++ b/audio/amaroc/Makefile @@ -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 @@ COMMENT= Command line interface to amarok 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 --git a/audio/amp/Makefile b/audio/amp/Makefile index a5773933ae7..1da61c3ba0c 100644 --- a/audio/amp/Makefile +++ b/audio/amp/Makefile @@ -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 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL 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 --git a/audio/applerecords/Makefile b/audio/applerecords/Makefile index e2b82421cd9..1cd7af6e8be 100644 --- a/audio/applerecords/Makefile +++ b/audio/applerecords/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ do-extract: ${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 --git a/audio/cd-discid/Makefile b/audio/cd-discid/Makefile index b38b8de31cc..77e1988021b 100644 --- a/audio/cd-discid/Makefile +++ b/audio/cd-discid/Makefile @@ -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,17 +8,20 @@ MASTER_SITES= http://lly.org/~rcw/cd-discid/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Read CD to obtain CDDB discid information -WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} - NOT_FOR_PLATFORM= Interix-*-* +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-build: 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 --git a/audio/cdd/Makefile b/audio/cdd/Makefile index 75e2e95751b..abcc9f6f1da 100644 --- a/audio/cdd/Makefile +++ b/audio/cdd/Makefile @@ -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 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= thorpej@NetBSD.org 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 @@ MAKE_ENV+= CDDCPPFLAGS=${CDDCPPFLAGS:Q} 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 --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile index bb3c2caa7a7..ab6613c9696 100644 --- a/audio/cmp3/Makefile +++ b/audio/cmp3/Makefile @@ -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 @@ COMMENT= Curses based frontend to mpg123 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 @@ INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-H]*-* 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 --git a/audio/csound4-manual/Makefile b/audio/csound4-manual/Makefile index 4f28f474b91..2da704c903e 100644 --- a/audio/csound4-manual/Makefile +++ b/audio/csound4-manual/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ DIST_SUBDIR= ${PKGNAME_NOREV} 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 + cd ${WRKSRC}/csound-4.23/manual && \ + ${PAX} -rw -s '|.*/CVS/.*||' -s ',.*/CVS$$,,' * \ + ${DESTDIR}${PREFIX}/share/doc/csound4 cd ${FILESDIR} && ${INSTALL_DATA} rt-midi-input.* \ - ${PREFIX}/share/doc/csound4/examples + ${DESTDIR}${PREFIX}/share/doc/csound4/examples ${LN} -s ../../share/doc/csound4/examples \ - ${PREFIX}/share/examples/csound4 + ${DESTDIR}${PREFIX}/share/examples/csound4 .include "../../mk/bsd.pkg.mk" diff --git a/audio/csound5-manual/Makefile b/audio/csound5-manual/Makefile index 4e91cb55ddf..e8161c22da0 100644 --- a/audio/csound5-manual/Makefile +++ b/audio/csound5-manual/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/12/15 14:34:19 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= Csound${CSOUND_VERSION}_manual_html @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.csounds.com/ COMMENT= Csound5 Reference Manual +PKG_DESTDIR_SUPPORT= user-destdir + CSOUND_VERSION= 5.01 NO_BUILD= yes WRKSRC= ${WRKDIR}/html @@ -21,6 +23,6 @@ EXTRACT_OPTS_ZIP= -aqo INSTALLATION_DIRS+= share/doc/csound5 do-install: - cd ${WRKSRC} && ${PAX} -rw * ${PREFIX}/share/doc/csound5 + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${PREFIX}/share/doc/csound5 .include "../../mk/bsd.pkg.mk" diff --git a/audio/dap/Makefile b/audio/dap/Makefile index 13a18c94b0a..621eb388ccf 100644 --- a/audio/dap/Makefile +++ b/audio/dap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2007/03/24 21:02:18 adam Exp $ +# $NetBSD: Makefile,v 1.34 2008/03/02 06:10:31 jlam Exp $ DISTNAME= dap-2.1.5 CATEGORIES= audio @@ -9,15 +9,17 @@ MAINTAINER= scw@NetBSD.org HOMEPAGE= http://www.cee.hw.ac.uk/~richardk/ COMMENT= Digital audio recording and processing package +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ INSTALLATION_DIRS+= share/doc/dap MAKE_FILE= Makefile.netbsd MAKE_ENV+= X11PREFIX=${X11PREFIX:Q} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/main/DAP ${PREFIX}/bin/dap + ${INSTALL_PROGRAM} ${WRKSRC}/main/DAP ${DESTDIR}${PREFIX}/bin/dap ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/TODO ${WRKSRC}/COPYING \ - ${WRKSRC}/FEATURES ${PREFIX}/share/doc/dap + ${WRKSRC}/FEATURES ${DESTDIR}${PREFIX}/share/doc/dap .include "../../graphics/jpeg/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile index 9d1eb65df53..743c05b37d9 100644 --- a/audio/darkice/Makefile +++ b/audio/darkice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/12/02 13:04:06 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= darkice-0.17.1 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://darkice.tyrell.hu/ COMMENT= IceCast, IceCast2 and ShoutCast live audio streamer +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -29,14 +31,17 @@ CONF_FILES= ${EGDIR}/darkice.conf ${PKG_SYSCONFDIR}/darkice.conf INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 do-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${INSTALL_DATA} ${WRKSRC}/darkice.cfg ${EGDIR}/darkice.conf - ${INSTALL_PROGRAM} ${WRKSRC}/src/darkice ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/darkice.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/darkice.cfg \ + ${DESTDIR}${EGDIR}/darkice.conf + ${INSTALL_PROGRAM} ${WRKSRC}/src/darkice ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/darkice.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \ - ${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5 - cd ${WRKSRC}/doc/doxygen/html && ${INSTALL_DATA} *.html ${HTMLDIR} + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5 + cd ${WRKSRC}/doc/doxygen/html && ${INSTALL_DATA} *.html \ + ${DESTDIR}${HTMLDIR} .include "../../audio/faac/buildlink3.mk" .include "../../audio/lame/buildlink3.mk" diff --git a/audio/disc-cover/Makefile b/audio/disc-cover/Makefile index 346bbd47384..83f7dc73fef 100644 --- a/audio/disc-cover/Makefile +++ b/audio/disc-cover/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= disc-cover-1.5.6 @@ -11,10 +11,12 @@ COMMENT= Generation of CD covers DEPENDS+= p5-Audio-CD>=0.05:../../audio/p5-Audio-CD +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run pod2man REPLACE_PERL= disc-cover -DCTMPL= ${PREFIX}/share/disc-cover/templates +DCTMPL= ${PREFIX}/share/disc-cover/templates INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 @@ -24,9 +26,10 @@ do-build: >${WRKDIR}/disc-cover do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/disc-cover ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/disc-cover.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${DCTMPL} - ${INSTALL_DATA} ${WRKSRC}/templates/* ${DCTMPL} + ${INSTALL_SCRIPT} ${WRKDIR}/disc-cover ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/disc-cover.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${DCTMPL} + ${INSTALL_DATA} ${WRKSRC}/templates/* ${DESTDIR}${DCTMPL} .include "../../mk/bsd.pkg.mk" diff --git a/audio/distmp3/Makefile b/audio/distmp3/Makefile index 46a25be5b23..789e1eb067f 100644 --- a/audio/distmp3/Makefile +++ b/audio/distmp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/10/25 18:54:08 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= distmp3-0.1.9 @@ -9,6 +9,8 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= grant@NetBSD.org COMMENT= Distributed mp3 encoding across multiple hosts +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= # empty USE_TOOLS+= perl:run NO_BUILD= yes @@ -33,11 +35,13 @@ SUBST_SED.config+= -e 's,/usr/local,${PREFIX},' INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/distmp3 ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/distmp3host ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/distmp3.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/distmp3host.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/distmp3.conf ${EGDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/distmp3 ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/distmp3host ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/distmp3.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/distmp3host.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/distmp3.conf ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" diff --git a/audio/espeak/Makefile b/audio/espeak/Makefile index 4560aca9fc6..85614329627 100644 --- a/audio/espeak/Makefile +++ b/audio/espeak/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2008/02/28 20:16:55 drochner Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= espeak-1.31-source @@ -11,20 +11,27 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://espeak.sourceforge.net/ COMMENT= Speech synthesizer +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ USE_TOOLS+= gmake WRKSRC= ${WRKDIR}/espeak-1.31-source/src #LICENSE= GPLv3 +INSTALLATION_DIRS= bin include lib share + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/espeak ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/libespeak.so.1.1.31 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libespeak.so.1.1.31 ${PREFIX}/lib/libespeak.so.1 - ${LN} -sf ${PREFIX}/lib/libespeak.so.1.1.31 ${PREFIX}/lib/libespeak.so - ${INSTALL_DATA} ${WRKSRC}/libespeak.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/speak_lib.h ${PREFIX}/include - ${CP} -r ${WRKDIR}/espeak-1.31-source/espeak-data ${PREFIX}/share + ${INSTALL_PROGRAM} ${WRKSRC}/espeak ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libespeak.so.1.1.31 ${DESTDIR}${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/libespeak.so.1.1.31 \ + ${DESTDIR}${PREFIX}/lib/libespeak.so.1 + ${LN} -sf ${PREFIX}/lib/libespeak.so.1.1.31 \ + ${DESTDIR}${PREFIX}/lib/libespeak.so + ${INSTALL_DATA} ${WRKSRC}/libespeak.a ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/speak_lib.h ${DESTDIR}${PREFIX}/include + ${CP} -r ${WRKDIR}/espeak-1.31-source/espeak-data \ + ${DESTDIR}${PREFIX}/share .include "../../audio/portaudio/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" diff --git a/audio/festival-doc/Makefile b/audio/festival-doc/Makefile index 5ff13c7f0d7..4b13b1980e5 100644 --- a/audio/festival-doc/Makefile +++ b/audio/festival-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/06/08 18:33:05 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festdoc-1.4.0.1 PKGNAME= festival-doc-1.4.0.1 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cstr.ed.ac.uk/projects/festival/ COMMENT= Festival documentation, in (tex)info, html, dvi and ps formats +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes DOC= ${PREFIX}/share/doc/festival @@ -26,17 +28,17 @@ post-extract: ${RMDIR} ${WRKSRC}/festival/src-manual/images_gen do-install: - ${INSTALL_DATA_DIR} ${DOC} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOC} cd ${WRKSRC}; \ - ${PAX} -rw speechtools ${DOC}; \ + ${PAX} -rw speechtools ${DESTDIR}${DOC}; \ cd festival; \ for f in info/*.info info/*.info-[0-9]*; do \ - ${INSTALL_DATA} $${f} ${PREFIX}/${PKGINFODIR}; \ + ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${PKGINFODIR};\ done; \ - ${PAX} -rw user-manual ${DOC}; \ - ${PAX} -rw src-manual ${DOC}; \ + ${PAX} -rw user-manual ${DESTDIR}${DOC}; \ + ${PAX} -rw src-manual ${DESTDIR}${DOC}; \ for f in festival.* refcard.*; do \ - ${INSTALL_DATA} $${f} ${DOC}; \ + ${INSTALL_DATA} $${f} ${DESTDIR}${DOC}; \ done .include "../../mk/bsd.pkg.mk" diff --git a/audio/festival/Makefile b/audio/festival/Makefile index b2ca2023e85..f486c4432df 100644 --- a/audio/festival/Makefile +++ b/audio/festival/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2007/11/03 22:33:57 rillig Exp $ +# $NetBSD: Makefile,v 1.58 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festival-1.95-beta PKGNAME= festival-1.95beta @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cstr.ed.ac.uk/projects/festival/ COMMENT= Advanced multi-lingual speech synthesis system +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -86,25 +88,36 @@ post-patch: .endif do-install: - ${INSTALL_DATA_DIR} ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} ${CHMOD} -R u+w,a+r,og-w ${FESTIVAL}/lib ${FIND} ${FESTIVAL}/lib -type d -print | ${XARGS} ${CHMOD} 755 - -@${MV} ${FESTIVAL}/lib/etc/unknown_${OPSYS} ${FESTIVAL}/lib/etc/pkgsrc - cd ${FESTIVAL} && ${PAX} -rw lib examples ${FHOME} - ${RM} ${FHOME}/examples/Makefile.orig - ${RM} -f ${FHOME}/lib/etc/unknown_${OPSYS}/audsp ${FHOME}/lib/etc/pkgsrc/audsp - ${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/pkgsrc/audsp ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${PREFIX}/libexec/festival.naked - ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client ${PREFIX}/libexec/festival_client.naked + -@${MV} ${FESTIVAL}/lib/etc/unknown_${OPSYS} \ + ${FESTIVAL}/lib/etc/pkgsrc + cd ${FESTIVAL} && ${PAX} -rw lib examples ${DESTDIR}${FHOME} + ${RM} ${DESTDIR}${FHOME}/examples/Makefile.orig + ${RM} -f ${DESTDIR}${FHOME}/lib/etc/unknown_${OPSYS}/audsp \ + ${DESTDIR}${FHOME}/lib/etc/pkgsrc/audsp + ${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/pkgsrc/audsp \ + ${DESTDIR}${PREFIX}/libexec + ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival \ + ${DESTDIR}${PREFIX}/libexec/festival.naked + ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client \ + ${DESTDIR}${PREFIX}/libexec/festival_client.naked for n in festival.sh festival_client.sh sitevars.scm; do \ ${SED} "s%@PKG_FESTIVAL_LOCATION@%${FHOME}%; \ - s%@PKG_PREFIX@%${PREFIX}%" <${FILESDIR}/$$n > ${WRKDIR}/$$n ; \ + s%@PKG_PREFIX@%${PREFIX}%" < ${FILESDIR}/$$n \ + > ${WRKDIR}/$$n ; \ done - ${INSTALL_SCRIPT} ${WRKDIR}/festival.sh ${PREFIX}/bin/festival - ${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh ${PREFIX}/bin/festival_client - ${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${FHOME}/lib/sitevars.scm - ${INSTALL_MAN} ${FESTIVAL}/doc/festival.1 ${PREFIX}/${PKGMANDIR}/man1/festival.1 - ${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 ${PREFIX}/${PKGMANDIR}/man1/festival_client.1 + ${INSTALL_SCRIPT} ${WRKDIR}/festival.sh \ + ${DESTDIR}${PREFIX}/bin/festival + ${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh \ + ${DESTDIR}${PREFIX}/bin/festival_client + ${INSTALL_DATA} ${WRKDIR}/sitevars.scm \ + ${DESTDIR}${FHOME}/lib/sitevars.scm + ${INSTALL_MAN} ${FESTIVAL}/doc/festival.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/festival.1 + ${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/festival_client.1 .include "../../audio/nas/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/festlex-cmu/Makefile b/audio/festlex-cmu/Makefile index af882260f26..38d7ebbcbc3 100644 --- a/audio/festlex-cmu/Makefile +++ b/audio/festlex-cmu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/06/08 18:33:06 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festlex_CMU PKGNAME= festlex-cmu-1.4.0 @@ -12,6 +12,8 @@ COMMENT= CMU American English pronunciation dictionary for Festival DEPENDS+= festival>=1.4.0:../../audio/festival +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -22,7 +24,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festlex-oald/Makefile b/audio/festlex-oald/Makefile index ae3b94fd2a3..a19851da839 100644 --- a/audio/festlex-oald/Makefile +++ b/audio/festlex-oald/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/06/08 18:33:06 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festlex_OALD PKGNAME= festlex-oald-1.4.0 @@ -14,6 +14,8 @@ DEPENDS+= festival>=1.4.0:../../audio/festival LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -24,7 +26,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festlex-ogi/Makefile b/audio/festlex-ogi/Makefile index bb520b407cd..aec453a6ef0 100644 --- a/audio/festlex-ogi/Makefile +++ b/audio/festlex-ogi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:31 jlam Exp $ DISTNAME= OGIlexicon-2.0 PKGNAME= festlex-ogi-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-poslex>=1.4.0:../../audio/festlex-poslex LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -25,7 +27,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festlex-poslex/Makefile b/audio/festlex-poslex/Makefile index 79b4cf7adfe..067daa76482 100644 --- a/audio/festlex-poslex/Makefile +++ b/audio/festlex-poslex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/06/08 18:33:06 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festlex_POSLEX PKGNAME= festlex-poslex-1.4.0 @@ -12,6 +12,8 @@ COMMENT= English lexicon suitable for use with Festival DEPENDS+= festival>=1.4.0:../../audio/festival +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -22,7 +24,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festogi-spanish/Makefile b/audio/festogi-spanish/Makefile index a2593bc9504..4ffb10aa22a 100644 --- a/audio/festogi-spanish/Makefile +++ b/audio/festogi-spanish/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:31 jlam Exp $ DISTNAME= OGIspanish-2.0.1 PKGNAME= festogi-spanish-2.0.1 @@ -14,6 +14,8 @@ DEPENDS+= festival>=1.4.0:../../audio/festival LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -25,7 +27,7 @@ post-extract: ${RM} -r ${WRKSRC}/lib/ogi_spanish/CVS do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-abc/Makefile b/audio/festvox-abc/Makefile index 8e0acf489b9..f54539271ef 100644 --- a/audio/festvox-abc/Makefile +++ b/audio/festvox-abc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/02 06:10:31 jlam Exp $ DISTNAME= voice_abc_di-2.0 PKGNAME= festvox-abc-2.0 @@ -16,6 +16,8 @@ DEPENDS+= festogi-spanish>=2.0:../../audio/festogi-spanish LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -28,7 +30,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-aec/Makefile b/audio/festvox-aec/Makefile index 389addc001f..2c86b974166 100644 --- a/audio/festvox-aec/Makefile +++ b/audio/festvox-aec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:31 jlam Exp $ DISTNAME= voice_aec_di-2.0 PKGNAME= festvox-aec-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${PKGNAME_NOREV}nb1 WRKSRC= ${WRKDIR}/festival @@ -28,7 +30,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-don/Makefile b/audio/festvox-don/Makefile index 9e78b84915a..7abf2452cf6 100644 --- a/audio/festvox-don/Makefile +++ b/audio/festvox-don/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/06/08 18:33:06 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festvox_don PKGNAME= festvox-don-1.4.0 @@ -14,6 +14,8 @@ DEPENDS+= festival>=1.4.0:../../audio/festival DEPENDS+= festlex-poslex>=1.4.0:../../audio/festlex-poslex DEPENDS+= festlex-oald>=1.4.0:../../audio/festlex-oald +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -24,7 +26,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-el11/Makefile b/audio/festvox-el11/Makefile index 6e4cf76138c..658487e7b10 100644 --- a/audio/festvox-el11/Makefile +++ b/audio/festvox-el11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/06/08 18:33:08 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festvox_ellpc11k PKGNAME= festvox-el11-1.4.0 @@ -14,6 +14,8 @@ DEPENDS+= festival>=1.4.1:../../audio/festival LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -24,7 +26,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-en1/Makefile b/audio/festvox-en1/Makefile index 62e9905fefe..9ffc4d72f70 100644 --- a/audio/festvox-en1/Makefile +++ b/audio/festvox-en1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festvox_en1 PKGNAME= festvox-en1-1.4.0 @@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-en1-980910{,nb[0-9]*}:../../audio/mbrolavox-en1 LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -29,9 +31,9 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} #ugh - ${LN} -fs ../../../../../mbrola/voices/en1 ${MBROLA} - ${LN} -fs ../../../../../mbrola/voices/en1/en1mrpa ${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/en1 ${DESTDIR}${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/en1/en1mrpa ${DESTDIR}${MBROLA} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-hvs/Makefile b/audio/festvox-hvs/Makefile index 57872e564e4..3b4302f8ec3 100644 --- a/audio/festvox-hvs/Makefile +++ b/audio/festvox-hvs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:31 jlam Exp $ DISTNAME= voice_hvs_di-2.0 PKGNAME= festvox-hvs-2.0 @@ -16,6 +16,8 @@ DEPENDS+= festogi-spanish>=2.0:../../audio/festogi-spanish LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -27,7 +29,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-jph/Makefile b/audio/festvox-jph/Makefile index 13f5e254f9a..4a97c1a8c36 100644 --- a/audio/festvox-jph/Makefile +++ b/audio/festvox-jph/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:32 jlam Exp $ DISTNAME= voice_jph_di-2.0 PKGNAME= festvox-jph-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-kal16/Makefile b/audio/festvox-kal16/Makefile index 056b1c89970..6f10a204ce5 100644 --- a/audio/festvox-kal16/Makefile +++ b/audio/festvox-kal16/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_kallpc16k PKGNAME= festvox-kal16-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-cmu>=1.4.0:../../audio/festlex-cmu CONFLICTS= festvox-kal8-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-kal8/Makefile b/audio/festvox-kal8/Makefile index 9b4083541b7..1c10e42b52b 100644 --- a/audio/festvox-kal8/Makefile +++ b/audio/festvox-kal8/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_kallpc8k PKGNAME= festvox-kal8-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-cmu>=1.4.0:../../audio/festlex-cmu CONFLICTS= festvox-kal16-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-ked16/Makefile b/audio/festvox-ked16/Makefile index 8658f9176ef..c6137594433 100644 --- a/audio/festvox-ked16/Makefile +++ b/audio/festvox-ked16/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_kedlpc16k PKGNAME= festvox-ked16-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-cmu>=1.4.0:../../audio/festlex-cmu CONFLICTS= festvox-ked8-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-ked8/Makefile b/audio/festvox-ked8/Makefile index a609bf6d9f8..830970b81ca 100644 --- a/audio/festvox-ked8/Makefile +++ b/audio/festvox-ked8/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_kedlpc8k PKGNAME= festvox-ked8-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-cmu>=1.4.0:../../audio/festlex-cmu CONFLICTS= festvox-ked16-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-mwm/Makefile b/audio/festvox-mwm/Makefile index ccbacc7a8ae..5a7b1ae7e92 100644 --- a/audio/festvox-mwm/Makefile +++ b/audio/festvox-mwm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:52 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:32 jlam Exp $ DISTNAME= voice_mwm_di-2.0 PKGNAME= festvox-mwm-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-ogirab/Makefile b/audio/festvox-ogirab/Makefile index eda961dfac5..01dd7a2841d 100644 --- a/audio/festvox-ogirab/Makefile +++ b/audio/festvox-ogirab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:52 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:32 jlam Exp $ DISTNAME= voice_ogirab_di-2.0 PKGNAME= festvox-ogirab-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-rab16/Makefile b/audio/festvox-rab16/Makefile index 3644a94fc2a..105128e516f 100644 --- a/audio/festvox-rab16/Makefile +++ b/audio/festvox-rab16/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_rablpc16k PKGNAME= festvox-rab16-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-oald>=1.4.0:../../audio/festlex-oald CONFLICTS= festvox-rab8-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-rab8/Makefile b/audio/festvox-rab8/Makefile index 837318e8941..6068097e202 100644 --- a/audio/festvox-rab8/Makefile +++ b/audio/festvox-rab8/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_rablpc8k PKGNAME= festvox-rab8-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-oald>=1.4.0:../../audio/festlex-oald CONFLICTS= festvox-rab16-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: @ ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-tll/Makefile b/audio/festvox-tll/Makefile index 425b53b070e..f65b58d4b15 100644 --- a/audio/festvox-tll/Makefile +++ b/audio/festvox-tll/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:52 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:32 jlam Exp $ DISTNAME= voice_tll_di-2.0 PKGNAME= festvox-tll-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: - ${INSTALL_DATA_DIR} ${FHOME} - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-us1/Makefile b/audio/festvox-us1/Makefile index a12dcfaa1fb..c923ba700ab 100644 --- a/audio/festvox-us1/Makefile +++ b/audio/festvox-us1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_us1 PKGNAME= festvox-us1-1.4.0 @@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-us1-980512{,nb[0-9]*}:../../audio/mbrolavox-us1 LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -29,9 +31,9 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} #ugh - ${LN} -fs ../../../../../mbrola/voices/us1 ${MBROLA} - ${LN} -fs ../../../../../mbrola/voices/us1/us1mrpa ${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/us1 ${DESTDIR}${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/us1/us1mrpa ${DESTDIR}${MBROLA} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-us2/Makefile b/audio/festvox-us2/Makefile index b15fbe253f4..76018822ce8 100644 --- a/audio/festvox-us2/Makefile +++ b/audio/festvox-us2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_us2 PKGNAME= festvox-us2-1.4.0 @@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-us2-980812{,nb[0-9]*}:../../audio/mbrolavox-us2 LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -29,9 +31,9 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} #ugh - ${LN} -fs ../../../../../mbrola/voices/us2 ${MBROLA} - ${LN} -fs ../../../../../mbrola/voices/us2/us2mrpa ${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/us2 ${DESTDIR}${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/us2/us2mrpa ${DESTDIR}${MBROLA} .include "../../mk/bsd.pkg.mk" diff --git a/audio/festvox-us3/Makefile b/audio/festvox-us3/Makefile index 0656666324a..bd2648880bb 100644 --- a/audio/festvox-us3/Makefile +++ b/audio/festvox-us3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_us3 PKGNAME= festvox-us3-1.4.0 @@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-us3-990208{,nb[0-9]*}:../../audio/mbrolavox-us3 LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -29,9 +31,9 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - cd ${WRKSRC} && ${PAX} -rw * ${FHOME} + cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME} #ugh - ${LN} -fs ../../../../../mbrola/voices/us3 ${MBROLA} - ${LN} -fs ../../../../../mbrola/voices/us3/us3mrpa ${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/us3 ${DESTDIR}${MBROLA} + ${LN} -fs ../../../../../mbrola/voices/us3/us3mrpa ${DESTDIR}${MBROLA} .include "../../mk/bsd.pkg.mk" diff --git a/audio/flac2mp3/Makefile b/audio/flac2mp3/Makefile index d2fb9dd2d27..e50645a8d77 100644 --- a/audio/flac2mp3/Makefile +++ b/audio/flac2mp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/03/04 21:28:55 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/02 06:10:32 jlam Exp $ DISTNAME= flac2mp3 PKGNAME= flac2mp3-20041223 @@ -15,6 +15,7 @@ DEPENDS+= lame-[0-9]*:../../audio/lame DEPENDS+= p5-MP3-Info-[0-9]*:../../audio/p5-MP3-Info PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir REPLACE_PERL= flac2mp3.pl USE_TOOLS+= perl:run @@ -25,6 +26,6 @@ NO_BUILD= yes INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/flac2mp3.pl ${PREFIX}/bin/flac2mp3 + ${INSTALL_SCRIPT} ${WRKSRC}/flac2mp3.pl ${DESTDIR}${PREFIX}/bin/flac2mp3 .include "../../mk/bsd.pkg.mk" diff --git a/audio/gnome-audio/Makefile b/audio/gnome-audio/Makefile index 2b89bd99367..16c2440db29 100644 --- a/audio/gnome-audio/Makefile +++ b/audio/gnome-audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/01/26 18:28:24 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:32 jlam Exp $ # DISTNAME= gnome-audio-2.0.0 @@ -11,6 +11,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.gnome.org/ COMMENT= Set of audio files for GNOME +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= YES NO_BUILD= YES USE_DIRS+= xdg-1.1 @@ -18,12 +20,12 @@ USE_DIRS+= xdg-1.1 do-install: cd ${WRKSRC}/sounds && for f in *.wav */*.wav; do \ dst=`${DIRNAME} $$f`; \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/sounds/$$dst; \ - ${INSTALL_DATA} $$f ${PREFIX}/share/sounds/$$f; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/sounds/$$dst; \ + ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/sounds/$$f; \ done - ${RM} -f ${PREFIX}/share/sounds/login.wav - ${RM} -f ${PREFIX}/share/sounds/logout.wav - ${LN} -fs startup3.wav ${PREFIX}/share/sounds/login.wav - ${LN} -fs shutdown1.wav ${PREFIX}/share/sounds/logout.wav + ${RM} -f ${DESTDIR}${PREFIX}/share/sounds/login.wav + ${RM} -f ${DESTDIR}${PREFIX}/share/sounds/logout.wav + ${LN} -fs startup3.wav ${DESTDIR}${PREFIX}/share/sounds/login.wav + ${LN} -fs shutdown1.wav ${DESTDIR}${PREFIX}/share/sounds/logout.wav .include "../../mk/bsd.pkg.mk" diff --git a/audio/gogo/Makefile b/audio/gogo/Makefile index d8df9de816b..eeda9c79b00 100644 --- a/audio/gogo/Makefile +++ b/audio/gogo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/05/19 16:18:52 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:32 jlam Exp $ # DISTNAME= gogo239b @@ -16,6 +16,8 @@ BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm ONLY_FOR_PLATFORM= *-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake RESTRICTED= Source based on patent protected Fraunhofer code @@ -34,8 +36,8 @@ MAKE_FLAGS+= ASFLAGS="-f elf -D__unix__ ${E3DN}" INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gogo - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/gogo + ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gogo + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/gogo .include "../../mk/bsd.pkg.mk" diff --git a/audio/gqmpeg-skins/Makefile b/audio/gqmpeg-skins/Makefile index 29f9446c923..369cda0cf17 100644 --- a/audio/gqmpeg-skins/Makefile +++ b/audio/gqmpeg-skins/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/10/17 21:45:14 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:32 jlam Exp $ DISTNAME= gqmpeg-skins-20030712 PKGREVISION= 4 @@ -80,6 +80,8 @@ COMMENT= Skins for gqmpeg DEPENDS+= gqmpeg-[0-9]*:../../audio/gqmpeg +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= gqmpeg-skins WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -91,14 +93,14 @@ INSTALLATION_DIRS= share/gqmpeg/skins do-install: for i in ${DISTFILES} ; do \ ${ECHO} unpacking $$i ; \ - ${CAT} ${DISTDIR}/${DIST_SUBDIR}/$$i | ( cd ${PREFIX}/share/gqmpeg/skins ; \ + ${CAT} ${DISTDIR}/${DIST_SUBDIR}/$$i | ( cd ${DESTDIR}${PREFIX}/share/gqmpeg/skins ; \ ${GTAR} -zxf - ) ; \ done - ${FIND} ${PREFIX}/share/gqmpeg/skins -type d -print | \ + ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -type d -print | \ ${XARGS} ${CHMOD} 755 - ${FIND} ${PREFIX}/share/gqmpeg/skins -type f -print | \ + ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -type f -print | \ ${XARGS} ${CHMOD} 644 - ${FIND} ${PREFIX}/share/gqmpeg/skins -name "*~" -print | \ + ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -name "*~" -print | \ ${XARGS} ${RM} .include "../../mk/bsd.pkg.mk" diff --git a/audio/gramofile/Makefile b/audio/gramofile/Makefile index a51d69bda36..657ad4319b0 100644 --- a/audio/gramofile/Makefile +++ b/audio/gramofile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/04/22 09:22:05 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:32 jlam Exp $ # DISTNAME= gramofile-1.6 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.opensourcepartners.nl/~costar/gramofile/ COMMENT= Tool for ripping audio from vinyl PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir BUILD_TARGET= gramofile makebplay @@ -19,9 +20,11 @@ USE_TOOLS+= gmake INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${PREFIX}/bin/gramofile - ${INSTALL_PROGRAM} ${WRKSRC}/bplaysrc/bplay ${PREFIX}/bin/bplay_gramo - cd ${PREFIX}/bin && ${LN} -s bplay_gramo brec_gramo + ${INSTALL_PROGRAM} ${WRKSRC}/gramofile \ + ${DESTDIR}${PREFIX}/bin/gramofile + ${INSTALL_PROGRAM} ${WRKSRC}/bplaysrc/bplay \ + ${DESTDIR}${PREFIX}/bin/bplay_gramo + cd ${DESTDIR}${PREFIX}/bin && ${LN} -s bplay_gramo brec_gramo SUBST_CLASSES+= snd SUBST_STAGE.snd= post-patch diff --git a/audio/gtkmserv/Makefile b/audio/gtkmserv/Makefile index 09be479899b..1dab7b60741 100644 --- a/audio/gtkmserv/Makefile +++ b/audio/gtkmserv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/03/04 21:28:56 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= gtkmserv-0.5.2 @@ -10,13 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://projects.ubertechnique.com/index.html COMMENT= Gtk-based GUI client for the audio/mserv package -WRKSRC= ${WRKDIR}/${DISTNAME}/src +PKG_DESTDIR_SUPPORt= user-destdir + +WRKSRC= ${WRKDIR}/${DISTNAME}/src GNU_CONFIGURE= YES INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gtkMserv ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/gtkMserv ${DESTDIR}${PREFIX}/bin .include "../../x11/gtk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/ices-mp3/Makefile b/audio/ices-mp3/Makefile index abceb0c7576..d63c648c625 100644 --- a/audio/ices-mp3/Makefile +++ b/audio/ices-mp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/01/13 09:34:59 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= ices-${ICES_VERSION} @@ -12,6 +12,8 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://www.icecast.org/ices.php COMMENT= Source client for a streaming server +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= automake USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -38,20 +40,22 @@ pre-configure: cd ${WRKSRC} && autoreconf --force do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/ices ${PREFIX}/bin/${PKGBASE} - ${INSTALL_MAN} ${WRKSRC}/doc/ices.1 ${PREFIX}/${PKGMANDIR}/man1/${PKGBASE}.1 - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/icesmanual.html ${DOCDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/ices \ + ${DESTDIR}${PREFIX}/bin/${PKGBASE} + ${INSTALL_MAN} ${WRKSRC}/doc/ices.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${PKGBASE}.1 + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/icesmanual.html ${DESTDIR}${DOCDIR} for i in AUTHORS BUGS COPYING NEWS README README.playlist TODO ; \ do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}/$$i ; \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${DOCDIR}/$$i ; \ done - ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} for i in ices.conf.dist ices.pm.dist ices.py.dist ; \ do \ - ${INSTALL_DATA} ${WRKSRC}/conf/$$i ${EGDIR}/$$i ; \ + ${INSTALL_DATA} ${WRKSRC}/conf/$$i ${DESTDIR}${EGDIR}/$$i ; \ done - ${INSTALL_DATA_DIR} ${MODDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${MODDIR} # does not support flac-1.1.3 API #.include "../../audio/flac/buildlink3.mk" diff --git a/audio/id3v2/Makefile b/audio/id3v2/Makefile index fa660ad6c37..4b871be1af0 100644 --- a/audio/id3v2/Makefile +++ b/audio/id3v2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/10/14 13:15:18 rillig Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:33 jlam Exp $ DISTNAME= id3v2-0.1.11 PKGREVISION= 2 @@ -10,6 +10,7 @@ HOMEPAGE= http://id3v2.sourceforge.net/ COMMENT= Command line editor for id3v2 tags PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c++ USE_TOOLS+= gmake @@ -17,10 +18,11 @@ USE_TOOLS+= gmake INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/id3v2 ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/id3v2.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/id3v2 - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/id3v2/README + ${INSTALL_PROGRAM} ${WRKSRC}/id3v2 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/id3v2.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/id3v2 + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/id3v2/README .include "../../converters/libiconv/buildlink3.mk" .include "../../audio/id3lib/buildlink3.mk" diff --git a/audio/liveice/Makefile b/audio/liveice/Makefile index fded23b135e..c99a5702cf3 100644 --- a/audio/liveice/Makefile +++ b/audio/liveice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/06/17 10:46:45 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= liveice @@ -15,6 +15,8 @@ DEPENDS+= mpg123-0.5*:../../audio/mpg123 DEPENDS+= lame-3.*:../../audio/lame DEPENDS+= tk>=8.0:../../x11/tk +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES DIST_SUBDIR= liveice-0.20001121 LIBS+= ${LIBOSSAUDIO} @@ -27,12 +29,12 @@ REPLACE.wish.new= ${LOCALBASE}/bin/wish REPLACE_FILES.wish= liveiceconfigure.tk do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/liveice ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/liveiceconfigure.tk ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/liveice + ${INSTALL_PROGRAM} ${WRKSRC}/liveice ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/liveiceconfigure.tk ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/liveice .for f in README.frontend README.liveice README.quickstart \ README.xingmp3enc README_new_mixer.txt - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/liveice + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/liveice .endfor .include "../../mk/oss.buildlink3.mk" diff --git a/audio/madman/Makefile b/audio/madman/Makefile index c7afedb955c..0c0605f1f5a 100644 --- a/audio/madman/Makefile +++ b/audio/madman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/09/19 20:59:30 rillig Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:33 jlam Exp $ DISTNAME= madman-0.93 PKGREVISION= 7 @@ -11,6 +11,8 @@ COMMENT= Powerful audio manager for large collections BUILD_DEPENDS+= scons>=0.96:../../devel/scons +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ GCC_REQD+= 3.0 @@ -30,11 +32,11 @@ do-build: qt_directory=${QTDIR} add_c_include_dirs=${LOCALBASE}/include add_c_lib_dirs=${WRKDIR}/lib do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/lib/madman - ${INSTALL_DATA_DIR} ${PREFIX}/lib/madman/plugins + ${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/madman + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/madman/plugins for plugin in burn_to_audio_cd burn_to_data_cd export_m3u move_to_trash; do \ - ${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${PREFIX}/lib/madman/plugins; \ + ${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${DESTDIR}${PREFIX}/lib/madman/plugins; \ done .include "../../x11/qt3-libs/buildlink3.mk" diff --git a/audio/mbrola/Makefile b/audio/mbrola/Makefile index c983dae15b4..6bbe7c8ffef 100644 --- a/audio/mbrola/Makefile +++ b/audio/mbrola/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/08/23 19:28:56 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:33 jlam Exp $ DISTNAME= mbr301h PKGNAME= mbrola-301h @@ -13,6 +13,8 @@ COMMENT= MBROLA diphone synthesizer executable LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} DIST_SUBDIR= mbrola-20010717 BUILD_DIRS= # empty @@ -24,8 +26,10 @@ EMUL_MODULES.netbsd= base INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mbrola-netbsd-i386 ${PREFIX}/bin/mbrola - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mbrola - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/mbrola + ${INSTALL_PROGRAM} ${WRKSRC}/mbrola-netbsd-i386 \ + ${DESTDIR}${PREFIX}/bin/mbrola + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mbrola + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/mbrola .include "../../mk/bsd.pkg.mk" diff --git a/audio/mbrolavox-en1/Makefile b/audio/mbrolavox-en1/Makefile index 7e804f11bff..a54d435fb20 100644 --- a/audio/mbrolavox-en1/Makefile +++ b/audio/mbrolavox-en1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:33 jlam Exp $ DISTNAME= en1-980910 PKGNAME= mbrolavox-en1-980910 @@ -16,6 +16,8 @@ DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${MHOME} - cd ${WRKSRC} && ${PAX} -rw en1 ${MHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME} + cd ${WRKSRC} && ${PAX} -rw en1 ${DESTDIR}${MHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/mbrolavox-us1/Makefile b/audio/mbrolavox-us1/Makefile index f4e7ad302bb..6122aff2613 100644 --- a/audio/mbrolavox-us1/Makefile +++ b/audio/mbrolavox-us1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:33 jlam Exp $ DISTNAME= us1-980512 PKGNAME= mbrolavox-us1-980512 @@ -16,6 +16,8 @@ DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${MHOME} - cd ${WRKSRC} && ${PAX} -rw us1 ${MHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME} + cd ${WRKSRC} && ${PAX} -rw us1 ${DESTDIR}${MHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/mbrolavox-us2/Makefile b/audio/mbrolavox-us2/Makefile index ab581f65eac..409ff07b07e 100644 --- a/audio/mbrolavox-us2/Makefile +++ b/audio/mbrolavox-us2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:33 jlam Exp $ DISTNAME= us2-980812 PKGNAME= mbrolavox-${DISTNAME} @@ -16,6 +16,8 @@ DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${MHOME} - cd ${WRKSRC} && ${PAX} -rw us2 ${MHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME} + cd ${WRKSRC} && ${PAX} -rw us2 ${DESTDIR}${MHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/mbrolavox-us3/Makefile b/audio/mbrolavox-us3/Makefile index 5688923a721..c4b1603447f 100644 --- a/audio/mbrolavox-us3/Makefile +++ b/audio/mbrolavox-us3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:33 jlam Exp $ DISTNAME= us3-990208 PKGNAME= mbrolavox-${DISTNAME} @@ -16,6 +16,8 @@ DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${MHOME} - cd ${WRKSRC} && ${PAX} -rw us3 ${MHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME} + cd ${WRKSRC} && ${PAX} -rw us3 ${DESTDIR}${MHOME} .include "../../mk/bsd.pkg.mk" diff --git a/audio/mixer.app/Makefile b/audio/mixer.app/Makefile index eef573de614..042044320c3 100644 --- a/audio/mixer.app/Makefile +++ b/audio/mixer.app/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/12/27 13:37:35 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= Mixer.app-1.8.0 @@ -15,15 +15,16 @@ COMMENT= Another mixer intended for the windowmaker dockapp NOT_FOR_PLATFORM= Interix-*-* PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c++ INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Mixer.app ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Mixer.app - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Mixer.app + ${INSTALL_PROGRAM} ${WRKSRC}/Mixer.app ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Mixer.app + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Mixer.app .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile index d127deb8ea8..81bd6681a0b 100644 --- a/audio/mp32ogg/Makefile +++ b/audio/mp32ogg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/10/04 20:44:19 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $ DISTNAME= mp32ogg-0.11 PKGREVISION= 3 @@ -15,6 +15,8 @@ DEPENDS+= vorbis-tools>=1.0.0.7:../../audio/vorbis-tools DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info DEPENDS+= p5-String-ShellQuote>=1.00:../../textproc/p5-String-ShellQuote +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty NO_BUILD= yes @@ -28,6 +30,6 @@ do-extract: ${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp32ogg + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/mp32ogg .include "../../mk/bsd.pkg.mk" diff --git a/audio/mp3_check/Makefile b/audio/mp3_check/Makefile index 6e2c24d5922..694665f6b34 100644 --- a/audio/mp3_check/Makefile +++ b/audio/mp3_check/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/03/04 21:28:57 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= mp3_check-1.98 @@ -9,9 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://mp3check.sourceforge.net/ COMMENT= mp3 file checker +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mp3_check ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mp3_check ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/audio/mp3check/Makefile b/audio/mp3check/Makefile index a89d795c092..090f74b0c27 100644 --- a/audio/mp3check/Makefile +++ b/audio/mp3check/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/08/31 10:37:36 drochner Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $ DISTNAME= mp3check-0.8.3 CATEGORIES= audio @@ -8,6 +8,8 @@ MAINTAINER= tron@NetBSD.org HOMEPAGE= http://jo.ath.cx/soft/mp3check/ COMMENT= Check MP3 files for consistency +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES= c c++ @@ -16,7 +18,7 @@ BUILD_TARGET= mp3check INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mp3check ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/mp3check.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/mp3check ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/mp3check.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" diff --git a/audio/mp3to/Makefile b/audio/mp3to/Makefile index cc12ec4559b..a46f144ceb1 100644 --- a/audio/mp3to/Makefile +++ b/audio/mp3to/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/05/19 16:18:53 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:33 jlam Exp $ DISTNAME= mp3to PKGNAME= ${DISTNAME}-1.0.1 @@ -16,6 +16,8 @@ DEPENDS+= mpg123-[0-9]*:../../audio/mpg123 DEPENDS+= gmp3info>=0.8.2:../../audio/gmp3info DEPENDS+= sox>=12.17.1:../../audio/sox +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= YES INSTALLATION_DIRS= bin @@ -25,6 +27,6 @@ do-extract: ${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/audio/mpg123-esound/Makefile b/audio/mpg123-esound/Makefile index aa6f6dc1863..00eae5e1b97 100644 --- a/audio/mpg123-esound/Makefile +++ b/audio/mpg123-esound/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:33 jlam Exp $ PKGNAME= mpg123-esound-${MPG123_VERSION} PKGREVISION= 7 @@ -6,6 +6,8 @@ COMMENT= Command-line player for mpeg layer 1, 2 and 3 audio with EsounD MAINTAINER= pkgsrc-users@NetBSD.org +PKG_DESTDIR_SUPPORT= user-destdir + TARGET_SUFFIX= -esd PKG_OPTIONS_VAR=PKG_OPTIONS.mpg123-esound @@ -14,8 +16,10 @@ PKG_OPTIONS_VAR=PKG_OPTIONS.mpg123-esound INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mpg123 ${PREFIX}/bin/mpg123-esound - ${INSTALL_MAN} ${WRKSRC}/mpg123.1 ${PREFIX}/${PKGMANDIR}/man1/mpg123-esound.1 + ${INSTALL_PROGRAM} ${WRKSRC}/mpg123 \ + ${DESTDIR}${PREFIX}/bin/mpg123-esound + ${INSTALL_MAN} ${WRKSRC}/mpg123.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mpg123-esound.1 .include "../../audio/esound/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/musicbox/Makefile b/audio/musicbox/Makefile index 559224d6cae..0a23ae033c8 100644 --- a/audio/musicbox/Makefile +++ b/audio/musicbox/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2006/10/04 20:44:19 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2008/03/02 06:10:33 jlam Exp $ DISTNAME= musicbox-1.01p2 PKGREVISION= 1 @@ -11,6 +11,8 @@ COMMENT= X11 front-interface for mpg123 DEPENDS+= mpg123>=0.59.18:../../audio/mpg123 +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ WRKSRC= ${WRKDIR}/musicbox-1.01 @@ -20,9 +22,10 @@ MAKE_ENV+= QT1DIR=${QT1DIR:Q} INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/musicbox ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/musicbox - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/musicbox/README + ${INSTALL_PROGRAM} ${WRKSRC}/musicbox ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/musicbox + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/musicbox/README .include "../../x11/qt1/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" diff --git a/audio/nosefart/Makefile b/audio/nosefart/Makefile index eaf2ab4c170..e694890aacf 100644 --- a/audio/nosefart/Makefile +++ b/audio/nosefart/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/04/22 09:22:06 rillig Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $ DISTNAME= nosefart-2.3-mls PKGNAME= ${DISTNAME:S/-mls//} @@ -13,6 +13,8 @@ COMMENT= Player for NES Sound Format (NSF) files NOT_FOR_PLATFORM= Interix-*-* +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake NO_CONFIGURE= YES @@ -25,7 +27,7 @@ SUBST_SED.ossaudio= -e 's|/dev/dsp|${DEVOSSSOUND}|' INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/nosefart ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/nosefart ${DESTDIR}${PREFIX}/bin .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/nspmod/Makefile b/audio/nspmod/Makefile index 07263b1710f..656e16a6601 100644 --- a/audio/nspmod/Makefile +++ b/audio/nspmod/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= nspmod-0.1 @@ -12,11 +12,12 @@ COMMENT= MOD/S3M/MTM tracker that does its own DSP, uses VoxWare v2.90+ NOT_FOR_PLATFORM= Interix-*-* PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nspmod ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/nspmod.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/nspmod ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nspmod.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" diff --git a/audio/oggasm/Makefile b/audio/oggasm/Makefile index 901ec4f10ad..d581bab8890 100644 --- a/audio/oggasm/Makefile +++ b/audio/oggasm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= oggasm_1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= mpg123>=0.59.18:../../audio/mpg123 DEPENDS+= vorbis-tools>=1.0.0.7:../../audio/vorbis-tools DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= perl:run REPLACE_PERL= oggasm @@ -25,7 +27,7 @@ NO_BUILD= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/oggasm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/oggasm.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/oggasm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/oggasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile index 63774bda95e..56439ab063d 100644 --- a/audio/qsynth/Makefile +++ b/audio/qsynth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/05/28 11:56:04 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:33 jlam Exp $ DISTNAME= qsynth-0.2.4 PKGREVISION= 4 @@ -10,6 +10,7 @@ HOMEPAGE= http://qsynth.sourceforge.net/ COMMENT= Qt GUI Interface to FluidSynth PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c c++ USE_LIBTOOL= yes @@ -24,10 +25,13 @@ SUBST_MESSAGE.hints= Fix includehints. SUBST_FILES.hints= src/*.ui SUBST_FILTER_CMD.hints= ${GREP} -v includehint +INSTALLATION_DIRS= bin + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qsynth ${PREFIX}/bin/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/ - ${INSTALL_DATA} ${WRKSRC}/icons/qsynth.png ${PREFIX}/share/icons/ + ${INSTALL_PROGRAM} ${WRKSRC}/qsynth ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons + ${INSTALL_DATA} ${WRKSRC}/icons/qsynth.png \ + ${DESTDIR}${PREFIX}/share/icons .include "../../audio/fluidsynth/buildlink3.mk" .include "../../x11/qt3-tools/buildlink3.mk" diff --git a/audio/qtplay/Makefile b/audio/qtplay/Makefile index 9075ac0b1a1..ca3f438abde 100644 --- a/audio/qtplay/Makefile +++ b/audio/qtplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/05/13 13:13:41 schmonz Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= qtplay1.3.1 @@ -12,6 +12,8 @@ COMMENT= QuickTime command-line player ONLY_FOR_PLATFORM= Darwin-*-* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 @@ -24,7 +26,7 @@ do-build: cc -o ${PKGBASE} -framework Carbon -framework QuickTime ${CFLAGS} ${CPPFLAGS} qtplay.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qtplay ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/qtplay.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/qtplay ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/qtplay.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" diff --git a/audio/rio/Makefile b/audio/rio/Makefile index f5879086d19..2ac9ad4d622 100644 --- a/audio/rio/Makefile +++ b/audio/rio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/06/15 15:13:34 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= rio007 @@ -13,6 +13,8 @@ COMMENT= Utility to display and manage files on the Diamond Rio PMP300 ONLY_FOR_PLATFORM= NetBSD-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/rio107 MAKE_FILE= makefile USE_LANGUAGES= c++ @@ -26,9 +28,10 @@ do-build: ${SED} ${FILES_SUBST_SED} ${FILESDIR}/find-lpt-port > ${WRKSRC}/find-lpt-port.sh do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rio ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/rio - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/rio - ${INSTALL_SCRIPT} ${WRKSRC}/find-lpt-port.sh ${PREFIX}/bin/find-lpt-port + ${INSTALL_PROGRAM} ${WRKSRC}/rio ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/rio + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/rio + ${INSTALL_SCRIPT} ${WRKSRC}/find-lpt-port.sh \ + ${DESTDIR}${PREFIX}/bin/find-lpt-port .include "../../mk/bsd.pkg.mk" diff --git a/audio/rip/Makefile b/audio/rip/Makefile index 877695ae4d6..8f0f77318e3 100644 --- a/audio/rip/Makefile +++ b/audio/rip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:28:58 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= rip-1.07 @@ -12,6 +12,8 @@ COMMENT= Command-line based audio CD ripper and encoder DEPENDS+= p5-CDDB_get>=2.23:../../audio/p5-CDDB_get DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes USE_TOOLS+= perl:run REPLACE_PERL= rip @@ -22,10 +24,10 @@ DOCDIR= ${PREFIX}/share/doc/rip INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/rip ${PREFIX}/bin/rip - ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/rip ${DESTDIR}${PREFIX}/bin/rip + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} for i in ${DOCFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${DOCDIR}; \ done .include "../../mk/bsd.pkg.mk" diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile index a3ba440ff59..9a772817e42 100644 --- a/audio/spiralloops/Makefile +++ b/audio/spiralloops/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2006/12/15 14:34:19 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= SpiralLoops-2.0.0 @@ -16,6 +16,8 @@ ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \ *-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \ *-*-vax +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= gmake GNU_CONFIGURE= yes @@ -26,7 +28,7 @@ CXXFLAGS+= -DFLTK_1_0_COMPAT INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${DESTDIR}${PREFIX}/bin .include "../../x11/fltk/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile index 778511ffd3d..9478167ef7a 100644 --- a/audio/spiralsynth/Makefile +++ b/audio/spiralsynth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2006/12/15 14:34:19 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= SpiralSynth-2.0.0 @@ -16,6 +16,8 @@ ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \ *-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \ *-*-vax +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= gmake GNU_CONFIGURE= yes @@ -25,10 +27,10 @@ CXXFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/spiralsynth + ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/spiralsynth ${INSTALL_DATA} ${WRKSRC}/.SpiralPatches.bank \ - ${WRKSRC}/.Spiralrc ${PREFIX}/share/spiralsynth + ${WRKSRC}/.Spiralrc ${DESTDIR}${PREFIX}/share/spiralsynth .include "../../x11/fltk/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" diff --git a/audio/tfmxplay/Makefile b/audio/tfmxplay/Makefile index cb04a6446ff..995717a2d85 100644 --- a/audio/tfmxplay/Makefile +++ b/audio/tfmxplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/03/09 21:04:41 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= tfmxplay-0.6 @@ -13,13 +13,14 @@ COMMENT= Console TFMX (amiga games sound file format) player NOT_FOR_PLATFORM= Interix-*-* PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tfmx-play ${PREFIX}/bin/tfmxplay - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tfmxplay - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tfmxplay/ + ${INSTALL_PROGRAM} ${WRKSRC}/tfmx-play ${DESTDIR}${PREFIX}/bin/tfmxplay + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tfmxplay + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tfmxplay .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/wavesurfer/Makefile b/audio/wavesurfer/Makefile index c57395d4d7a..be452a3b393 100644 --- a/audio/wavesurfer/Makefile +++ b/audio/wavesurfer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/05/28 07:38:26 gson Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:34 jlam Exp $ DISTNAME= wavesurfer-1.8.5 CATEGORIES= audio @@ -11,6 +11,8 @@ COMMENT= Tool for sound visualization and manipulation DEPENDS+= tcl-snack-[0-9]*:../../audio/tcl-snack DEPENDS+= tk-[0-9]*:../../x11/tk +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes NO_BUILD= yes USE_LANGUAGES= # empty @@ -24,7 +26,8 @@ SUBST_SED.wish= -e 's,wish8.4,wish,g' INSTALLATION_DIRS= bin lib do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/wavesurfer.tcl ${PREFIX}/bin/wavesurfer - cd ${WRKSRC} && pax -wr -pm wsurf1.8 ${PREFIX}/lib/ + ${INSTALL_SCRIPT} ${WRKSRC}/wavesurfer.tcl \ + ${DESTDIR}${PREFIX}/bin/wavesurfer + cd ${WRKSRC} && pax -wr -pm wsurf1.8 ${DESTDIR}${PREFIX}/lib .include "../../mk/bsd.pkg.mk" diff --git a/audio/wmusic/Makefile b/audio/wmusic/Makefile index 3a63d3742bb..25f569d07ea 100644 --- a/audio/wmusic/Makefile +++ b/audio/wmusic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/01/15 16:36:47 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:34 jlam Exp $ DISTNAME= wmusic-1.5.0 PKGREVISION= 2 @@ -9,16 +9,18 @@ MAINTAINER= joel@carnat.net HOMEPAGE= http://home.jtan.com/~john/wmusic/ COMMENT= WindowMaker dockable remote for XMMS +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_TOOLS+= gmake INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/wmusic ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmusic - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmusic - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/wmusic + ${INSTALL_PROGRAM} ${WRKSRC}/src/wmusic ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/wmusic + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/wmusic + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/wmusic .include "../../audio/xmms/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" diff --git a/audio/xamp/Makefile b/audio/xamp/Makefile index d2dd004a799..2a6e1d1ff15 100644 --- a/audio/xamp/Makefile +++ b/audio/xamp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.27 2008/03/02 06:10:34 jlam Exp $ DISTNAME= xamp-0.8-10 PKGNAME= xamp-0.8.10 @@ -12,6 +12,8 @@ MAINTAINER= rxg@NetBSD.org HOMEPAGE= # http://andrej.co.ru/~andrej/programs/xamp/ COMMENT= Version of amp (stands for `Audio Mpeg Player') plus a Qt GUI +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xamp-0.8/xamp-0.8g DIST_SUBDIR= xamp GNU_CONFIGURE= yes @@ -37,14 +39,17 @@ post-patch: done do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/${PKGMANDIR}/man1 - @${INSTALL_DATA_DIR} ${SKIN_DIR}/bfamp-xamp - ${INSTALL_DATA} ${WRKDIR}/bfamp-xamp/*.bmp ${SKIN_DIR}/bfamp-xamp - @${INSTALL_DATA_DIR} ${SKIN_DIR}/chrome-xamp - ${INSTALL_DATA} ${WRKDIR}/chrome-xamp/*.bmp ${SKIN_DIR}/chrome-xamp - @${INSTALL_DATA_DIR} ${SKIN_DIR}/mmxxamp-xamp - ${INSTALL_DATA} ${WRKDIR}/mmxxamp-xamp/*.bmp ${SKIN_DIR}/mmxxamp-xamp + ${INSTALL_PROGRAM} ${WRKSRC}/xamp ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xamp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + @${INSTALL_DATA_DIR} ${DESTDIR}${SKIN_DIR}/bfamp-xamp + ${INSTALL_DATA} ${WRKDIR}/bfamp-xamp/*.bmp \ + ${DESTDIR}${SKIN_DIR}/bfamp-xamp + @${INSTALL_DATA_DIR} ${DESTDIR}${SKIN_DIR}/chrome-xamp + ${INSTALL_DATA} ${WRKDIR}/chrome-xamp/*.bmp \ + ${DESTDIR}${SKIN_DIR}/chrome-xamp + @${INSTALL_DATA_DIR} ${DESTDIR}${SKIN_DIR}/mmxxamp-xamp + ${INSTALL_DATA} ${WRKDIR}/mmxxamp-xamp/*.bmp \ + ${DESTDIR}${SKIN_DIR}/mmxxamp-xamp .include "../../x11/qt1/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/xine-arts/Makefile b/audio/xine-arts/Makefile index 7cb00c239b0..2a2cee03852 100644 --- a/audio/xine-arts/Makefile +++ b/audio/xine-arts/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2008/01/11 16:07:28 drochner Exp $ +# $NetBSD: Makefile,v 1.27 2008/03/02 06:10:34 jlam Exp $ # +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../multimedia/xine-lib/Makefile.common" PKGNAME= ${XINE_PKGNAME:S/lib/arts/} @@ -18,7 +20,8 @@ INSTALLATION_DIRS= lib/xine/plugins/${XINE_LIB_VER} do-install: cd ${WRKSRC}/src/audio_out && \ ${LIBTOOL} --mode=install ${INSTALL_DATA} \ - xineplug_ao_out_arts.la ${PREFIX}/lib/xine/plugins/${XINE_LIB_VER} + xineplug_ao_out_arts.la \ + ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_LIB_VER} .include "../../audio/arts/buildlink3.mk" .include "../../audio/libao/buildlink3.mk" diff --git a/audio/xine-esound/Makefile b/audio/xine-esound/Makefile index cc2714432ce..c6ad54ae78a 100644 --- a/audio/xine-esound/Makefile +++ b/audio/xine-esound/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2006/12/08 18:48:52 drochner Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:34 jlam Exp $ # +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../multimedia/xine-lib/Makefile.common" PKGNAME= ${XINE_PKGNAME:S/lib/esound/} @@ -17,7 +19,8 @@ INSTALLATION_DIRS= lib/xine/plugins/${XINE_LIB_VER} do-install: cd ${WRKSRC}/src/audio_out && \ ${LIBTOOL} --mode=install ${INSTALL_DATA} \ - xineplug_ao_out_esd.la ${PREFIX}/lib/xine/plugins/${XINE_LIB_VER}/ + xineplug_ao_out_esd.la \ + ${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_LIB_VER}/ .include "../../audio/esound/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" diff --git a/audio/xmms-meta-input/Makefile b/audio/xmms-meta-input/Makefile index 5b6a6a2bcc9..0aac7fa0444 100644 --- a/audio/xmms-meta-input/Makefile +++ b/audio/xmms-meta-input/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/12/15 14:34:19 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= xmms-meta-input-0.4 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.corbac.com/page3.html COMMENT= XMMS plugin wrapper for shell scripts +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= lib/xmms/Input REQD_DIRS+= lib/xmms/Input/Meta @@ -17,13 +19,14 @@ USE_LIBTOOL= yes do-install: ${LIBTOOL} --mode=install ${INSTALL_DATA} \ - ${WRKSRC}/libmetainput.la ${PREFIX}/lib/xmms/Input - ${INSTALL_DATA_DIR} ${PREFIX}/lib/xmms/Input/Meta - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmms-input - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmms-input - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xmms-meta-input + ${WRKSRC}/libmetainput.la ${DESTDIR}${PREFIX}/lib/xmms/Input + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/xmms/Input/Meta + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xmms-input + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xmms-input + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/xmms-meta-input cd ${WRKSRC}/Examples && ${INSTALL_SCRIPT} dsp_input esound_link midi \ - modules mp3 spc vorbis ${PREFIX}/share/examples/xmms-meta-input + modules mp3 spc vorbis \ + ${DESTDIR}${PREFIX}/share/examples/xmms-meta-input .include "../../audio/xmms/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/xmms-meta-timidity/Makefile b/audio/xmms-meta-timidity/Makefile index 1833c0b74a2..60a06eb897d 100644 --- a/audio/xmms-meta-timidity/Makefile +++ b/audio/xmms-meta-timidity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/12/15 14:34:19 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= xmms-meta-timidity-0.2 @@ -15,6 +15,8 @@ DEPENDS+= timidity-[0-9]*:../../audio/timidity DEPENDS+= freepats-[0-9]*:../../audio/freepats DEPENDS+= xmms-meta-input-[0-9]*:../../audio/xmms-meta-input +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LANGUAGES= # empty NO_CHECKSUM= yes @@ -26,6 +28,7 @@ do-build: -e "s,XXXPKG_SYSCONFDIRXXX,${PKG_SYSCONFDIR},g" do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/timidity.sh ${PREFIX}/lib/xmms/Input/Meta + ${INSTALL_SCRIPT} ${WRKSRC}/timidity.sh \ + ${DESTDIR}${PREFIX}/lib/xmms/Input/Meta .include "../../mk/bsd.pkg.mk" diff --git a/audio/xmmsctrl/Makefile b/audio/xmmsctrl/Makefile index 2e5974dc48b..9f2a37831af 100644 --- a/audio/xmmsctrl/Makefile +++ b/audio/xmmsctrl/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2006/10/04 20:44:20 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= xmmsctrl-1.6 -PKGREVISION= 2 +PKGREVISION= 2 CATEGORIES= audio MASTER_SITES= http://user.it.uu.se/~adavid/utils/ @@ -10,12 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://user.it.uu.se/~adavid/utils/ COMMENT= Small utility to control xmms from the command line +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake INSTALLATION_DIRS= bin .include "../../audio/xmms/buildlink3.mk" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile index 645f9b37009..2b4128e73f8 100644 --- a/audio/xsidplay/Makefile +++ b/audio/xsidplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2007/01/11 09:41:04 joerg Exp $ +# $NetBSD: Makefile,v 1.41 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= xsidplay-1.6.5.1a @@ -11,6 +11,8 @@ MAINTAINER= pooka@NetBSD.org HOMEPAGE= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/ COMMENT= Commodore 64 music player and SID chip emulator for X11 +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ USE_LIBTOOL= yes @@ -27,7 +29,7 @@ pre-configure: rm ${WRKSRC}/scripts/ltmain.sh && ${LN} -s ${PREFIX}/share/libtool/ltmain.sh ${WRKSRC}/scripts/ltmain.sh do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${DESTDIR}${PREFIX}/bin BUILDLINK_DEPMETHOD.libXt?= build diff --git a/audio/xwave/Makefile b/audio/xwave/Makefile index b92faf2d485..f8e87b098c5 100644 --- a/audio/xwave/Makefile +++ b/audio/xwave/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2006/12/27 13:37:36 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= xwave2 @@ -10,19 +10,22 @@ MASTER_SITES= # empty MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Audio player/recorder/editor for the X Window System +PKG_DESTDIR_SUPPORT= user-destdir + USE_IMAKE= YES INSTALLATION_DIRS= bin lib/X11/app-defaults do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/src/XWave ${PREFIX}/lib/X11/app-defaults - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xwave2 + ${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/src/XWave \ + ${DESTDIR}${PREFIX}/lib/X11/app-defaults + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xwave2 ${INSTALL_DATA} ${WRKSRC}/README \ ${WRKSRC}/README-XWAVE2 \ ${WRKSRC}/README.v06 \ ${WRKSRC}/COPYING \ ${WRKSRC}/INSTALL \ - ${PREFIX}/share/doc/xwave2 + ${DESTDIR}${PREFIX}/share/doc/xwave2 .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" |