summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 20:15:46 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 20:15:46 +0000
commitafed6d9ef3476470bb406641b823fdaf56726788 (patch)
tree0f6d4aa1c071ab8f4b5497c511d60872127c56ed
parent626121934439212b0e1551704e96c05526c8b3d4 (diff)
downloadpkgsrc-afed6d9ef3476470bb406641b823fdaf56726788.tar.gz
DESTDIR support
-rw-r--r--emulators/aranym/Makefile26
-rw-r--r--games/LostPixels/Makefile4
-rw-r--r--games/angband-x11/Makefile13
-rw-r--r--games/atomix/Makefile4
-rw-r--r--games/cgoban/Makefile4
-rw-r--r--games/cgoban/distinfo4
-rw-r--r--games/cgoban/patches/patch-aa4
-rw-r--r--games/chest/Makefile4
-rw-r--r--games/defendguin/Makefile7
9 files changed, 43 insertions, 27 deletions
diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile
index b9b67934fdf..6627a065879 100644
--- a/emulators/aranym/Makefile
+++ b/emulators/aranym/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/08/07 16:19:34 hauke Exp $
+# $NetBSD: Makefile,v 1.21 2010/01/29 20:20:53 joerg Exp $
#
DISTNAME= aranym-0.9.6beta2
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://aranym.sourceforge.net/
COMMENT= Atari Running on Any Machine
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake gzip
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
@@ -20,8 +22,8 @@ MANCOMPRESSED= yes
CONFIGURE_ARGS+= --enable-fullmmu
EMUTOS_WRKSRC= ${WRKDIR}/emutos-512k-0.8.3
-EMUTOS_DOC_DIR= ${DESTDIR}${PREFIX}/share/doc/aranym/emutos
-EMUTOS_ROM_DIR= ${DESTDIR}${PREFIX}/share/aranym
+EMUTOS_DOC_DIR= ${PREFIX}/share/doc/aranym/emutos
+EMUTOS_ROM_DIR= ${PREFIX}/share/aranym
REQD_DIRS+= ${EMUTOS_ROM_DIR} ${EMUTOS_DOC_DIR}
@@ -40,16 +42,16 @@ SUBST_MESSAGE.paths= Fixing hardcoded paths.
CONFIGURE_ARGS+= --enable-nfpci
.endif
+INSTALLATION_DIRS+= ${EMUTOS_DOC_DIR} ${EMUTOS_ROM_DIR}
+
post-install:
- #${INSTALL_DATA_DIR} ${EMUTOS_ROM_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/etos512k.img ${EMUTOS_ROM_DIR}
- ${INSTALL_DATA_DIR} ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/readme.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/announce.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/authors.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/changelog.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/license.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/status.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/etos512k.img ${DESTDIR}${EMUTOS_ROM_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/readme.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/announce.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/authors.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/changelog.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/license.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/status.txt ${DESTDIR}${EMUTOS_DOC_DIR}
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/LostPixels/Makefile b/games/LostPixels/Makefile
index b1c20871ffa..0503f79a082 100644
--- a/games/LostPixels/Makefile
+++ b/games/LostPixels/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/01/18 09:58:50 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2010/01/29 20:15:46 joerg Exp $
#
DISTNAME= LostPixels-0.5.3-source
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.blinkensisters.org/wiki/index.php/Main_Page
COMMENT= Blinken Sisters - Hunt for the Lost Pixels (80s-style Jump'n'Run)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/blinkensisters/lostpixels/game/software
USE_CMAKE= yes
USE_LANGUAGES= c c++
diff --git a/games/angband-x11/Makefile b/games/angband-x11/Makefile
index 3b5bc0d417d..45558dd0e61 100644
--- a/games/angband-x11/Makefile
+++ b/games/angband-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2008/05/26 02:13:19 joerg Exp $
+# $NetBSD: Makefile,v 1.44 2010/01/29 20:20:00 joerg Exp $
#
DISTNAME= angband-3.0.3
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.thangorodrim.net/
COMMENT= Tolkien based variant of Moria for X11 displays
+PKG_DESTDIR_SUPPORT= destdir
+
CONFLICTS= angband-tty-[0-9]*
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -36,13 +38,14 @@ SUBST_MESSAGE.070= Fixing file permissions.
SUBST_FILES.070= lib/save/Makefile.in lib/bone/Makefile.in
SUBST_SED.070= -e 's,070,770,g'
+INSTALLATION_DIRS+= share/games/angband/lib/info
+
# add spoiler files and clean up a bit
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/games/angband/lib/info
- cd ${PREFIX}/share/games/angband/lib/info/ && \
+ cd ${DESTDIR}${PREFIX}/share/games/angband/lib/info/ && \
pax -O -zrf ${DISTDIR}/${SPOILERFILE}
- ${CHOWN} -R bin:games ${PREFIX}/share/games/angband
- ${FIND} ${PREFIX}/share/games/angband -name delete.me -exec ${RM} {} \;
+ ${CHOWN} -R bin:games ${DESTDIR}${PREFIX}/share/games/angband
+ ${FIND} ${DESTDIR}${PREFIX}/share/games/angband -name delete.me -exec ${RM} {} \;
BUILDLINK_DEPMETHOD.libXt?= build
diff --git a/games/atomix/Makefile b/games/atomix/Makefile
index 9502a913c89..4614a8d42b8 100644
--- a/games/atomix/Makefile
+++ b/games/atomix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/01/18 09:58:50 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/29 20:21:21 joerg Exp $
#
DISTNAME= atomix-2.14.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jens.triq.net/atomix.php
COMMENT= Puzzle game
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
diff --git a/games/cgoban/Makefile b/games/cgoban/Makefile
index 1617e0b5637..6d41152c0af 100644
--- a/games/cgoban/Makefile
+++ b/games/cgoban/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/12/05 14:56:38 bad Exp $
+# $NetBSD: Makefile,v 1.16 2010/01/29 20:22:11 joerg Exp $
DISTNAME= cgoban-1.9.14
CATEGORIES= games x11
@@ -8,6 +8,8 @@ MAINTAINER= bad@NetBSD.org
HOMEPAGE= http://cgoban1.sourceforge.net/
COMMENT= The complete goban. A Go server client and sgf viewer/editor
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
diff --git a/games/cgoban/distinfo b/games/cgoban/distinfo
index 687e1a6f9ca..129d4f7ce0e 100644
--- a/games/cgoban/distinfo
+++ b/games/cgoban/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2009/12/05 14:56:39 bad Exp $
+$NetBSD: distinfo,v 1.6 2010/01/29 20:22:11 joerg Exp $
SHA1 (cgoban-1.9.14.tar.gz) = 90bd53499c9f410caddaae601e7f00350d520a32
RMD160 (cgoban-1.9.14.tar.gz) = c5c3abd6ea422cc9192db48972d584fbfd2fca06
Size (cgoban-1.9.14.tar.gz) = 417691 bytes
-SHA1 (patch-aa) = d3d421f12dce42542da0cf06636c7a7adfce46fb
+SHA1 (patch-aa) = b71b7be5b325e3806a3f42c2ac69545f81b75cc0
diff --git a/games/cgoban/patches/patch-aa b/games/cgoban/patches/patch-aa
index 6dbade85a34..f5ba8bdf410 100644
--- a/games/cgoban/patches/patch-aa
+++ b/games/cgoban/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2009/12/05 14:56:39 bad Exp $
+$NetBSD: patch-aa,v 1.7 2010/01/29 20:22:11 joerg Exp $
--- Makefile.in.orig 2003-01-06 19:33:40.000000000 +0000
+++ Makefile.in 2009-12-05 13:46:39.000000000 +0000
@@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.6 2009/12/05 14:56:39 bad Exp $
info-am:
install-data-am:
-+ $(INSTALL_DATA) seigen-minoru.sgf $(PREFIX)/share/misc/seigen-minoru.sgf
++ $(INSTALL_DATA) seigen-minoru.sgf ${DESTDIR}$(PREFIX)/share/misc/seigen-minoru.sgf
install-exec-am: install-binSCRIPTS
diff --git a/games/chest/Makefile b/games/chest/Makefile
index 2377b8f5070..4b08d22bd2f 100644
--- a/games/chest/Makefile
+++ b/games/chest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/14 17:36:57 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2010/01/29 20:22:27 joerg Exp $
#
DISTNAME= chest-3.19
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.drb.insel.de/~heiner/Chess/chest.html
COMMENT= Chess problem solver
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= Templates/Makefile.simple
DIST_SUBDIR= ${PKGNAME_NOREV}
diff --git a/games/defendguin/Makefile b/games/defendguin/Makefile
index 8585bd2a50a..af34ff6a921 100644
--- a/games/defendguin/Makefile
+++ b/games/defendguin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/12/29 09:52:10 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2010/01/29 20:24:16 joerg Exp $
DISTNAME= defendguin-0.0.10
PKGREVISION= 7
@@ -9,10 +9,13 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.newbreedsoftware.com/defendguin/
COMMENT= Clone of the arcade game Defender
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
-INSTALLATION_DIRS= ${PKGMANDIR}/man6
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
+
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"