From 5b136f1e05f993ef286c236c76c7a64e42e6fec0 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 14 Feb 2010 20:51:23 +0000 Subject: DESTDIR support --- games/spellcast/Makefile | 4 +++- games/spellcast/distinfo | 4 ++-- games/spellcast/patches/patch-aa | 12 ++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) (limited to 'games/spellcast') diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile index 52b9c295f50..421e0fbd0ba 100644 --- a/games/spellcast/Makefile +++ b/games/spellcast/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:22 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/14 21:03:19 joerg Exp $ # DISTNAME= spellcast @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.eblong.com/zarf/spellcast.html COMMENT= Game of dueling wizards for two players +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 diff --git a/games/spellcast/distinfo b/games/spellcast/distinfo index e8d8eb1d3c6..f242329a776 100644 --- a/games/spellcast/distinfo +++ b/games/spellcast/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 23:12:03 agc Exp $ +$NetBSD: distinfo,v 1.4 2010/02/14 21:03:19 joerg Exp $ SHA1 (spellcast.tar.Z) = 3c51aa1746d4b8385a87ab5af5ed78b48cc4ac19 RMD160 (spellcast.tar.Z) = ed4751d902a58abdc2a79333541fc866170a642d Size (spellcast.tar.Z) = 129173 bytes -SHA1 (patch-aa) = 8c81fd0791496d118b27a930ec0edc67284f1184 +SHA1 (patch-aa) = 0b407bfe80ca4170d54da83deebf5ea57952cf90 diff --git a/games/spellcast/patches/patch-aa b/games/spellcast/patches/patch-aa index 8ed94aa1c19..0c4c6ea6543 100644 --- a/games/spellcast/patches/patch-aa +++ b/games/spellcast/patches/patch-aa @@ -1,16 +1,16 @@ -$NetBSD: patch-aa,v 1.1 1998/08/07 11:54:29 frueauf Exp $ +$NetBSD: patch-aa,v 1.2 2010/02/14 21:03:19 joerg Exp $ --- Makefile.orig Fri Aug 7 04:21:15 1998 +++ Makefile Fri Aug 7 04:24:19 1998 -@@ -15,6 +15,6 @@ +@@ -15,6 +15,5 @@ # spell list postscript file are installed. Change them to whatever is appropriate. -DESTDIR=/afs/andrew.cmu.edu/usr0/games -DESTBIN=$(DESTDIR)/bin/.unpriv/@sys -+DESTDIR=$(PREFIX) -+DESTBIN=$(DESTDIR)/bin - DESTMAN=$(DESTDIR)/man/man6 +-DESTMAN=$(DESTDIR)/man/man6 -DESTLIB=$(DESTDIR)/lib/spellcast -+DESTLIB=$(DESTDIR)/share/doc/spellcast ++DESTBIN=$(DESTDIR)${PREFIX}/bin ++DESTMAN=$(DESTDIR)${PREFIX}/${PKGMANDIR}/man6 ++DESTLIB=$(DESTDIR)${PREFIX}/share/doc/spellcast @@ -24,7 +24,7 @@ -- cgit v1.2.3