diff options
55 files changed, 480 insertions, 305 deletions
diff --git a/emulators/Cygne-SDL/Makefile b/emulators/Cygne-SDL/Makefile index 730eb7eaf23..a281dd49616 100644 --- a/emulators/Cygne-SDL/Makefile +++ b/emulators/Cygne-SDL/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/12/18 01:34:54 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= Cygne-SDL-0.1-src @@ -14,6 +14,8 @@ COMMENT= Bandai Wonderswan Color handheld emulator BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm BUILD_DEPENDS+= zip>=2.0:../../archivers/zip +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/Cygne-SDL-0.1 MAKE_FILE= Makefiles/Makefile.unix NO_CONFIGURE= yes @@ -30,14 +32,14 @@ post-build: ${LOCALBASE}/bin/zip Wondersnake.zip Wondersnake.wsc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${PREFIX}/bin/Cygne-SDL - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Cygne-SDL - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Cygne-SDL - ${INSTALL_DATA_DIR} ${PREFIX}/share/Cygne-SDL + ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${DESTDIR}${PREFIX}/bin/Cygne-SDL + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/Cygne-SDL ${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.txt \ - ${PREFIX}/share/Cygne-SDL + ${DESTDIR}${PREFIX}/share/Cygne-SDL ${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.zip \ - ${PREFIX}/share/Cygne-SDL + ${DESTDIR}${PREFIX}/share/Cygne-SDL .include "../../devel/SDL/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" diff --git a/emulators/DatLib/Makefile b/emulators/DatLib/Makefile index 7a175b2ae89..235bc44e1f3 100644 --- a/emulators/DatLib/Makefile +++ b/emulators/DatLib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/07/30 18:55:23 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= datlib221 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/DatLib/DatLib.php COMMENT= Data file library for some emulation tools +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake WRKSRC= ${WRKDIR} MAKE_FILE= makefile @@ -21,17 +23,17 @@ MAKE_ENV+= RANLIB=${RANLIB:Q} INSTALLATION_DIRS= lib do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib - ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/hash - ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/mame - ${INSTALL_DATA_DIR} ${PREFIX}/include/DatLib/misc - ${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include/DatLib - ${INSTALL_DATA} ${WRKSRC}/src/hash/*.h ${PREFIX}/include/DatLib/hash - ${INSTALL_DATA} ${WRKSRC}/src/mame/*.h ${PREFIX}/include/DatLib/mame - ${INSTALL_DATA} ${WRKSRC}/src/misc/*.h ${PREFIX}/include/DatLib/misc - ${INSTALL_LIB} ${WRKSRC}/obj/libdatlib.a ${PREFIX}/lib/libdatlib.a - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatLib - ${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/DatLib + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/DatLib + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/DatLib/hash + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/DatLib/mame + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/DatLib/misc + ${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include/DatLib + ${INSTALL_DATA} ${WRKSRC}/src/hash/*.h ${DESTDIR}${PREFIX}/include/DatLib/hash + ${INSTALL_DATA} ${WRKSRC}/src/mame/*.h ${DESTDIR}${PREFIX}/include/DatLib/mame + ${INSTALL_DATA} ${WRKSRC}/src/misc/*.h ${DESTDIR}${PREFIX}/include/DatLib/misc + ${INSTALL_LIB} ${WRKSRC}/obj/libdatlib.a ${DESTDIR}${PREFIX}/lib/libdatlib.a + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/DatLib + ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/DatLib .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/DatUtil/Makefile b/emulators/DatUtil/Makefile index 05e7761fb15..27576a1d81c 100644 --- a/emulators/DatUtil/Makefile +++ b/emulators/DatUtil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/07/30 18:55:51 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= dutil232 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/DatUtil/DatUtil.php COMMENT= Create and convert emulator rom checksum files +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake WRKSRC= ${WRKDIR} MAKE_FILE= makefile @@ -23,9 +25,9 @@ post-extract: ${MKDIR} ${WRKSRC}/obj do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/datutil ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatUtil - ${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/DatUtil + ${INSTALL_PROGRAM} ${WRKSRC}/datutil ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/DatUtil + ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/DatUtil .include "../../devel/zlib/buildlink3.mk" BUILDLINK_API_DEPENDS.DatLib+= DatLib>=2.21 diff --git a/emulators/MAMEDiff/Makefile b/emulators/MAMEDiff/Makefile index 7ed9f58ae5b..3032d8cdb93 100644 --- a/emulators/MAMEDiff/Makefile +++ b/emulators/MAMEDiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/07/08 09:42:33 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= mdiff226 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/MAMEDiff/MAMEDiff.php COMMENT= Compare MAME rom sets of different releases +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake WRKSRC= ${WRKDIR} MAKE_FILE= makefile @@ -22,9 +24,10 @@ post-extract: ${MKDIR} ${WRKSRC}/obj do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mamediff ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/MAMEDiff - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/MAMEDiff + ${INSTALL_PROGRAM} ${WRKSRC}/mamediff ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/MAMEDiff + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/MAMEDiff .include "../../devel/zlib/buildlink3.mk" .include "../../emulators/DatLib/buildlink3.mk" diff --git a/emulators/ROMBuild/Makefile b/emulators/ROMBuild/Makefile index ef3cb7f4973..bff64099f45 100644 --- a/emulators/ROMBuild/Makefile +++ b/emulators/ROMBuild/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/09/10 09:06:36 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= rbuild29 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/ROMBuild/ROMBuild.php COMMENT= Arcade ROM manipulation tool +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake WRKSRC= ${WRKDIR} MAKE_FILE= makefile @@ -22,9 +24,10 @@ post-extract: ${MKDIR} ${WRKSRC}/obj do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMBuild - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ROMBuild + ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ROMBuild + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/ROMBuild .include "../../devel/zlib/buildlink3.mk" .include "../../emulators/DatLib/buildlink3.mk" diff --git a/emulators/ROMInfo/Makefile b/emulators/ROMInfo/Makefile index 76cdc279216..d12efdf82db 100644 --- a/emulators/ROMInfo/Makefile +++ b/emulators/ROMInfo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/07/08 09:42:33 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= rinfo27 @@ -18,13 +18,16 @@ BUILD_TARGET= rominfo EXTRACT_OPTS_ZIP= -Laaqo INSTALLATION_DIRS= bin +PKG_DESTDIR_SUPPORT= user-destdir + post-extract: ${MKDIR} ${WRKSRC}/obj do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rominfo ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMInfo - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ROMInfo + ${INSTALL_PROGRAM} ${WRKSRC}/rominfo ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ROMInfo + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/ROMInfo .include "../../devel/zlib/buildlink3.mk" .include "../../emulators/DatLib/buildlink3.mk" diff --git a/emulators/ZIPIdent/Makefile b/emulators/ZIPIdent/Makefile index 013f0280c4e..8b43fbdfd99 100644 --- a/emulators/ZIPIdent/Makefile +++ b/emulators/ZIPIdent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/07/08 09:42:33 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= zident28 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/ZIPIdent/ZIPIdent.php COMMENT= Identify arcade ROM sets +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake WRKSRC= ${WRKDIR} MAKE_FILE= makefile @@ -22,9 +24,10 @@ post-extract: ${MKDIR} ${WRKSRC}/obj do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/zipident ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ZIPIdent - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ZIPIdent + ${INSTALL_PROGRAM} ${WRKSRC}/zipident ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ZIPIdent + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/ZIPIdent .include "../../devel/zlib/buildlink3.mk" .include "../../emulators/DatLib/buildlink3.mk" diff --git a/emulators/aliados/Makefile b/emulators/aliados/Makefile index 464cc69c69b..09cc603a88b 100644 --- a/emulators/aliados/Makefile +++ b/emulators/aliados/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/04/11 21:45:42 tv Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= aliados-0.1.1 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.arrakis.es/~ninsesabe/aliados/ COMMENT= CP/M 80 emulator PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= YES USE_LANGUAGES= c++ @@ -19,7 +20,7 @@ USE_NCURSES= # tigetstr tparm setupterm INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/aliados ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/aliados ${DESTDIR}${PREFIX}/bin .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/applyppf/Makefile b/emulators/applyppf/Makefile index 77bdeebdfd8..f5da0d101fa 100644 --- a/emulators/applyppf/Makefile +++ b/emulators/applyppf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/24 19:08:51 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= applyppf3_src @@ -11,7 +11,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org #HOMEPAGE= http://www.paradogs.com/pdx_ppf3.htm COMMENT= PPF (Playstation Patch File) v3.0 apply tool -WRKSRC= ${WRKDIR} +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR} +INSTALLATION_DIRS= bin do-build: cd ${BUILD_DIRS} && ${CC} ${CPPFLAGS} ${CFLAGS} \ @@ -19,6 +22,6 @@ do-build: -D_LARGEFILE64_SOURCE -o applyppf applyppf3_linux.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/applyppf ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/applyppf ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/emulators/arnold/Makefile b/emulators/arnold/Makefile index 081b343dcd7..5547ec771ed 100644 --- a/emulators/arnold/Makefile +++ b/emulators/arnold/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/02/27 12:52:41 rillig Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= arnsrc27012002 @@ -12,6 +12,8 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://arnold.emuunlim.com/ COMMENT= Amstrad CPC, Amstrad CPC+ and KC Compact emulator +PKG_DESTDIR_SUPPORT= user-destdir + # we want case sensitive file names. EXTRACT_OPTS_ZIP= -aqo @@ -27,9 +29,10 @@ MAKE_ENV+= SHAREDIR=${SHAREDIR} AUTO_MKDIRS= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/arnold ${PREFIX}/bin - cd ${WRKSRC}/roms && pax -wr * ${SHAREDIR}/roms/ - cd ${WRKSRC} && ${INSTALL_DATA} readme.* ${PREFIX}/share/doc/arnold + ${INSTALL_PROGRAM} ${WRKSRC}/arnold ${DESTDIR}${PREFIX}/bin + cd ${WRKSRC}/roms && pax -wr * ${DESTDIR}${SHAREDIR}/roms/ + cd ${WRKSRC} && ${INSTALL_DATA} readme.* \ + ${DESTDIR}${PREFIX}/share/doc/arnold .include "../../mk/oss.buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common index d45a23cfcdc..68585874d72 100644 --- a/emulators/compat_netbsd/Makefile.common +++ b/emulators/compat_netbsd/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.9 2008/01/15 15:43:49 jlam Exp $ +# $NetBSD: Makefile.common,v 1.10 2008/03/03 19:21:37 jlam Exp $ # # Common infrastructure for NetBSD compat* packages. # @@ -12,6 +12,8 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org +PKG_DESTDIR_SUPPORT= destdir + NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL NETBSD_PKG= yes @@ -127,9 +129,10 @@ ${ELF_SYMLINKS_DATA}: plist .PHONY: compat-install do-install: compat-install compat-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${EMULSUBDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${EMULSUBDIR} cd ${WRKSRC} && for dir in lib libexec usr; do \ if ${TEST} -d "$$dir"; then \ - ${PAX} -rw "$$dir" ${PREFIX}/${EMULSUBDIR}; \ + ${PAX} -rw "$$dir" \ + ${DESTDIR}${PREFIX}/${EMULSUBDIR}; \ fi; \ done diff --git a/emulators/cygwin_esound/Makefile b/emulators/cygwin_esound/Makefile index 2569e98b345..8ab5628aaf2 100644 --- a/emulators/cygwin_esound/Makefile +++ b/emulators/cygwin_esound/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/04/04 14:37:52 tv Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= esound-0.2.35-1 @@ -18,6 +18,8 @@ COMMENT= Enlightened sound daemon (daemon only) for Cygwin/Interix ONLY_FOR_PLATFORM= Interix-*-* +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= cygwin WRKSRC= ${WRKDIR} @@ -27,9 +29,12 @@ INSTALLATION_DIRS= bin emul/cygwin/bin do-build: # nothing do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll ${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll ${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe ${PREFIX}/emul/cygwin/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll \ + ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe \ + ${DESTDIR}${PREFIX}/emul/cygwin/bin/ .include "../../emulators/cygwin_lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/cygwin_lib/Makefile b/emulators/cygwin_lib/Makefile index 2d070a2df27..06187382286 100644 --- a/emulators/cygwin_lib/Makefile +++ b/emulators/cygwin_lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/04/04 14:37:52 tv Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= cygwin-1.5.13-1 @@ -13,6 +13,8 @@ COMMENT= Basic Cygwin library and executables for emulation ONLY_FOR_PLATFORM= Interix-*-* +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= cygwin WRKSRC= ${WRKDIR} @@ -22,13 +24,15 @@ INSTALLATION_DIRS= bin emul/cygwin/bin do-build: # nothing do-install: - ${INSTALL_LIB} ${WRKSRC}/usr/bin/cygwin1.dll ${PREFIX}/bin/ - ${INSTALL_PROGRAM_DIR} ${PREFIX}/emul/cygwin ${PREFIX}/emul/cygwin/bin + ${INSTALL_LIB} ${WRKSRC}/usr/bin/cygwin1.dll ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM_DIR} ${PREFIX}/emul/cygwin \ + ${DESTDIR}${PREFIX}/emul/cygwin/bin @for f in ${WRKSRC}/usr/bin/*.exe; do \ - ${INSTALL_LIB} $$f ${PREFIX}/emul/cygwin/bin/$$(basename $${f%.exe}); \ + ${INSTALL_LIB} $$f \ + ${DESTDIR}${PREFIX}/emul/cygwin/bin/$$(basename $${f%.exe}); \ done .for f in ${SYMLINKS} - ${LN} -sf ../emul/cygwin/bin/${f} ${PREFIX}/bin/cygwin-${f} + ${LN} -sf ../emul/cygwin/bin/${f} ${DESTDIR}${PREFIX}/bin/cygwin-${f} .endfor .include "../../mk/bsd.pkg.mk" diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile index b03de6bcc9a..7cb7c75d812 100644 --- a/emulators/darcnes/Makefile +++ b/emulators/darcnes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2007/07/08 09:45:15 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2008/03/03 19:21:38 jlam Exp $ PKGNAME= darcnes-20010401 PKGREVISION= 3 @@ -6,14 +6,16 @@ PKGREVISION= 3 MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Multi-system emulator (NES, SMS, GG, PCE, and others) +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_ENV+= TARGET=Linux_X INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/darcnes - ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/doc/darcnes + ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/darcnes + ${INSTALL_MAN} ${WRKSRC}/readme ${DESTDIR}${PREFIX}/share/doc/darcnes .include "Makefile.common" .include "../../x11/libXaw/buildlink3.mk" diff --git a/emulators/dega/Makefile b/emulators/dega/Makefile index b16da4d233a..3326027d9f0 100644 --- a/emulators/dega/Makefile +++ b/emulators/dega/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= dega-1.07 @@ -12,6 +12,8 @@ COMMENT= Sega Game Gear, Sega Mark III and Sega Master System emulator BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -21,7 +23,7 @@ ONLY_FOR_PLATFORM= *-*-i386 INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dega ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/dega ${DESTDIR}${PREFIX}/bin .include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/dynamips/Makefile b/emulators/dynamips/Makefile index 47cd08c01be..4c5517b32d5 100644 --- a/emulators/dynamips/Makefile +++ b/emulators/dynamips/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/02/14 11:00:13 kefren Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 19:21:38 jlam Exp $ DISTNAME= dynamips-0.2.7 CATEGORIES= emulators @@ -8,6 +8,8 @@ MAINTAINER= kefren@NetBSD.org HOMEPAGE= http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator COMMENT= Cisco 3600 and 7200 MIPS emulator +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake NO_CONFIGURE= yes @@ -21,8 +23,8 @@ SUBST_SED.libelf= -e 's,<libelf.h>,<libelf/libelf.h>,' SUBST_MESSAGE.libelf= Fix libelf header file path do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dynamips ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/dynamips ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${DESTDIR}${PREFIX}/bin .include "../../devel/libelf/buildlink3.mk" .include "../../net/libpcap/buildlink3.mk" diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile index 275cf1e2231..fd95689eb3c 100644 --- a/emulators/fmsx/Makefile +++ b/emulators/fmsx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/02/22 19:26:27 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/03 19:21:38 jlam Exp $ DISTNAME= fMSX24.tar PKGNAME= fmsx-2.4 @@ -17,6 +17,8 @@ NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/MSX .include "../../mk/bsd.prefs.mk" @@ -46,11 +48,11 @@ pre-install: # Makefile of fMSX doesn't have install target. do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fmsx ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/rddsk ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/wrdsk ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/*.ROM ${PREFIX}/share/fmsx - ${INSTALL_DATA} ${WRKSRC}/fMSX.html ${PREFIX}/share/doc/html + ${INSTALL_PROGRAM} ${WRKSRC}/fmsx ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/rddsk ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/wrdsk ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/*.ROM ${DESTDIR}${PREFIX}/share/fmsx + ${INSTALL_DATA} ${WRKSRC}/fMSX.html ${DESTDIR}${PREFIX}/share/doc/html .include "../../x11/libXext/buildlink3.mk" .include "../../x11/xextproto/buildlink3.mk" diff --git a/emulators/freebsd_lib/Makefile b/emulators/freebsd_lib/Makefile index 3315288412f..a9c7f787a8a 100644 --- a/emulators/freebsd_lib/Makefile +++ b/emulators/freebsd_lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2006/06/23 15:48:50 jlam Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= freebsd_lib-2.2.7 @@ -11,17 +11,21 @@ COMMENT= Libraries necessary for FreeBSD compatibility, including XFree86 ONLY_FOR_PLATFORM= NetBSD-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd - ${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd/var/run + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/emul/freebsd + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/emul/freebsd/var/run (cd ${WRKSRC} && ${FIND} usr -type d -print) | \ - (cd ${PREFIX}/emul/freebsd && ${XARGS} ${INSTALL_DATA_DIR}) + (cd ${DESTDIR}${PREFIX}/emul/freebsd && \ + ${XARGS} ${INSTALL_DATA_DIR}) cd ${WRKSRC} && for file in `${FIND} usr -name '*.*' -print`; do \ - ${INSTALL_DATA} $$file ${PREFIX}/emul/freebsd/$$file; \ + ${INSTALL_DATA} $$file \ + ${DESTDIR}${PREFIX}/emul/freebsd/$$file; \ done - ${TOUCH} ${PREFIX}/emul/freebsd/var/run/ld.so.hints + ${TOUCH} ${DESTDIR}${PREFIX}/emul/freebsd/var/run/ld.so.hints .include "../../mk/bsd.pkg.mk" diff --git a/emulators/gcube/Makefile b/emulators/gcube/Makefile index 9976c5b1b31..6843735961c 100644 --- a/emulators/gcube/Makefile +++ b/emulators/gcube/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/11/25 11:52:44 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= gcube-0.4-src @@ -13,6 +13,7 @@ HOMEPAGE= http://gcube.exemu.net/ COMMENT= Opensource Nintendo GameCube(TM) emulator PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake WRKSRC= ${WRKDIR}/0.4 @@ -24,14 +25,14 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm CFLAGS+= -DASM_X86=1 .endif -INSTALLATION_DIRS= share/doc/${PKGBASE} bin +INSTALLATION_DIRS= bin share/doc/${PKGBASE} do-install: .for prog in isopack gcube bin2dol gcmap tplx - ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${DESTDIR}${PREFIX}/bin .endfor .for f in README ChangeLog COPYING - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .endfor .include "../../devel/SDL/buildlink3.mk" diff --git a/emulators/generator-cbiere/Makefile b/emulators/generator-cbiere/Makefile index 20c598f7be9..f1a69018b2f 100644 --- a/emulators/generator-cbiere/Makefile +++ b/emulators/generator-cbiere/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= generator-0.35-cbiere-r2 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ghostwhitecrab.de/generator/ COMMENT= Sega Mega drive genesis emulator (Improved) +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes .if (${MACHINE_ARCH} == "i386") @@ -29,9 +31,11 @@ CONFIGURE_ARGS+= --with-sdl-audio CFLAGS+= -DBYTES_HIGHFIRST .endif +INSTALLATION_DIRS= bin + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/main/generator-gtk \ - ${PREFIX}/bin/generator-cbiere-gtk + ${DESTDIR}${PREFIX}/bin/generator-cbiere-gtk .include "../../devel/SDL/buildlink3.mk" .include "../../x11/gtk/buildlink3.mk" diff --git a/emulators/gnuboy-sdl/Makefile b/emulators/gnuboy-sdl/Makefile index 459c3a8f9a5..ed9c467b7ab 100644 --- a/emulators/gnuboy-sdl/Makefile +++ b/emulators/gnuboy-sdl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/03 19:21:38 jlam Exp $ DISTNAME= gnuboy-1.0.3 PKGNAME= ${DISTNAME:S/-/-sdl-/} @@ -10,18 +10,21 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://gnuboy.unix-fu.org/ COMMENT= SDL port of Gameboy emulator -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-sdl +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-sdl .include "../../devel/SDL/buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuboy-sdl - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnuboy-sdl - ${INSTALL_PROGRAM} ${WRKSRC}/sdlgnuboy ${PREFIX}/bin/gnuboy-sdl + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gnuboy-sdl + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gnuboy-sdl + ${INSTALL_PROGRAM} ${WRKSRC}/sdlgnuboy \ + ${DESTDIR}${PREFIX}/bin/gnuboy-sdl ${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \ - ${PREFIX}/share/examples/gnuboy-sdl/ + ${DESTDIR}${PREFIX}/share/examples/gnuboy-sdl/ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \ - ${PREFIX}/share/doc/gnuboy-sdl/ + ${DESTDIR}${PREFIX}/share/doc/gnuboy-sdl/ .include "../../mk/bsd.pkg.mk" diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile index 1aebc3969c2..5eaa5d57d50 100644 --- a/emulators/gnuboy/Makefile +++ b/emulators/gnuboy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/11/25 11:52:44 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 19:21:38 jlam Exp $ DISTNAME= gnuboy-1.0.3 PKGREVISION= 2 @@ -9,18 +9,20 @@ MAINTAINER= njl@sdf.lonestar.org #HOMEPAGE= http://gnuboy.unix-fu.org/ COMMENT= Gameboy emulator +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes INSTALLATION_DIRS= bin do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuboy - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnuboy - ${INSTALL_PROGRAM} ${WRKSRC}/xgnuboy ${PREFIX}/bin/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gnuboy + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gnuboy + ${INSTALL_PROGRAM} ${WRKSRC}/xgnuboy ${DESTDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \ - ${PREFIX}/share/examples/gnuboy/ + ${DESTDIR}${PREFIX}/share/examples/gnuboy/ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \ - ${PREFIX}/share/doc/gnuboy/ + ${DESTDIR}${PREFIX}/share/doc/gnuboy/ BUILDLINK_DEPMETHOD.libXt?= build diff --git a/emulators/hercules-images/Makefile b/emulators/hercules-images/Makefile index 48c17eae63a..6c4737499cf 100644 --- a/emulators/hercules-images/Makefile +++ b/emulators/hercules-images/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/09/19 18:32:50 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 19:21:38 jlam Exp $ DISTNAME= mftr33 PKGNAME= hercules-images-20010222 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.conmicro.cx/hercules/ COMMENT= Images to IPL the Hercules emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes NO_CONFIGURE= yes @@ -16,8 +18,9 @@ EXTRACT_ONLY= USE_TOOLS+= gzcat pax do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/data/hercules - cd ${PREFIX}/share/data/hercules && \ - (gzcat ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; dd if=/dev/zero bs=10k count=2) | pax -O -r + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/data/hercules + cd ${DESTDIR}${PREFIX}/share/data/hercules && \ + (gzcat ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \ + dd if=/dev/zero bs=10k count=2) | pax -O -r .include "../../mk/bsd.pkg.mk" diff --git a/emulators/ia64sim/Makefile b/emulators/ia64sim/Makefile index 33f5a47a81b..a623cafc573 100644 --- a/emulators/ia64sim/Makefile +++ b/emulators/ia64sim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/10/04 21:38:37 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:38 jlam Exp $ DISTNAME= ia64sim PKGNAME= ia64sim-0.3 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.boo.net/~jasonp/ COMMENT= IA64 simulator (Intel(R) Architecture 64) +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake DIST_SUBDIR= ${PKGNAME_NOREV} @@ -18,6 +20,6 @@ MAKE_FILE= makefile.unx INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${PREFIX}/bin/ia64sim + ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${DESTDIR}${PREFIX}/bin/ia64sim .include "../../mk/bsd.pkg.mk" diff --git a/emulators/kenigma/Makefile b/emulators/kenigma/Makefile index 6f65b72428b..565a9a0f7a8 100644 --- a/emulators/kenigma/Makefile +++ b/emulators/kenigma/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/01/18 05:06:32 tnn Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/03 19:21:38 jlam Exp $ DISTNAME= 28107-kenigma-1.2.1 PKGNAME= kenigma-1.2.1 @@ -10,6 +10,8 @@ MAINTAINER= markd@NetBSD.org HOMEPAGE= http://www.kde-apps.org/content/show.php?content=28107 COMMENT= Replica of the German enigma code machine used in WW2 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/kenigma NO_CONFIGURE= yes @@ -17,18 +19,21 @@ USE_LANGUAGES= # none APPDIR= ${KDEDIR}/share/kde/apps/kenigma +INSTALLATION_DIRS= bin ${KDEDIR}/share/applications/kde + do-build: (cd ${WRKSRC}; \ ${ECHO} "#!/bin/sh"; \ ${ECHO} "cd ${APPDIR} && ${RUBY} main.rb") > ${WRKSRC}/kenigma do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/kenigma ${KDEDIR}/bin - ${INSTALL_DATA} ${WRKSRC}/kenigma.desktop ${KDEDIR}/share/applications/kde - ${INSTALL_DATA_DIR} ${APPDIR} - ${INSTALL_DATA} ${WRKSRC}/*.rb ${APPDIR} - ${INSTALL_DATA} ${WRKSRC}/kenigma.dtd ${APPDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${APPDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/kenigma ${DESTDIR}${KDEDIR}/bin + ${INSTALL_DATA} ${WRKSRC}/kenigma.desktop \ + ${DESTDIR}${KDEDIR}/share/applications/kde + ${INSTALL_DATA_DIR} ${DESTDIR}${APPDIR} + ${INSTALL_DATA} ${WRKSRC}/*.rb ${DESTDIR}${APPDIR} + ${INSTALL_DATA} ${WRKSRC}/kenigma.dtd ${DESTDIR}${APPDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${APPDIR} .include "../../meta-pkgs/kde3/kde3.mk" diff --git a/emulators/lrmi/Makefile b/emulators/lrmi/Makefile index a579fcca821..fdbacf5e007 100644 --- a/emulators/lrmi/Makefile +++ b/emulators/lrmi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/09/09 02:41:59 obache Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= lrmi-0.8 @@ -13,14 +13,16 @@ COMMENT= Wrapper to the i386 vm86 mode ONLY_FOR_PLATFORM= *-*-i386 NOT_FOR_PLATFORM+= Interix-*-* # cannot call real mode from Windows +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= Makefile.bsd INSTALLATION_DIRS= bin include lib do-install: - ${INSTALL_DATA} ${WRKSRC}/vbe.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/liblrmi.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/liblrmi.so ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/vbetest ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/vbe.h ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/liblrmi.a ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/liblrmi.so ${DESTDIR}${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/vbetest ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/emulators/m1/Makefile b/emulators/m1/Makefile index 070cafcf8b3..3d669bf12d0 100644 --- a/emulators/m1/Makefile +++ b/emulators/m1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/07/29 05:18:37 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 19:21:38 jlam Exp $ DISTNAME= m1074b2-lnx PKGNAME= m1-0.7.4c @@ -14,16 +14,18 @@ COMMENT= Arcade video and pinball game sound emulator (Linux binary) EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= compat +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/m1-0.7.4 BUILD_DIRS= # empty INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/m1 ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/m1 - ${INSTALL_DATA} ${WRKSRC}/m1.txt ${PREFIX}/share/doc/m1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/m1 - ${INSTALL_DATA} ${WRKSRC}/m1.ini ${PREFIX}/share/examples/m1 + ${INSTALL_PROGRAM} ${WRKSRC}/m1 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/m1 + ${INSTALL_DATA} ${WRKSRC}/m1.txt ${DESTDIR}${PREFIX}/share/doc/m1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/m1 + ${INSTALL_DATA} ${WRKSRC}/m1.ini ${DESTDIR}${PREFIX}/share/examples/m1 .include "../../mk/bsd.pkg.mk" diff --git a/emulators/makeppf/Makefile b/emulators/makeppf/Makefile index 1dd8994df81..0928b2bf168 100644 --- a/emulators/makeppf/Makefile +++ b/emulators/makeppf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/24 19:08:51 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= makeppf3_src @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org #HOMEPAGE= http://www.paradogs.com/pdx_ppf3.htm COMMENT= PPF (Playstation Patch File) v3.0 creation tool +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} do-build: @@ -19,6 +21,6 @@ do-build: -D_LARGEFILE64_SOURCE -o makeppf makeppf3_linux.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/makeppf ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/makeppf ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile index 21194a538c5..8de417a930e 100644 --- a/emulators/minivmac/Makefile +++ b/emulators/minivmac/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/02/19 18:24:54 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 19:21:38 jlam Exp $ DISTNAME= minivmac-0.1.7.src PKGNAME= minivmac-0.1.7 @@ -11,6 +11,8 @@ MAINTAINER= kei@NetBSD.org HOMEPAGE= http://minivmac.sourceforge.net/ COMMENT= Miniature Macintosh emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/minivmac SCRIPTS_ENV+= CC="${CC}" @@ -23,9 +25,9 @@ do-build: cd ${WRKSRC}/tool/bash; ${SETENV} ${SCRIPTS_ENV} ${SH} build do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${DOCDIR} .include "../../x11/libXext/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/mmix/Makefile b/emulators/mmix/Makefile index 67ddb33ffe9..e8f229d140c 100644 --- a/emulators/mmix/Makefile +++ b/emulators/mmix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/03/15 05:00:13 dbj Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/03 19:21:38 jlam Exp $ DISTNAME= mmix-20060918 CATEGORIES= emulators devel lang @@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www-cs-faculty.stanford.edu/~knuth/mmix.html COMMENT= Simulators for Knuth's MMIX RISC architecture +PKG_DESTDIR_SUPPORT= user-destdir + TEX_DEPMETHOD= build TEX_ACCEPTED= teTeX3 @@ -20,12 +22,12 @@ INSTALLATION_DIRS= bin do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} abstime mmix mmixal \ - mmmix mmotype ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mmix + mmmix mmotype ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mmix cd ${WRKSRC} && ${INSTALL_DATA} README *.ps \ - ${PREFIX}/share/doc/mmix - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mmix + ${DESTDIR}${PREFIX}/share/doc/mmix + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/mmix cd ${WRKSRC} && ${INSTALL_DATA} *.mms *.mmix *.mmconfig \ - ${PREFIX}/share/examples/mmix + ${DESTDIR}${PREFIX}/share/examples/mmix .include "../../mk/bsd.pkg.mk" diff --git a/emulators/ski/Makefile b/emulators/ski/Makefile index 456e01318e9..b310a34ed1f 100644 --- a/emulators/ski/Makefile +++ b/emulators/ski/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/07/29 05:18:37 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/03 19:21:38 jlam Exp $ DISTNAME= ski-0.9.81-l6-i686 PKGNAME= ski-0.9.81.6 @@ -18,6 +18,8 @@ NO_BIN_ON_CDROM= ${RESTRICTED} EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= x11 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} INTERACTIVE_STAGE= fetch BUILD_DIRS= # none @@ -34,10 +36,10 @@ FETCH_MESSAGE= \ " ${DOWNLOAD}" do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/nue/usr/bin/*ski* ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/nue/usr/bin/*ski* ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/nue/usr/man/man1/*ski*.1 \ - ${PREFIX}/${PKGMANDIR}/man1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_DATA} ${WRKDIR}/nue/usr/X11R6/lib/X11/app-defaults/XSki \ - ${PREFIX}/lib/X11/app-defaults/XSki + ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XSki .include "../../mk/bsd.pkg.mk" diff --git a/emulators/sms_sdl/Makefile b/emulators/sms_sdl/Makefile index 7c49c6a32a4..f964e006563 100644 --- a/emulators/sms_sdl/Makefile +++ b/emulators/sms_sdl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/06/12 16:28:07 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= sms_sdl-0.9.4a-r7.1-src @@ -12,18 +12,24 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://membres.lycos.fr/cyxdown/smssdl/ COMMENT= SMS Plus emulator port to SDL +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/sms_sdl-0.9.4a-r7.1 BUILD_DIRS= sdl EXTRACT_OPTS_ZIP= -aqo +INSTALLATION_DIRS= bin + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sdl/sms_sdl ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sms_sdl - ${INSTALL_DATA} ${WRKSRC}/sdl/README.TXT ${PREFIX}/share/doc/sms_sdl - ${INSTALL_DATA} ${WRKSRC}/license ${PREFIX}/share/doc/sms_sdl + ${INSTALL_PROGRAM} ${WRKSRC}/sdl/sms_sdl ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sms_sdl + ${INSTALL_DATA} ${WRKSRC}/sdl/README.TXT \ + ${DESTDIR}${PREFIX}/share/doc/sms_sdl + ${INSTALL_DATA} ${WRKSRC}/license ${DESTDIR}${PREFIX}/share/doc/sms_sdl ${INSTALL_DATA} ${WRKSRC}/README.TXT \ - ${PREFIX}/share/doc/sms_sdl/README-CORE.TXT - ${INSTALL_DATA} ${WRKSRC}/SOURCE.TXT ${PREFIX}/share/doc/sms_sdl + ${DESTDIR}${PREFIX}/share/doc/sms_sdl/README-CORE.TXT + ${INSTALL_DATA} ${WRKSRC}/SOURCE.TXT \ + ${DESTDIR}${PREFIX}/share/doc/sms_sdl .include "../../devel/SDL/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile index 950dea64918..97d8b78b9d8 100644 --- a/emulators/snes9x/Makefile +++ b/emulators/snes9x/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2007/12/04 11:38:55 obache Exp $ +# $NetBSD: Makefile,v 1.44 2008/03/03 19:21:38 jlam Exp $ SNESVER= 1.43 DISTNAME= snes9x-${SNESVER}-src @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.snes9x.com/ COMMENT= Super Nintendo Entertainment System (SNES) emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/snes9x USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -31,16 +33,21 @@ SUBST_FILES.paircpp= 65c816.h sa1.h SUBST_SED.paircpp= -e 's|pair|snes9x_pair|g' do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/offsets ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snes9x - ${INSTALL_MAN} ${WRKSRC}/doc/porting.txt ${PREFIX}/share/doc/snes9x - ${INSTALL_MAN} ${WRKSRC}/changes.txt ${PREFIX}/share/doc/snes9x - ${INSTALL_MAN} ${WRKSRC}/hardware.txt ${PREFIX}/share/doc/snes9x - ${INSTALL_MAN} ${WRKSRC}/problems.txt ${PREFIX}/share/doc/snes9x - ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/readme.txt ${PREFIX}/share/doc/snes9x + ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/offsets ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/snes9x + ${INSTALL_MAN} ${WRKSRC}/doc/porting.txt \ + ${DESTDIR}${PREFIX}/share/doc/snes9x + ${INSTALL_MAN} ${WRKSRC}/changes.txt \ + ${DESTDIR}${PREFIX}/share/doc/snes9x + ${INSTALL_MAN} ${WRKSRC}/hardware.txt \ + ${DESTDIR}${PREFIX}/share/doc/snes9x + ${INSTALL_MAN} ${WRKSRC}/problems.txt \ + ${DESTDIR}${PREFIX}/share/doc/snes9x + ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/snes9x ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/readme.unix \ - ${PREFIX}/share/doc/snes9x + ${DESTDIR}${PREFIX}/share/doc/snes9x .include "../../mk/bsd.prefs.mk" diff --git a/emulators/swarm/Makefile b/emulators/swarm/Makefile index 3eb9eadde9f..4ffd0b4ec76 100644 --- a/emulators/swarm/Makefile +++ b/emulators/swarm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/06/01 21:02:01 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= swarm-0.61 @@ -9,6 +9,8 @@ MAINTAINER= agc@NetBSD.org HOMEPAGE= http://www.cl.cam.ac.uk/~mwd24/phd/swarm.html COMMENT= Software arm7M core emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/swarm BUILD_DIRS= src @@ -17,8 +19,9 @@ USE_LANGUAGES= c++ INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/swarm ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/swarm - ${INSTALL_DATA} ${WRKSRC}/doc/swarm.pdf ${PREFIX}/share/doc/swarm + ${INSTALL_PROGRAM} ${WRKSRC}/src/swarm ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/swarm + ${INSTALL_DATA} ${WRKSRC}/doc/swarm.pdf \ + ${DESTDIR}${PREFIX}/share/doc/swarm .include "../../mk/bsd.pkg.mk" diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index 319a29e2505..d4c33798e38 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2007/04/06 06:03:08 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2008/03/03 19:21:38 jlam Exp $ DISTNAME= uae-0.8.25 PKGREVISION= 3 @@ -12,6 +12,8 @@ COMMENT= The UAE Amiga Emulator DEPENDS+= unzip>=5.40:../../archivers/unzip +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake pkg-config GNU_CONFIGURE= yes @@ -26,10 +28,10 @@ CONFIGURE_ENV+= cv_func_getmntinfo=yes fu_cv_sys_mounted_getmntinfo=yes INSTALLATION_DIRS= bin do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uae + cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uae cd ${WRKSRC}/docs && ${INSTALL_DATA} FAQ README \ - ${PREFIX}/share/doc/uae + ${DESTDIR}${PREFIX}/share/doc/uae BUILDLINK_DEPMETHOD.libXt?= build diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile index 6e2dc832abd..59d2b191994 100644 --- a/emulators/ucon64/Makefile +++ b/emulators/ucon64/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/03/19 16:40:27 tv Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= ucon64-2.0.0-src @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ucon64.sourceforge.net/ COMMENT= Emulator ROM and disk image converter and inspector +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/src CONFIGURE_ARGS+= --disable-discmage # requires some work @@ -23,12 +25,13 @@ CHECK_PORTABILITY_SKIP+=install_beos.sh INSTALLATION_DIRS= share/examples/ucon64 share/doc/ucon64/images do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt ${PREFIX}/share/examples/ucon64/ + ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt \ + ${DESTDIR}${PREFIX}/share/examples/ucon64 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \ - ${PREFIX}/share/doc/ucon64/ + ${DESTDIR}${PREFIX}/share/doc/ucon64 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \ - ${PREFIX}/share/doc/ucon64/images/ + ${DESTDIR}${PREFIX}/share/doc/ucon64/images .include "options.mk" .include "../../devel/zlib/buildlink3.mk" diff --git a/emulators/uips/Makefile b/emulators/uips/Makefile index 65cadf7b551..bfd73235bcf 100644 --- a/emulators/uips/Makefile +++ b/emulators/uips/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:51 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= uips @@ -11,6 +11,8 @@ MAINTAINER= wiz@NetBSD.org HOMEPAGE= http://www.neillcorlett.com/uips/ COMMENT= IPS patcher with v2 support +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${PKGNAME_NOREV} WRKSRC= ${WRKDIR} @@ -22,8 +24,8 @@ do-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/uips ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uips - ${INSTALL_DATA} ${WRKSRC}/uips.txt ${PREFIX}/share/doc/uips + ${INSTALL_PROGRAM} ${WRKSRC}/uips ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uips + ${INSTALL_DATA} ${WRKSRC}/uips.txt ${DESTDIR}${PREFIX}/share/doc/uips .include "../../mk/bsd.pkg.mk" diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile index 568dea8ad89..d4a2912ad4b 100644 --- a/emulators/vba/Makefile +++ b/emulators/vba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/02/16 01:52:20 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/03 19:21:38 jlam Exp $ DISTNAME= VisualBoyAdvance-src-1.7.2 PKGNAME= vba-1.7.2 @@ -10,6 +10,8 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://vba.ngemu.com/ COMMENT= Gameboy advance emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/VisualBoyAdvance-1.7.2 USE_TOOLS+= gmake USE_LIBTOOL= yes @@ -27,10 +29,11 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/TestEmu ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/VisualBoyAdvance ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vba - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vba + ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/TestEmu ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/VisualBoyAdvance \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/vba + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/vba .include "../../devel/SDL/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" diff --git a/emulators/vmware-module/Makefile b/emulators/vmware-module/Makefile index b0db5839639..42dee772f8d 100644 --- a/emulators/vmware-module/Makefile +++ b/emulators/vmware-module/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/07/31 14:44:02 obache Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/03 19:21:38 jlam Exp $ DISTNAME= vmware-netbsd-1.2 PKGNAME= vmware-module-1.2 @@ -14,6 +14,8 @@ CONFLICTS= vmware-module-3* ONLY_FOR_PLATFORM= NetBSD-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_CONFIGURE= yes @@ -44,26 +46,36 @@ do-build: .endfor do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lkm - ${INSTALL_DATA_DIR} ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/linuxrtc ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmmon ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmnet ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmnetif ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKDIR}/source/linuxrtc/linuxrtc.o ${PREFIX}/lkm - ${INSTALL_DATA} ${WRKDIR}/source/vmmon/vmmon.o ${PREFIX}/lkm - ${INSTALL_DATA} ${WRKDIR}/source/vmnet/if_hub.o ${PREFIX}/lkm - ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/if_hub_post.sh ${PREFIX}/lkm - ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/linuxrtc_post.sh ${PREFIX}/lkm - ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/vmmon_post.sh ${PREFIX}/lkm + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lkm + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/linuxrtc \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmmon \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmnet \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKDIR}/rc.conf.d/vmnetif \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKDIR}/source/linuxrtc/linuxrtc.o \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_DATA} ${WRKDIR}/source/vmmon/vmmon.o \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_DATA} ${WRKDIR}/source/vmnet/if_hub.o \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/if_hub_post.sh \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/linuxrtc_post.sh \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_SCRIPT} ${WRKDIR}/share/lkm/vmmon_post.sh \ + ${DESTDIR}${PREFIX}/lkm @cd ${WRKSRC}/rc.d && for f in linuxrtc vmmon vmnet vmnetif; do \ ${SED} -e 's,@PREFIX@,${PREFIX},' < $$f > $$f.patched; \ - ${INSTALL_SCRIPT} $$f.patched ${PREFIX}/etc/rc.d/$$f; \ + ${INSTALL_SCRIPT} $$f.patched ${DESTDIR}${PREFIX}/etc/rc.d/$$f; \ done ${SED} -e 's,@VMWARE_PREFIX@,${PREFIX},' \ < ${WRKSRC}/rc.conf.d/vmware > ${WRKSRC}/rc.conf.d/vmware.patched ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmware.patched \ - ${PREFIX}/etc/rc.conf.d/vmware + ${DESTDIR}${PREFIX}/etc/rc.conf.d/vmware .include "../../mk/bsd.pkg.mk" diff --git a/emulators/vmware-module3/Makefile b/emulators/vmware-module3/Makefile index 971bb21e119..b274f7c1b11 100644 --- a/emulators/vmware-module3/Makefile +++ b/emulators/vmware-module3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/10/11 10:22:56 jnemeth Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/03 19:21:38 jlam Exp $ DISTNAME= vmware-netbsd-3.2.1.8 PKGNAME= vmware-module-3.2.1.8 @@ -14,6 +14,8 @@ CONFLICTS= vmware-module-1.* ONLY_FOR_PLATFORM= NetBSD-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes NO_SRC_ON_FTP= already there @@ -42,24 +44,34 @@ do-build: .endfor do-install: - ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/linuxrtc ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmmon ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmnet ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmnetif ${PREFIX}/etc/rc.conf.d - ${INSTALL_DATA} ${WRKSRC}/source/linuxrtc/linuxrtc.o ${PREFIX}/lkm - ${INSTALL_DATA} ${WRKSRC}/source/vmmon/vmmon.o ${PREFIX}/lkm - ${INSTALL_DATA} ${WRKSRC}/source/vmnet/vmnet.o ${PREFIX}/lkm - ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/vmnet_post.sh ${PREFIX}/lkm - ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/linuxrtc_post.sh ${PREFIX}/lkm - ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/vmmon_post.sh ${PREFIX}/lkm + ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/linuxrtc \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmmon \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmnet \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmnetif \ + ${DESTDIR}${PREFIX}/etc/rc.conf.d + ${INSTALL_DATA} ${WRKSRC}/source/linuxrtc/linuxrtc.o \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_DATA} ${WRKSRC}/source/vmmon/vmmon.o \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_DATA} ${WRKSRC}/source/vmnet/vmnet.o \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/vmnet_post.sh \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/linuxrtc_post.sh \ + ${DESTDIR}${PREFIX}/lkm + ${INSTALL_SCRIPT} ${WRKSRC}/share/lkm/vmmon_post.sh \ + ${DESTDIR}${PREFIX}/lkm @cd ${WRKSRC}/rc.d && for f in linuxrtc vmmon vmnet vmnetif; do \ ${SED} -e 's,@PREFIX@,${PREFIX},' < $$f > $$f.patched; \ - ${INSTALL_SCRIPT} $$f.patched ${PREFIX}/etc/rc.d/$$f; \ + ${INSTALL_SCRIPT} $$f.patched ${DESTDIR}${PREFIX}/etc/rc.d/$$f; \ done ${SED} -e 's,@VMWARE_PREFIX@,${PREFIX},' \ < ${WRKSRC}/rc.conf.d/vmware > ${WRKSRC}/rc.conf.d/vmware.patched ${INSTALL_DATA} ${WRKSRC}/rc.conf.d/vmware.patched \ - ${PREFIX}/etc/rc.conf.d/vmware + ${DESTDIR}${PREFIX}/etc/rc.conf.d/vmware .include "../../mk/bsd.pkg.mk" diff --git a/emulators/vmware/Makefile b/emulators/vmware/Makefile index 0cf0eb77da0..2b53a062bbc 100644 --- a/emulators/vmware/Makefile +++ b/emulators/vmware/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/07/29 05:19:24 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/03 19:21:38 jlam Exp $ DISTNAME= VMware-2.0.4-1142 PKGNAME= vmware-2.0.4 @@ -24,6 +24,8 @@ LICENSE= vmware-license EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= vmware +PKG_DESTDIR_SUPPORT= destdir + WRKSRC= ${WRKDIR}/vmware-distrib # We could install it into /etc/vmware, but that would mean we install @@ -43,32 +45,32 @@ do-install: do-install-dirs do-install-binaries do-install-docs \ do-install-share do-install-dirs: - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware for dirs in configurator doc floppies help smb xkeymap; do \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/$$dirs; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/$$dirs; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/smb/codepages - ${INSTALL_DATA_DIR} ${VMWARE_CFG_DIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/smb/codepages + ${INSTALL_DATA_DIR} ${DESTDIR}${VMWARE_CFG_DIR} do-install-binaries: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin - ${CHMOD} u+s ${PREFIX}/bin/vmware + ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin + ${CHMOD} u+s ${DESTDIR}${PREFIX}/bin/vmware do-install-docs: - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/vmware/doc + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/vmware/doc do-install-share: - ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${PREFIX}/share/vmware/help - ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${PREFIX}/share/vmware/xkeymap - ${INSTALL_DATA} ${WRKSRC}/lib/floppies/* ${PREFIX}/share/vmware/floppies - ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${PREFIX}/share/vmware/smb/codepages - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/* ${PREFIX}/share/vmware/configurator - ${INSTALL_DATA} ${WRKSRC}/lib/config ${PREFIX}/share/vmware - ${INSTALL_DATA} ${WRKSRC}/lib/floppy.nvr ${PREFIX}/share/vmware - ${INSTALL_MAN} ${WRKDIR}/vmware.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${DESTDIR}${PREFIX}/share/vmware/help + ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${DESTDIR}${PREFIX}/share/vmware/xkeymap + ${INSTALL_DATA} ${WRKSRC}/lib/floppies/* ${DESTDIR}${PREFIX}/share/vmware/floppies + ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${DESTDIR}${PREFIX}/share/vmware/smb/codepages + ${INSTALL_DATA} ${WRKSRC}/lib/configurator/* ${DESTDIR}${PREFIX}/share/vmware/configurator + ${INSTALL_DATA} ${WRKSRC}/lib/config ${DESTDIR}${PREFIX}/share/vmware + ${INSTALL_DATA} ${WRKSRC}/lib/floppy.nvr ${DESTDIR}${PREFIX}/share/vmware + ${INSTALL_MAN} ${WRKDIR}/vmware.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 post-install: - @${RM} -f ${VMWARE_CFG_DIR}/config + @${RM} -f ${DESTDIR}${VMWARE_CFG_DIR}/config @( \ ${ECHO} "vmware.fullpath = \"${PREFIX}/bin/vmware\""; \ ${ECHO} "wizard.fullpath = \"${PREFIX}/bin/vmware-wizard\""; \ @@ -78,6 +80,6 @@ post-install: ${ECHO} "libdir = \"${PREFIX}/share/vmware\""; \ ${ECHO} "vmnet1.HostOnlyAddress = \"172.16.212.1\""; \ ${ECHO} "vmnet1.HostOnlyNetMask = \"255.255.255.0\""; \ - ) > ${VMWARE_CFG_DIR}/config + ) > ${DESTDIR}${VMWARE_CFG_DIR}/config .include "../../mk/bsd.pkg.mk" diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile index a2a018af87f..5b2c97496fe 100644 --- a/emulators/vmware3/Makefile +++ b/emulators/vmware3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/11/25 11:52:45 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/03 19:21:39 jlam Exp $ DISTNAME= VMware-workstation-3.2.1-2242 PKGNAME= vmware-3.2.1pl1 @@ -26,6 +26,8 @@ EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= vmware EMUL_REQD= suse>=6.4nb1 +PKG_DESTDIR_SUPPORT= destdir + WRKSRC= ${WRKDIR}/vmware-distrib # There is a kernel bug in NetBSD 3.0 for vmware. @@ -56,41 +58,41 @@ do-install: do-install-dirs do-install-binaries do-install-docs \ do-install-share do-install-dirs: - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware for dirs in bin configurator doc isoimages help licenses messages smb xkeymap; do \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/$$dirs; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/$$dirs; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/licenses/site - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/licenses/user - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/messages/chef - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/messages/ja - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/messages/jive - ${INSTALL_DATA_DIR} ${PREFIX}/share/vmware/smb/codepages - ${INSTALL_DATA_DIR} ${VMWARE_CFG_DIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/licenses/site + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/licenses/user + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/messages/chef + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/messages/ja + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/messages/jive + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/vmware/smb/codepages + ${INSTALL_DATA_DIR} ${DESTDIR}${VMWARE_CFG_DIR} do-install-binaries: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin - ${CHMOD} u+s ${PREFIX}/bin/vmware + ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin + ${CHMOD} u+s ${DESTDIR}${PREFIX}/bin/vmware do-install-docs: - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/vmware/doc + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/vmware/doc do-install-share: - ${INSTALL_SCRIPT} ${WRKSRC}/lib/bin/* ${PREFIX}/share/vmware/bin - ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${PREFIX}/share/vmware/help - ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${PREFIX}/share/vmware/xkeymap - ${INSTALL_DATA} ${WRKSRC}/lib/isoimages/* ${PREFIX}/share/vmware/isoimages - ${INSTALL_DATA} ${WRKSRC}/lib/licenses/user/* ${PREFIX}/share/vmware/licenses/user - ${INSTALL_DATA} ${WRKSRC}/lib/messages/chef/* ${PREFIX}/share/vmware/messages/chef - ${INSTALL_DATA} ${WRKSRC}/lib/messages/ja/* ${PREFIX}/share/vmware/messages/ja - ${INSTALL_DATA} ${WRKSRC}/lib/messages/jive/* ${PREFIX}/share/vmware/messages/jive - ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${PREFIX}/share/vmware/smb/codepages - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/* ${PREFIX}/share/vmware/configurator - ${INSTALL_DATA} ${WRKSRC}/lib/config ${PREFIX}/share/vmware - ${INSTALL_MAN} ${WRKDIR}/vmware.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/lib/bin/* ${DESTDIR}${PREFIX}/share/vmware/bin + ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${DESTDIR}${PREFIX}/share/vmware/help + ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${DESTDIR}${PREFIX}/share/vmware/xkeymap + ${INSTALL_DATA} ${WRKSRC}/lib/isoimages/* ${DESTDIR}${PREFIX}/share/vmware/isoimages + ${INSTALL_DATA} ${WRKSRC}/lib/licenses/user/* ${DESTDIR}${PREFIX}/share/vmware/licenses/user + ${INSTALL_DATA} ${WRKSRC}/lib/messages/chef/* ${DESTDIR}${PREFIX}/share/vmware/messages/chef + ${INSTALL_DATA} ${WRKSRC}/lib/messages/ja/* ${DESTDIR}${PREFIX}/share/vmware/messages/ja + ${INSTALL_DATA} ${WRKSRC}/lib/messages/jive/* ${DESTDIR}${PREFIX}/share/vmware/messages/jive + ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${DESTDIR}${PREFIX}/share/vmware/smb/codepages + ${INSTALL_DATA} ${WRKSRC}/lib/configurator/* ${DESTDIR}${PREFIX}/share/vmware/configurator + ${INSTALL_DATA} ${WRKSRC}/lib/config ${DESTDIR}${PREFIX}/share/vmware + ${INSTALL_MAN} ${WRKDIR}/vmware.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 post-install: - @${RM} -f ${VMWARE_CFG_DIR}/config + @${RM} -f ${DESTDIR}${VMWARE_CFG_DIR}/config @( \ ${ECHO} "vmware.fullpath = \"${PREFIX}/bin/vmware\""; \ ${ECHO} "wizard.fullpath = \"${PREFIX}/bin/vmware-wizard\""; \ @@ -102,6 +104,6 @@ post-install: ${ECHO} "vmnet1.HostOnlyNetMask = \"255.255.255.0\""; \ ${ECHO} "host.FSSupportLocking1 = 0x1"; \ ${ECHO} "xkeymap.usekeycodeMapIfXFree86 = true"; \ - ) > ${VMWARE_CFG_DIR}/config + ) > ${DESTDIR}${VMWARE_CFG_DIR}/config .include "../../mk/bsd.pkg.mk" diff --git a/emulators/xm7/Makefile b/emulators/xm7/Makefile index 77473732114..1dfa361c84a 100644 --- a/emulators/xm7/Makefile +++ b/emulators/xm7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/09/25 10:07:05 hira Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/03 19:21:39 jlam Exp $ # DISTNAME= xm71010s @@ -14,6 +14,8 @@ COMMENT= X11-based FM-7 emulator BUILD_DEPENDS+= nkf>=1.7:../../converters/nkf +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= source archive is not redistributable LICENSE= no-commercial-use NO_SRC_ON_CDROM= ${RESTRICTED} @@ -30,7 +32,7 @@ post-extract: cd ${WRKDIR} && mv linux/* vm do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${DESTDIR}${PREFIX}/bin .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index f559b6df9ee..e7a8b6b9ed6 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.151 2007/10/09 19:19:09 martti Exp $ +# $NetBSD: Makefile,v 1.152 2008/03/03 19:21:39 jlam Exp $ # DISTNAME= xmame-0.106 @@ -15,6 +15,8 @@ RESTRICTED= selling is not allowed NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake MAKE_FILE= makefile.unix TARGET= ${PKGBASE} @@ -101,18 +103,21 @@ post-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${TARGET}.${MAME_DISP_METHOD} \ - ${PREFIX}/bin/${TARGET} - ${INSTALL_PROGRAM} ${WRKSRC}/romcmp ${PREFIX}/bin/romcmp - ${INSTALL_PROGRAM} ${WRKSRC}/chdman ${PREFIX}/bin/chdman - ${INSTALL_PROGRAM} ${WRKSRC}/xml2info ${PREFIX}/bin/xml2info + ${DESTDIR}${PREFIX}/bin/${TARGET} + ${INSTALL_PROGRAM} ${WRKSRC}/romcmp ${DESTDIR}${PREFIX}/bin/romcmp + ${INSTALL_PROGRAM} ${WRKSRC}/chdman ${DESTDIR}${PREFIX}/bin/chdman + ${INSTALL_PROGRAM} ${WRKSRC}/xml2info ${DESTDIR}${PREFIX}/bin/xml2info ${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6 \ - ${PREFIX}/${PKGMANDIR}/man6/${TARGET}.6 - ${INSTALL_DATA_DIR} ${ROMPATH} - ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/xmame/ - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/html/xmame/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmame - ${INSTALL_DATA} ${WRKSRC}/doc/xmame-doc.txt ${PREFIX}/share/doc/xmame + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/${TARGET}.6 + ${INSTALL_DATA_DIR} ${DESTDIR}${ROMPATH} + ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc \ + ${DESTDIR}${ROMPATH}/${TARGET}rc + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/xmame/ + ${INSTALL_DATA} ${WRKSRC}/doc/*.html \ + ${DESTDIR}${PREFIX}/share/doc/html/xmame/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xmame + ${INSTALL_DATA} ${WRKSRC}/doc/xmame-doc.txt \ + ${DESTDIR}${PREFIX}/share/doc/xmame # Pragma once is not needed, and case warnings/errors on gcc SUBST_CLASSES+= pragma diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile index 3fc4b2e42dc..1d37502fe36 100644 --- a/emulators/xmess/Makefile +++ b/emulators/xmess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.89 2007/02/07 19:20:12 joerg Exp $ +# $NetBSD: Makefile,v 1.90 2008/03/03 19:21:39 jlam Exp $ # DISTNAME= xmame-0.106 @@ -15,6 +15,8 @@ RESTRICTED= selling is not allowed NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake MAKE_FILE= makefile.unix TARGET= ${PKGBASE} @@ -105,12 +107,13 @@ post-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${TARGET}.${MAME_DISP_METHOD} \ - ${PREFIX}/bin/${TARGET} - ${INSTALL_PROGRAM} ${WRKSRC}/imgtool ${PREFIX}/bin/imgtool + ${DESTDIR}${PREFIX}/bin/${TARGET} + ${INSTALL_PROGRAM} ${WRKSRC}/imgtool ${DESTDIR}${PREFIX}/bin/imgtool ${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6 \ - ${PREFIX}/${PKGMANDIR}/man6/${TARGET}.6 - ${INSTALL_DATA_DIR} ${ROMPATH} - ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/${TARGET}.6 + ${INSTALL_DATA_DIR} ${DESTDIR}${ROMPATH} + ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc \ + ${DESTDIR}${ROMPATH}/${TARGET}rc # Pragma once is not needed, and case warnings/errors on gcc SUBST_CLASSES+= pragma diff --git a/emulators/xyame/Makefile b/emulators/xyame/Makefile index 4dcf21d8a25..b3bbc938b7d 100644 --- a/emulators/xyame/Makefile +++ b/emulators/xyame/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/07/29 05:19:25 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 19:21:39 jlam Exp $ # DISTNAME= xyame038 @@ -14,13 +14,16 @@ COMMENT= Multi-system emulator (Gameboy, NES, and PC-Engine) EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= x11 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} BUILD_DIRS= # empty INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xyame ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/yame.6 ${PREFIX}/${PKGMANDIR}/man6/xyame.6 + ${INSTALL_PROGRAM} ${WRKSRC}/xyame ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/yame.6 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xyame.6 .include "../../mk/bsd.pkg.mk" diff --git a/filesystems/fuse-archivemount/Makefile b/filesystems/fuse-archivemount/Makefile index bb9a1fd678e..9b7d5adf630 100644 --- a/filesystems/fuse-archivemount/Makefile +++ b/filesystems/fuse-archivemount/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/07/29 17:37:51 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= archivemount-0.5.3 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cybernoia.de/software/archivemount/ COMMENT= FUSE gateway to libarchive +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake NO_CONFIGURE= yes @@ -23,7 +25,7 @@ CPPFLAGS+= -DHAVE_STATVFS INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/archivemount ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/archivemount ${DESTDIR}${PREFIX}/bin .include "../../archivers/libarchive/buildlink3.mk" .include "../../mk/fuse.buildlink3.mk" diff --git a/filesystems/fuse-cddfs/Makefile b/filesystems/fuse-cddfs/Makefile index 784c3538595..bcafdb7d9a0 100644 --- a/filesystems/fuse-cddfs/Makefile +++ b/filesystems/fuse-cddfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/02/20 22:57:44 xtraeme Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= cddfs-0.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://castet.matthieu.free.fr/cddfs/ COMMENT= FUSE filesystem that uses libparanoia for audio CDs +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes BUILD_TARGET= cddfs @@ -18,8 +20,8 @@ BUILDLINK_FNAME_TRANSFORM.cdparanoia+= -e "s|/cdparanoia/|/|g" INSTALLATION_DIRS= bin share/doc/fuse-cddfs do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cddfs ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fuse-cddfs + ${INSTALL_PROGRAM} ${WRKSRC}/cddfs ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fuse-cddfs .include "../../audio/cdparanoia/buildlink3.mk" .include "../../mk/fuse.buildlink3.mk" diff --git a/filesystems/fuse-gmailfs/Makefile b/filesystems/fuse-gmailfs/Makefile index 582b9a03e28..ee41c19666f 100644 --- a/filesystems/fuse-gmailfs/Makefile +++ b/filesystems/fuse-gmailfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= gmailfs-0.7.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html COMMENT= FUSE filesystem which uses Google mail for free space +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes PYTHON_VERSIONS_ACCEPTED= 24 PYTHON_PATCH_SCRIPTS= gmailfs.py mount.gmailfs @@ -27,11 +29,16 @@ SUBST_MESSAGE.config= Fixing paths. PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q} +INSTALLATION_DIRS= sbin ${PYSITELIB} + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/gmailfs.py ${PREFIX}/${PYSITELIB}/ - ${INSTALL_SCRIPT} ${WRKSRC}/mount.gmailfs ${PREFIX}/sbin/mount_gmailfs - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gmailfs - ${INSTALL_DATA} ${WRKSRC}/gmailfs.conf ${PREFIX}/share/examples/gmailfs/ + ${INSTALL_SCRIPT} ${WRKSRC}/gmailfs.py \ + ${DESTDIR}${PREFIX}/${PYSITELIB}/ + ${INSTALL_SCRIPT} ${WRKSRC}/mount.gmailfs \ + ${DESTDIR}${PREFIX}/sbin/mount_gmailfs + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gmailfs + ${INSTALL_DATA} ${WRKSRC}/gmailfs.conf \ + ${DESTDIR}${PREFIX}/share/examples/gmailfs/ .include "../../filesystems/py-fuse-bindings/buildlink3.mk" diff --git a/filesystems/fuse-httpfs/Makefile b/filesystems/fuse-httpfs/Makefile index 707623afa93..5cce644224b 100644 --- a/filesystems/fuse-httpfs/Makefile +++ b/filesystems/fuse-httpfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/15 22:55:21 agc Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= httpfs_with_static_binaries_${DIST_VER} @@ -12,6 +12,8 @@ COMMENT= FUSE HTTP filesystem DIST_VER= 2.06.08.26 +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes WRKSRC= ${WRKDIR} @@ -27,7 +29,7 @@ do-build: ${WRKSRC}/httpfs.c -o ${WRKSRC}/httpfs do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/httpfs ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/httpfs ${DESTDIR}${PREFIX}/bin .include "../../mk/fuse.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/filesystems/fuse-loggedfs/Makefile b/filesystems/fuse-loggedfs/Makefile index ffba171727a..a215f513add 100644 --- a/filesystems/fuse-loggedfs/Makefile +++ b/filesystems/fuse-loggedfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/06/11 22:02:37 xtraeme Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= loggedfs-0.4 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= ${MASTER_SITE_SOURCEFORGE:=loggedfs/} COMMENT= FUSE file system which logs all operations +PKG_DESTDIR_SUPPORT= user-destdir + .if exists(/usr/include/sys/statvfs.h) CPPFLAGS+= -DHAVE_SYS_STATVFS_H .endif @@ -19,12 +21,13 @@ CPPFLAGS+= -DHAVE_SYS_STATVFS_H CPPFLAGS+= -DHAVE_SETXATTR .endif -USE_LANGUAGES+= c++ +USE_LANGUAGES+= c++ +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/loggedfs ${PREFIX}/bin/loggedfs + ${INSTALL_PROGRAM} ${WRKSRC}/loggedfs ${DESTDIR}${PREFIX}/bin/loggedfs ${INSTALL_MAN} ${WRKSRC}/loggedfs.1 \ - ${PREFIX}/${PKGMANDIR}/man1/loggedfs.1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/loggedfs.1 .include "../../devel/librlog/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" diff --git a/filesystems/fuse-lzofs/Makefile b/filesystems/fuse-lzofs/Makefile index d9e7b9ddf7b..2acf0a76b1d 100644 --- a/filesystems/fuse-lzofs/Makefile +++ b/filesystems/fuse-lzofs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/15 22:55:21 agc Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= LZOlayer_fs-20060306 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://north.one.pl/~kazik/pub/LZOlayer/ COMMENT= Filesystem which allows you to use transparently compressed files +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake NO_CONFIGURE= yes BUILD_TARGET= default @@ -17,7 +19,7 @@ BUILD_TARGET= default INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lzo_fs ${PREFIX}/bin/lzo_fs + ${INSTALL_PROGRAM} ${WRKSRC}/lzo_fs ${DESTDIR}${PREFIX}/bin/lzo_fs .include "../../archivers/lzo/buildlink3.mk" .include "../../mk/fuse.buildlink3.mk" diff --git a/filesystems/fuse-unionfs/Makefile b/filesystems/fuse-unionfs/Makefile index b1619a1e66b..84f2ee425d8 100644 --- a/filesystems/fuse-unionfs/Makefile +++ b/filesystems/fuse-unionfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/03/10 12:51:03 agc Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= unionfs-fuse-0.17 @@ -11,10 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://podgorny.cz/unionfs-fuse/ COMMENT= FUSE-based union filesystem +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= unionfs +INSTALLATION_DIRS= bin + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unionfs ${PREFIX}/bin/fuse-unionfs + ${INSTALL_PROGRAM} ${WRKSRC}/unionfs \ + ${DESTDIR}${PREFIX}/bin/fuse-unionfs .include "../../mk/fuse.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/finance/gkrellm-stock/Makefile b/finance/gkrellm-stock/Makefile index 0a037220af8..d9ada3b0971 100644 --- a/finance/gkrellm-stock/Makefile +++ b/finance/gkrellm-stock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/01/18 05:06:33 tnn Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/03 19:31:20 jlam Exp $ # DISTNAME= gkrellstock-0.5.1 @@ -13,6 +13,8 @@ COMMENT= GKrellM2 stock ticker plugin DEPENDS+= p5-Finance-Quote>=1.08:../../finance/p5-Finance-Quote +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run pkg-config WRKSRC= ${WRKDIR}/gkrellStock-0.5.1 BUILD_TARGET= gkrellstock.so @@ -20,8 +22,9 @@ REPLACE_PERL= ${WRKSRC}/GetQuote2 INSTALLATION_DIRS= bin lib/gkrellm2/plugins do-install: - ${INSTALL_DATA} ${WRKSRC}/gkrellstock.so ${PREFIX}/lib/gkrellm2/plugins - ${INSTALL_SCRIPT} ${WRKSRC}/GetQuote2 ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/GetQuote2 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/gkrellstock.so \ + ${DESTDIR}${PREFIX}/lib/gkrellm2/plugins .include "../../sysutils/gkrellm/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/finance/tclticker/Makefile b/finance/tclticker/Makefile index 0865b285444..454b34d3b06 100644 --- a/finance/tclticker/Makefile +++ b/finance/tclticker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/03/10 23:53:49 rillig Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 19:31:21 jlam Exp $ # DISTNAME= tclticker-1.1 @@ -12,6 +12,7 @@ COMMENT= Stock-quote ticker tape application DEPENDS+= tk>=8.3.2:../../x11/tk PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= yes NO_BUILD= yes @@ -25,9 +26,9 @@ SUBST_SED.paths= -e 's|@PREFIX@|${PREFIX}|g' INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC:Q}/tclticker ${PREFIX:Q}/bin - ${INSTALL_SCRIPT} ${WRKSRC:Q}/mailquote ${PREFIX:Q}/bin - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/tclticker - cd ${WRKSRC:Q}/lib && ${PAX} -rw . ${PREFIX:Q}/share/tclticker + ${INSTALL_SCRIPT} ${WRKSRC:Q}/tclticker ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_SCRIPT} ${WRKSRC:Q}/mailquote ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/tclticker + cd ${WRKSRC:Q}/lib && ${PAX} -rw . ${DESTDIR}${PREFIX:Q}/share/tclticker .include "../../mk/bsd.pkg.mk" |