pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/zoom PKG_DESTDIR_SUPPORT, bump pkgrevision



details:   https://anonhg.NetBSD.org/pkgsrc/rev/485addcbdb85
branches:  trunk
changeset: 568314:485addcbdb85
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 10 20:50:15 2009 +0000

description:
PKG_DESTDIR_SUPPORT, bump pkgrevision

diffstat:

 games/zoom/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 9951b2f2faea -r 485addcbdb85 games/zoom/Makefile
--- a/games/zoom/Makefile       Thu Dec 10 20:37:36 2009 +0000
+++ b/games/zoom/Makefile       Thu Dec 10 20:50:15 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:37 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/12/10 20:50:15 abs Exp $
 
 DISTNAME=      zoom-1.0.3
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    games
 MASTER_SITES=  http://www.logicalshift.co.uk/unix/zoom/
 
@@ -19,15 +19,18 @@
 .endif
 UNLIMIT_RESOURCES+=    datasize
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DOCDIR=                        ${PREFIX}/share/doc/html/zoom
+
 post-install:
-       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
        for f in colours.png configXwin.html configmac.html fonts.png \
                game.png generalset.png idx index.html intro.html \
                resources.png troubleshooting.html ui.png zicon.gif \
                zoom-icon.png zoom.html ztitle.html; \
        do \
-               ${INSTALL_DATA} ${WRKSRC}/manual/$$f ${DOCDIR}; \
+               ${INSTALL_DATA} ${WRKSRC}/manual/$$f ${DESTDIR}${DOCDIR}; \
        done
 
 BUILDLINK_DEPMETHOD.libXt=     build



Home | Main Index | Thread Index | Old Index