summaryrefslogtreecommitdiff
path: root/games/xarchon
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-14 21:36:26 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-14 21:36:26 +0000
commitede98aba58699685f026d38bc763fd1de15656d6 (patch)
tree1e22ae2518de8824f8312650aaa443519729b4e5 /games/xarchon
parent898fbafaf12dc351bce0c2ffb36481774c9398ab (diff)
downloadpkgsrc-ede98aba58699685f026d38bc763fd1de15656d6.tar.gz
DESTDIR support
Diffstat (limited to 'games/xarchon')
-rw-r--r--games/xarchon/Makefile4
-rw-r--r--games/xarchon/distinfo3
-rw-r--r--games/xarchon/patches/patch-aq15
3 files changed, 20 insertions, 2 deletions
diff --git a/games/xarchon/Makefile b/games/xarchon/Makefile
index ff37811ca10..a2e47cf5ef9 100644
--- a/games/xarchon/Makefile
+++ b/games/xarchon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2010/01/18 09:58:54 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2010/02/14 21:36:26 joerg Exp $
#
DISTNAME= xarchon-0.60
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xarchon.seul.org/
COMMENT= Chess-like strategy game with battle options
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
diff --git a/games/xarchon/distinfo b/games/xarchon/distinfo
index 63989f4d6c6..c5c64422f8e 100644
--- a/games/xarchon/distinfo
+++ b/games/xarchon/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2006/08/03 01:00:00 kristerw Exp $
+$NetBSD: distinfo,v 1.11 2010/02/14 21:36:26 joerg Exp $
SHA1 (xarchon-0.60.tar.gz) = e68f79a712a8bff5ca18e5011d1582f7e5196f49
RMD160 (xarchon-0.60.tar.gz) = fdaa7556ee980b004efe4aaae59618fddba8a10b
@@ -19,3 +19,4 @@ SHA1 (patch-am) = 619b7e66a072666c499abfde09fe707cd7d06d3f
SHA1 (patch-an) = f0be4b2d99512c0130c4d1be7bfb99eb6923ff19
SHA1 (patch-ao) = b472cace00aa8ee151fb9e37ec79b40e2574ea88
SHA1 (patch-ap) = 524ef2d48a6c02f7052199a92c0ece690cb7a51f
+SHA1 (patch-aq) = 4612462f01687078255300e6a63c4ee96b34893b
diff --git a/games/xarchon/patches/patch-aq b/games/xarchon/patches/patch-aq
new file mode 100644
index 00000000000..85bd75919bf
--- /dev/null
+++ b/games/xarchon/patches/patch-aq
@@ -0,0 +1,15 @@
+$NetBSD: patch-aq,v 1.1 2010/02/14 21:36:26 joerg Exp $
+
+--- data/Makefile.in.orig 2010-02-14 21:29:09.000000000 +0000
++++ data/Makefile.in
+@@ -248,8 +248,8 @@ install-data-hook:
+ echo "--> Installing theme '$$theme'"; \
+ THEME_DIRS=`find $$theme -type d`; \
+ for p in $$THEME_DIRS; do \
+- echo "mkdir $(pkgdatadir)/$$p"; \
+- mkdir $(pkgdatadir)/$$p; \
++ echo "mkdir ${DESTDIR}$(pkgdatadir)/$$p"; \
++ mkdir ${DESTDIR}$(pkgdatadir)/$$p; \
+ done; \
+ THEME_FILES=`find $$theme -type f`; \
+ for p in $$THEME_FILES; do \