diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /games/gnuchess4 | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'games/gnuchess4')
-rw-r--r-- | games/gnuchess4/Makefile | 6 | ||||
-rw-r--r-- | games/gnuchess4/distinfo | 4 | ||||
-rw-r--r-- | games/gnuchess4/patches/patch-ae | 46 |
3 files changed, 34 insertions, 22 deletions
diff --git a/games/gnuchess4/Makefile b/games/gnuchess4/Makefile index c42ad1e4e9f..d6734e5e7ca 100644 --- a/games/gnuchess4/Makefile +++ b/games/gnuchess4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/03/24 19:21:23 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:20 joerg Exp $ DISTNAME= gnuchess-4.0.pl80 PKGNAME= gnuchess4-4.0.80 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/chess/chess.html COMMENT= The "classic" GNU chess +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= gnuchess-4.* NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL @@ -23,6 +25,6 @@ post-install: cd ${WRKSRC}/doc; ${INSTALL_DATA} \ ARTICLE ARTICLE.2 CHESSTOOL FAQ HEURISTICS MOVE-GEN \ README.font README.output \ - ${PREFIX}/share/doc/gnuchess4 + ${DESTDIR}${PREFIX}/share/doc/gnuchess4 .include "../../mk/bsd.pkg.mk" diff --git a/games/gnuchess4/distinfo b/games/gnuchess4/distinfo index a33547aa026..620bf48aa06 100644 --- a/games/gnuchess4/distinfo +++ b/games/gnuchess4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/12/19 17:29:34 joerg Exp $ +$NetBSD: distinfo,v 1.7 2008/06/20 01:09:20 joerg Exp $ SHA1 (gnuchess-4.0.pl80.tar.gz) = 0c581be2e7b6b17524e288e105a468a7ca328c8b RMD160 (gnuchess-4.0.pl80.tar.gz) = 889510f73c3e5143fc312c010e8324e68c11dcdc @@ -7,5 +7,5 @@ SHA1 (patch-aa) = 01c1e61f491199bdf8c70d72712ab5ec41d85ab2 SHA1 (patch-ab) = dd15478800a18d5a43b8f03b3f3b57b09162f4f8 SHA1 (patch-ac) = 2d2ad394545b4eb4285389642c84872d4e0d9a25 SHA1 (patch-ad) = 1fc8df5f7b34fd82fb43de71cdaf01ff5f72d51a -SHA1 (patch-ae) = 31ed0b133d10457b89eaa09e56cdbd5b3a1b382b +SHA1 (patch-ae) = 5b112b5d9c3d26adef170e12e29734a9eecc6245 SHA1 (patch-af) = 220b368a8d2274419c9d173433a956ab5c0c96b4 diff --git a/games/gnuchess4/patches/patch-ae b/games/gnuchess4/patches/patch-ae index 7fe5fdb6ca0..ee452628d15 100644 --- a/games/gnuchess4/patches/patch-ae +++ b/games/gnuchess4/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.3 2005/11/03 22:01:10 rillig Exp $ +$NetBSD: patch-ae,v 1.4 2008/06/20 01:09:20 joerg Exp $ --- src/Makefile.in.orig Sun Sep 27 23:41:13 1998 +++ src/Makefile.in Sun Mar 26 16:15:23 2000 @@ -20,24 +20,34 @@ $NetBSD: patch-ae,v 1.3 2005/11/03 22:01:10 rillig Exp $ - $(INSTALL) gnuchessn $(BINDIR)/gnuchessn - $(INSTALL) gnuchessx $(BINDIR)/gnuchessx - $(INSTALL) gnuchessc $(BINDIR)/gnuchessc -+ $(INSTALL) gnuchess $(BINDIR)/gnuchess4 -+ $(INSTALL) gnuchessr $(BINDIR)/gnuchessr4 -+ $(INSTALL) gnuchessn $(BINDIR)/gnuchessn4 -+ $(INSTALL) gnuchessx $(BINDIR)/gnuchessx4 -+ $(INSTALL) gnuchessc $(BINDIR)/gnuchessc4 - $(INSTALL) postprint $(BINDIR)/postprint - $(INSTALL) gnuan $(BINDIR)/gnuan - $(INSTALL) game $(BINDIR)/game -+ mkdir $(LIBDIR) - $(INSTALL) $(srcdir)/../misc/gnuchess.lang $(LIBDIR)/gnuchess.lang - $(INSTALL) $(srcdir)/../book/eco.pgn $(LIBDIR)/eco.pgn - $(INSTALL) gnuchess.data $(LIBDIR)/gnuchess.data - $(INSTALL) gnuchess.eco $(LIBDIR)/gnuchess.eco - $(INSTALL_DATA) $(srcdir)/../doc/game.6 $(MANDIR)/game.6 - $(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 $(MANDIR)/gnuan.6 +- $(INSTALL) postprint $(BINDIR)/postprint +- $(INSTALL) gnuan $(BINDIR)/gnuan +- $(INSTALL) game $(BINDIR)/game +- $(INSTALL) $(srcdir)/../misc/gnuchess.lang $(LIBDIR)/gnuchess.lang +- $(INSTALL) $(srcdir)/../book/eco.pgn $(LIBDIR)/eco.pgn +- $(INSTALL) gnuchess.data $(LIBDIR)/gnuchess.data +- $(INSTALL) gnuchess.eco $(LIBDIR)/gnuchess.eco +- $(INSTALL_DATA) $(srcdir)/../doc/game.6 $(MANDIR)/game.6 +- $(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 $(MANDIR)/gnuan.6 - $(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 $(MANDIR)/gnuchess.6 -+ $(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 $(MANDIR)/gnuchess4.6 - $(INSTALL_DATA) $(srcdir)/../doc/postprint.6 $(MANDIR)/postprint.6 +- $(INSTALL_DATA) $(srcdir)/../doc/postprint.6 $(MANDIR)/postprint.6 ++ $(INSTALL) gnuchess ${DESTDIR}$(BINDIR)/gnuchess4 ++ $(INSTALL) gnuchessr ${DESTDIR}$(BINDIR)/gnuchessr4 ++ $(INSTALL) gnuchessn ${DESTDIR}$(BINDIR)/gnuchessn4 ++ $(INSTALL) gnuchessx ${DESTDIR}$(BINDIR)/gnuchessx4 ++ $(INSTALL) gnuchessc ${DESTDIR}$(BINDIR)/gnuchessc4 ++ $(INSTALL) postprint ${DESTDIR}$(BINDIR)/postprint ++ $(INSTALL) gnuan ${DESTDIR}$(BINDIR)/gnuan ++ $(INSTALL) game ${DESTDIR}$(BINDIR)/game ++ mkdir ${DESTDIR}$(LIBDIR) ++ $(INSTALL) $(srcdir)/../misc/gnuchess.lang ${DESTDIR}$(LIBDIR)/gnuchess.lang ++ $(INSTALL) $(srcdir)/../book/eco.pgn ${DESTDIR}$(LIBDIR)/eco.pgn ++ $(INSTALL) gnuchess.data ${DESTDIR}$(LIBDIR)/gnuchess.data ++ $(INSTALL) gnuchess.eco ${DESTDIR}$(LIBDIR)/gnuchess.eco ++ $(INSTALL_DATA) $(srcdir)/../doc/game.6 ${DESTDIR}$(MANDIR)/game.6 ++ $(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 ${DESTDIR}$(MANDIR)/gnuan.6 ++ $(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 ${DESTDIR}$(MANDIR)/gnuchess4.6 ++ $(INSTALL_DATA) $(srcdir)/../doc/postprint.6 ${DESTDIR}$(MANDIR)/postprint.6 uninstall: - rm -f $(BINDIR)/gnuchess |