pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Mechanical changes to add DESTDIR support to packages ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee79803eb57a
branches: trunk
changeset: 539326:ee79803eb57a
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Mar 03 19:21:37 2008 +0000
description:
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
diffstat:
emulators/Cygne-SDL/Makefile | 16 +++++----
emulators/DatLib/Makefile | 26 ++++++++-------
emulators/DatUtil/Makefile | 10 +++--
emulators/MAMEDiff/Makefile | 11 ++++--
emulators/ROMBuild/Makefile | 11 ++++--
emulators/ROMInfo/Makefile | 11 ++++--
emulators/ZIPIdent/Makefile | 11 ++++--
emulators/aliados/Makefile | 5 +-
emulators/applyppf/Makefile | 9 +++-
emulators/arnold/Makefile | 11 ++++--
emulators/compat_netbsd/Makefile.common | 9 +++-
emulators/cygwin_esound/Makefile | 13 +++++--
emulators/cygwin_lib/Makefile | 14 +++++--
emulators/darcnes/Makefile | 10 +++--
emulators/dega/Makefile | 6 ++-
emulators/dynamips/Makefile | 8 ++-
emulators/fmsx/Makefile | 14 ++++---
emulators/freebsd_lib/Makefile | 16 +++++---
emulators/gcube/Makefile | 9 ++--
emulators/generator-cbiere/Makefile | 8 +++-
emulators/gnuboy-sdl/Makefile | 19 ++++++----
emulators/gnuboy/Makefile | 14 ++++---
emulators/hercules-images/Makefile | 11 ++++--
emulators/ia64sim/Makefile | 6 ++-
emulators/kenigma/Makefile | 19 +++++++----
emulators/lrmi/Makefile | 14 ++++---
emulators/m1/Makefile | 14 ++++---
emulators/makeppf/Makefile | 6 ++-
emulators/minivmac/Makefile | 10 +++--
emulators/mmix/Makefile | 14 ++++---
emulators/ski/Makefile | 10 +++--
emulators/sms_sdl/Makefile | 20 +++++++----
emulators/snes9x/Makefile | 27 ++++++++++-----
emulators/swarm/Makefile | 11 ++++--
emulators/uae/Makefile | 10 +++--
emulators/ucon64/Makefile | 13 ++++--
emulators/uips/Makefile | 10 +++--
emulators/vba/Makefile | 13 ++++--
emulators/vmware-module/Makefile | 42 +++++++++++++++--------
emulators/vmware-module3/Makefile | 38 ++++++++++++++-------
emulators/vmware/Makefile | 38 +++++++++++----------
emulators/vmware3/Makefile | 56 +++++++++++++++++---------------
emulators/xm7/Makefile | 6 ++-
emulators/xmame/Makefile | 29 ++++++++++-------
emulators/xmess/Makefile | 15 +++++---
emulators/xyame/Makefile | 9 +++-
filesystems/fuse-archivemount/Makefile | 6 ++-
filesystems/fuse-cddfs/Makefile | 8 ++-
filesystems/fuse-gmailfs/Makefile | 17 +++++++--
filesystems/fuse-httpfs/Makefile | 6 ++-
filesystems/fuse-loggedfs/Makefile | 11 ++++--
filesystems/fuse-lzofs/Makefile | 6 ++-
filesystems/fuse-unionfs/Makefile | 9 ++++-
finance/gkrellm-stock/Makefile | 9 +++-
finance/tclticker/Makefile | 11 +++--
55 files changed, 480 insertions(+), 305 deletions(-)
diffs (truncated from 1987 to 300 lines):
diff -r a62ec8848c7c -r ee79803eb57a emulators/Cygne-SDL/Makefile
--- a/emulators/Cygne-SDL/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/Cygne-SDL/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
${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 -r a62ec8848c7c -r ee79803eb57a emulators/DatLib/Makefile
--- a/emulators/DatLib/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/DatLib/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
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 -r a62ec8848c7c -r ee79803eb57a emulators/DatUtil/Makefile
--- a/emulators/DatUtil/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/DatUtil/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
${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 -r a62ec8848c7c -r ee79803eb57a emulators/MAMEDiff/Makefile
--- a/emulators/MAMEDiff/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/MAMEDiff/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
${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 -r a62ec8848c7c -r ee79803eb57a emulators/ROMBuild/Makefile
--- a/emulators/ROMBuild/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/ROMBuild/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
${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 -r a62ec8848c7c -r ee79803eb57a emulators/ROMInfo/Makefile
--- a/emulators/ROMInfo/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/ROMInfo/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 -r a62ec8848c7c -r ee79803eb57a emulators/ZIPIdent/Makefile
--- a/emulators/ZIPIdent/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/ZIPIdent/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
${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 -r a62ec8848c7c -r ee79803eb57a emulators/aliados/Makefile
--- a/emulators/aliados/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/aliados/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
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 @@
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 -r a62ec8848c7c -r ee79803eb57a emulators/applyppf/Makefile
--- a/emulators/applyppf/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/applyppf/Makefile Mon Mar 03 19:21:37 2008 +0000
@@ -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 @@
#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 @@
-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 -r a62ec8848c7c -r ee79803eb57a emulators/arnold/Makefile
--- a/emulators/arnold/Makefile Mon Mar 03 18:48:21 2008 +0000
+++ b/emulators/arnold/Makefile Mon Mar 03 19:21:37 2008 +0000
Home |
Main Index |
Thread Index |
Old Index