diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-14 22:21:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-14 22:21:42 +0000 |
commit | eed33b02f0c10d492ae623c9e0d9c42465cb2f93 (patch) | |
tree | 3d57e91420aa135370fcf387c1a326394c48ed0b /games/xzip | |
parent | 4b01275c3270b8a199ed03a0062f9f224c67c168 (diff) | |
download | pkgsrc-eed33b02f0c10d492ae623c9e0d9c42465cb2f93.tar.gz |
DESTDIR support
Diffstat (limited to 'games/xzip')
-rw-r--r-- | games/xzip/Makefile | 4 | ||||
-rw-r--r-- | games/xzip/distinfo | 4 | ||||
-rw-r--r-- | games/xzip/patches/patch-aa | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/games/xzip/Makefile b/games/xzip/Makefile index 26adba88b59..c0594e9e042 100644 --- a/games/xzip/Makefile +++ b/games/xzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/01/19 09:16:24 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2010/02/14 22:21:42 joerg Exp $ DISTNAME= xzip180 PKGNAME= xzip-1.8 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.eblong.com/zarf/xzip.html COMMENT= Z-code interpreter for X11 (Infocom game format) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xzip USE_X11BASE= yes BUILD_TARGET= xzip diff --git a/games/xzip/distinfo b/games/xzip/distinfo index 39c7bcb342f..46d6b059ba3 100644 --- a/games/xzip/distinfo +++ b/games/xzip/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 23:12:05 agc Exp $ +$NetBSD: distinfo,v 1.5 2010/02/14 22:21:42 joerg Exp $ SHA1 (xzip180.tar.Z) = 45581b97e2b00535fe6f4dfab2aa4f8efb353749 RMD160 (xzip180.tar.Z) = ab2e8aeef1bd7f7d7d94c280f7ae3c4c445b9b2e Size (xzip180.tar.Z) = 134871 bytes -SHA1 (patch-aa) = 4c9cb182808acda7e11e4f7ec1881de01f8ab757 +SHA1 (patch-aa) = 796f2e09ce5167163b4d2888070613b92e756ab3 diff --git a/games/xzip/patches/patch-aa b/games/xzip/patches/patch-aa index 1b663d28e7c..02223668f88 100644 --- a/games/xzip/patches/patch-aa +++ b/games/xzip/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2001/06/15 23:04:52 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2010/02/14 22:21:42 joerg Exp $ --- Makefile.orig Sun Jul 12 00:27:32 1998 +++ Makefile Tue Aug 11 00:14:31 1998 @@ -26,7 +26,7 @@ $NetBSD: patch-aa,v 1.2 2001/06/15 23:04:52 wiz Exp $ # definition for where to install xzip executable and man page -DESTDIR = /usr/local -+DESTDIR = $(PREFIX) ++#DESTDIR = $(PREFIX) # -------------------- @@ -42,8 +42,8 @@ $NetBSD: patch-aa,v 1.2 2001/06/15 23:04:52 wiz Exp $ install: $(PROGRAM) - install -s $(PROGRAM) $(DESTDIR)/bin - install $(PROGRAM).1 $(DESTDIR)/man/man1 -+ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(DESTDIR)/bin -+ ${BSD_INSTALL_MAN} $(PROGRAM).1 $(DESTDIR)/man/man6/$(PROGRAM).6 ++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(DESTDIR)${PREFIX}/bin ++ ${BSD_INSTALL_MAN} $(PROGRAM).1 $(DESTDIR)${PREFIX}/${PKGMANDIR}/man6/$(PROGRAM).6 clean : -rm -f *~ *.o $(PROGRAM) test |