pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games Mechanical changes to add DESTDIR support to pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52bd7aa75f94
branches:  trunk
changeset: 539338:52bd7aa75f94
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Mar 04 06:59:03 2008 +0000

description:
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.

diffstat:

 games/0verkill/Makefile               |  14 ++++++----
 games/4stAttack/Makefile              |  10 ++++---
 games/REminiscence/Makefile           |  11 +++++---
 games/adom/Makefile                   |   8 +++--
 games/angband-tty/Makefile            |  26 +++++++++++++-------
 games/bastet/Makefile                 |  11 ++++++--
 games/battalion/Makefile              |  38 +++++++++++++++++------------
 games/battleball/Makefile             |   6 +++-
 games/bos/Makefile                    |  13 +++++----
 games/bridge-hands/Makefile           |   6 +++-
 games/cgoban-java/Makefile            |  10 +++++--
 games/civctp-demo/Makefile            |  20 ++++++++++-----
 games/cmatrix/Makefile                |  14 +++++++---
 games/colchess-book-colchess/Makefile |   8 +++--
 games/colchess-book-large/Makefile    |   8 +++--
 games/colchess/Makefile               |  18 +++++++------
 games/crafty-book-medium/Makefile     |   8 +++--
 games/crafty-book-small/Makefile      |   8 +++--
 games/crafty-doc/Makefile             |   9 ++++--
 games/crafty/Makefile                 |  14 ++++++----
 games/digger/Makefile                 |   5 ++-
 games/dipmap/Makefile                 |  20 ++++++++-------
 games/et/Makefile                     |  36 +++++++++++++++-------------
 games/eus-demo/Makefile               |  18 ++++++++-----
 games/exchess-book-medium/Makefile    |   8 +++--
 games/exchess-book-small/Makefile     |   8 +++--
 games/fillets-ng-data/Makefile        |  12 +++++---
 games/fkiss/Makefile                  |  20 +++++++++------
 games/flightgear-base/Makefile        |  16 ++++++------
 games/fltk-sudoku/Makefile            |  10 ++++++-
 games/fortunes-calvin/Makefile        |  12 ++++++---
 games/fortunes-de/Makefile            |   9 ++++--
 games/fortunes-futurama/Makefile      |  12 ++++++---
 games/fortunes-h2g2/Makefile          |  12 ++++++---
 games/freeciv-manual/Makefile         |  10 ++++---
 games/frotz/Makefile                  |  18 ++++++++-----
 games/fruit/Makefile                  |   6 +++-
 games/genecys-data/Makefile           |  12 +++++---
 games/gnuchess-book-medium/Makefile   |   8 +++--
 games/gnuchess-book/Makefile          |   8 +++--
 games/gogui/Makefile                  |  14 +++++++---
 games/gtklevel9/Makefile              |  11 +++++---
 games/gtkmagnetic/Makefile            |  11 +++++---
 games/heretic2-demo/Makefile          |  23 +++++++++++------
 games/hugo/Makefile                   |  18 +++++++------
 games/icebreaker/Makefile             |  23 +++++++++++------
 games/kajaani-kombat/Makefile         |  16 +++++++-----
 games/kapooka/Makefile                |  36 +++++++++++++++++-----------
 games/ketm/Makefile                   |  12 +++++---
 games/knightcap-brain/Makefile        |  11 +++++---
 games/level9/Makefile                 |  15 +++++++----
 games/majesty-demo/Makefile           |  15 +++++++----
 games/minami/Makefile                 |   6 +++-
 games/mirrormagic-sdl/Makefile        |  44 +++++++++++++++++++---------------
 games/mirrormagic/Makefile            |  36 ++++++++++++++++-----------
 games/nagi/Makefile                   |  12 +++++---
 games/netris/Makefile                 |  14 ++++++----
 games/neverball/Makefile              |  18 ++++++++-----
 games/nighthawk/Makefile              |  33 ++++++++++++++-----------
 games/omega/Makefile                  |  36 ++++++++++++++--------------
 games/polyglot/Makefile               |  12 ++++++---
 games/powwow/Makefile                 |  14 ++++++----
 games/pysol/Makefile                  |  18 +++++++------
 games/qstat/Makefile                  |  24 +++++++++++-------
 games/quake/Makefile                  |  14 ++++++----
 games/quake3arena-demo/Makefile       |  26 +++++++++++---------
 games/quake3arena/Makefile            |  18 +++++++------
 games/quake3server-excessive/Makefile |  10 ++++---
 games/quake3server-osp/Makefile       |   8 +++--
 games/quake3server-ra3/Makefile       |  12 +++++---
 games/quake3server-ut/Makefile        |  12 +++++---
 games/quake3server/Makefile           |  40 +++++++++++++++++--------------
 games/quakedata/Makefile              |   9 ++++--
 games/rocksndiamonds-levels/Makefile  |  28 +++++++++++++--------
 games/rocksndiamonds/Makefile         |  29 ++++++++++++----------
 games/rollemup/Makefile               |  35 +++++++++++++++-----------
 games/rtcw/Makefile                   |   8 +++--
 games/sarien/Makefile                 |  14 ++++++----
 games/scummvm-bass/Makefile           |  10 ++++---
 games/scummvm-fotaq/Makefile          |  10 ++++---
 games/scummvm-tools/Makefile          |  10 ++++---
 games/singularity/Makefile            |  17 ++++++++----
 games/sl/Makefile                     |   8 +++--
 games/stratagus/Makefile              |  14 ++++++----
 games/tetrinetx/Makefile              |  23 ++++++++++-------
 games/thew/Makefile                   |   7 +++--
 games/tscp/Makefile                   |  10 +++---
 games/velena/Makefile                 |   6 +++-
 games/wxhugo/Makefile                 |   6 +++-
 games/xdoom/Makefile                  |  15 +++++++---
 games/xevil/Makefile                  |  10 ++++---
 games/xjump/Makefile                  |  11 ++++++--
 games/xpipeman/Makefile               |  24 +++++++++++-------
 games/xpipeman/PLIST                  |   5 ++-
 games/xrick/Makefile                  |  12 +++++---
 games/xsc/Makefile                    |  10 ++++---
 games/xscrabble/Makefile              |  30 +++++++++++++++--------
 games/xtris/Makefile                  |  23 +++++++++++------
 games/xtux/Makefile                   |  24 ++++++++++--------
 games/xvier/Makefile                  |  12 ++++++---
 games/xworm/Makefile                  |  10 ++++---
 101 files changed, 935 insertions(+), 627 deletions(-)

diffs (truncated from 3851 to 300 lines):

diff -r f079ffad6d5c -r 52bd7aa75f94 games/0verkill/Makefile
--- a/games/0verkill/Makefile   Tue Mar 04 06:51:41 2008 +0000
+++ b/games/0verkill/Makefile   Tue Mar 04 06:59:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/09/07 05:39:37 adam Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 06:59:03 jlam Exp $
 
 DISTNAME=      0verkill-0.16
 CATEGORIES=    games
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://artax.karlin.mff.cuni.cz/~brain/0verkill/
 COMMENT=       0verkill is bloody 2D action deathmatch-like game in ASCII-ART
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 HAS_CONFIGURE=         yes
 
 INSTALLATION_DIRS=     bin share/0verkill share/doc/0verkill
@@ -27,13 +29,13 @@
 SUBST_SED.prefix=      -e "s|@PREFIX@|${PREFIX}|g"
 
 do-install:
-       cd ${WRKSRC} && ${INSTALL_PROGRAM} 0verkill ${PREFIX}/bin
+       cd ${WRKSRC} && ${INSTALL_PROGRAM} 0verkill ${DESTDIR}${PREFIX}/bin
        cd ${WRKSRC} && for f in avi bot editor server test_server; do \
-               ${INSTALL_PROGRAM} $$f ${PREFIX}/bin/0verkill-$$f; \
+               ${INSTALL_PROGRAM} $$f ${DESTDIR}${PREFIX}/bin/0verkill-$$f; \
        done
-       ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/0verkill/data
-       ${INSTALL_DATA} ${WRKSRC}/grx/* ${PREFIX}/share/0verkill/grx
+       ${INSTALL_DATA} ${WRKSRC}/data/* ${DESTDIR}${PREFIX}/share/0verkill/data
+       ${INSTALL_DATA} ${WRKSRC}/grx/* ${DESTDIR}${PREFIX}/share/0verkill/grx
        cd ${WRKSRC}/doc && ${INSTALL_DATA} AUTHORS README.html avi.txt \
-               bot.txt doc.html ${PREFIX}/share/doc/0verkill
+               bot.txt doc.html ${DESTDIR}${PREFIX}/share/doc/0verkill
 
 .include "../../mk/bsd.pkg.mk"
diff -r f079ffad6d5c -r 52bd7aa75f94 games/4stAttack/Makefile
--- a/games/4stAttack/Makefile  Tue Mar 04 06:51:41 2008 +0000
+++ b/games/4stAttack/Makefile  Tue Mar 04 06:59:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/06/12 16:28:07 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 06:59:03 jlam Exp $
 #
 
 DISTNAME=              4stAttack-2.1.4
@@ -10,6 +10,8 @@
 HOMEPAGE=              http://forcedattack.sourceforge.net/
 COMMENT=               Game in which you have to try to out-smart your opponent
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 PYTHON_PATCH_SCRIPTS=  4stattack.py
 
 FIND_EXCLUDE=  \( -name \*.orig -or -name \*.txt -or -name \*.pre -or -name GPL -or -name \*~ -or -name 4stattack \)
@@ -23,10 +25,10 @@
        ${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC}
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}
-       ${INSTALL_SCRIPT} ${WRKSRC}/4stattack ${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/${PKGBASE}
+       ${INSTALL_SCRIPT} ${WRKSRC}/4stattack ${DESTDIR}${PREFIX}/bin
        cd ${WRKSRC} && ${FIND} . -type f -and \! ${FIND_EXCLUDE} \
-               -print | ${PAX} -rw -pp -pm ${PREFIX}/share/${PKGBASE}
+               -print | ${PAX} -rw -pp -pm ${DESTDIR}${PREFIX}/share/${PKGBASE}
 
 .include "../../devel/py-game/buildlink3.mk"
 .include "../../lang/python/application.mk"
diff -r f079ffad6d5c -r 52bd7aa75f94 games/REminiscence/Makefile
--- a/games/REminiscence/Makefile       Tue Mar 04 06:51:41 2008 +0000
+++ b/games/REminiscence/Makefile       Tue Mar 04 06:59:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/10/04 21:43:00 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/04 06:59:03 jlam Exp $
 #
 
 DISTNAME=              REminiscence-0.1.6
@@ -11,6 +11,8 @@
 HOMEPAGE=              http://cyxdown.free.fr/reminiscence/
 COMMENT=               Engine to play Flashback by Delphine Software
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c++
 
 BUILD_TARGET=          rs
@@ -28,8 +30,9 @@
 .include "../../devel/SDL/buildlink3.mk"
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/rs ${LOCALBASE}/bin
-       ${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/REminiscence
-       ${INSTALL_DATA} ${WRKSRC}/README ${LOCALBASE}/share/doc/REminiscence
+       ${INSTALL_PROGRAM} ${WRKSRC}/rs ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/REminiscence
+       ${INSTALL_DATA} ${WRKSRC}/README \
+               ${DESTDIR}${PREFIX}/share/doc/REminiscence
 
 .include "../../mk/bsd.pkg.mk"
diff -r f079ffad6d5c -r 52bd7aa75f94 games/adom/Makefile
--- a/games/adom/Makefile       Tue Mar 04 06:51:41 2008 +0000
+++ b/games/adom/Makefile       Tue Mar 04 06:59:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/07/29 05:19:25 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:03 jlam Exp $
 
 DISTNAME=      adom-111-elf
 PKGNAME=       adom-1.1.1
@@ -13,13 +13,15 @@
 EMUL_PLATFORMS=                linux-i386
 EMUL_MODULES.linux=    base
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                        ${WRKDIR}/adom
 BUILD_DIRS=            # empty
 
 INSTALLATION_DIRS=     bin share/doc/adom
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom
+       ${INSTALL_PROGRAM} ${WRKSRC}/adom ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/*.* ${DESTDIR}${PREFIX}/share/doc/adom
 
 .include "../../mk/bsd.pkg.mk"
diff -r f079ffad6d5c -r 52bd7aa75f94 games/angband-tty/Makefile
--- a/games/angband-tty/Makefile        Tue Mar 04 06:51:41 2008 +0000
+++ b/games/angband-tty/Makefile        Tue Mar 04 06:59:03 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.31 2008/01/19 09:16:20 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2008/03/04 06:59:03 jlam Exp $
 #
 
 DISTNAME=              angband-283
 PKGNAME=               angband-tty-2.8.3
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            games
 MASTER_SITES=          ftp://export.andrew.cmu.edu/angband/Source/ \
                        ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/Source/
@@ -15,6 +15,8 @@
 
 CONFLICTS=             angband-x11-[0-9]*
 
+PKG_DESTDIR_SUPPORT=   destdir
+
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/src
 EXTRACT_ONLY=          ${DISTNAME}${EXTRACT_SUFX}
 MAKE_FILE=             Makefile.std
@@ -26,16 +28,22 @@
 GCC_REQD+=             2.95.3
 .endif
 
+SETGIDGAME=            yes
+SPECIAL_PERMS=         bin/angband ${SETGID_GAMES_PERMS}
+
 INSTALLATION_DIRS=     bin
 
 do-install:
-       ${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
-       cd ${WRKDIR}/${DISTNAME}/lib && ${PAX} -wr * ${PREFIX}/share/angband
-       cd ${PREFIX}/share/angband/help && \
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/angband
+       cd ${WRKDIR}/${DISTNAME}/lib && ${PAX} -wr * \
+               ${DESTDIR}${PREFIX}/share/angband
+       cd ${DESTDIR}${PREFIX}/share/angband/help && \
                ${PAX} -O -zrf ${DISTDIR}/${SPOILERFILE}
-       ${CHOWN} -R ${GAMEOWN}:${GAMEGRP} ${PREFIX}/share/angband
-       cd ${PREFIX}/share/angband && ${CHMOD} ${GAMEDATAMODE} */*
-       cd ${PREFIX}/share/angband && ${CHMOD} ${GAMEDIRMODE} apex bone data edit file help info save user xtra
-       ${INSTALL_GAME} ${WRKSRC}/angband ${PREFIX}/bin
+       ${CHOWN} -R ${GAMEOWN}:${GAMEGRP} ${DESTDIR}${PREFIX}/share/angband
+       cd ${DESTDIR}${PREFIX}/share/angband && \
+               ${CHMOD} ${GAMEDATAMODE} */*
+       cd ${DESTDIR}${PREFIX}/share/angband && \
+               ${CHMOD} ${GAMEDIRMODE} apex bone data edit file help info save user xtra
+       ${INSTALL_PROGRAM} ${WRKSRC}/angband ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"
diff -r f079ffad6d5c -r 52bd7aa75f94 games/bastet/Makefile
--- a/games/bastet/Makefile     Tue Mar 04 06:51:41 2008 +0000
+++ b/games/bastet/Makefile     Tue Mar 04 06:59:03 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2006/09/14 20:53:24 dogcow Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/04 06:59:03 jlam Exp $
 #
 
 DISTNAME=              bastet-0.41
+PKGREVISION=           1
 CATEGORIES=            games
 MASTER_SITES=          http://fph.altervista.org/prog/
 EXTRACT_SUFX=          .tgz
@@ -10,16 +11,20 @@
 HOMEPAGE=              http://fph.altervista.org/prog/bastet.shtml
 COMMENT=               Bastard Tetris
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake
 MAKE_FLAGS+=           BIN_PREFIX=${PREFIX}/bin/
 MAKE_FLAGS+=           DATA_PREFIX=${VARBASE}/games/
 BUILD_DEFS+=           VARBASE
 
+SETGIDGAME=            yes
+SPECIAL_PERMS=         bin/bastet ${SETGID_GAMES_PERMS}
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man6
 
 do-install:
-       ${INSTALL_GAME} ${WRKSRC}/bastet ${PREFIX}/bin/
-       ${INSTALL_MAN} ${WRKSRC}/bastet.6 ${PREFIX}/${PKGMANDIR}/man6/
+       ${INSTALL_PROGRAM} ${WRKSRC}/bastet ${DESTDIR}${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/bastet.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/
 
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f079ffad6d5c -r 52bd7aa75f94 games/battalion/Makefile
--- a/games/battalion/Makefile  Tue Mar 04 06:51:41 2008 +0000
+++ b/games/battalion/Makefile  Tue Mar 04 06:59:03 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2008/01/19 09:16:20 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2008/03/04 06:59:03 jlam Exp $
 
 DISTNAME=              battalion
 PKGNAME=               battalion-1.4
-PKGREVISION=           5
+PKGREVISION=           6
 CATEGORIES=            games x11
 MASTER_SITES=          http://www.evl.uic.edu/aej/BATTALION/
 DISTFILES=             battalionSource1.4.tar.Z battalionSUN4.tar.gz
@@ -13,6 +13,8 @@
 
 NOT_FOR_PLATFORM=      *-*-alpha       # relies on Mesa (gcc)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                        ${WRKDIR}/battalionSource
 EXTRACT_ONLY=          battalionSource1.4.tar.Z
 USE_TOOLS+=            gtar
@@ -23,25 +25,29 @@
 MAKE_ENV+=     LIBFLAGS=-lcompat
 .endif
 
+SETGIDGAME=            yes
+SPECIAL_PERMS+=                bin/battalion ${SETGID_GAMES_PERMS}
+CONF_FILES_PERMS=      /dev/null /var/games/battalion_hiscore          \
+                       ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
+
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man6
 
 do-install:
-       ${INSTALL} -c -s -o ${ROOT_USER} -g games -m 2755 ${WRKSRC}/battalion ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/battalion $${DESTDIR}{PREFIX}/bin
        cd ${WRKDIR} && \
            ${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | ${GTAR} xmf -
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/HELP
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/DATA
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/MUSIC
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/SOUNDS
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/TEXTURES
-       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/* ${PREFIX}/share/battalion/battalion.data/DATA
-       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/* ${PREFIX}/share/battalion/battalion.data/MUSIC
-       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/* ${PREFIX}/share/battalion/battalion.data/SOUNDS
-       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/TEXTURES/* ${PREFIX}/share/battalion/battalion.data/TEXTURES
-       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho ${PREFIX}/share/battalion/battalion.data
-       ${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man ${PREFIX}/${PKGMANDIR}/man6/battalion.6
-       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/* ${PREFIX}/share/battalion/HELP
-       ${INSTALL} -o bin -g games -m 664 /dev/null /var/games/battalion_hiscore
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/battalion/HELP
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/battalion/battalion.data/DATA
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/battalion/battalion.data/MUSIC
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/battalion/battalion.data/SOUNDS
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/battalion/battalion.data/TEXTURES
+       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/* ${DESTDIR}${PREFIX}/share/battalion/battalion.data/DATA
+       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/* ${DESTDIR}${PREFIX}/share/battalion/battalion.data/MUSIC
+       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/* ${DESTDIR}${PREFIX}/share/battalion/battalion.data/SOUNDS
+       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/TEXTURES/* ${DESTDIR}${PREFIX}/share/battalion/battalion.data/TEXTURES
+       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho ${DESTDIR}${PREFIX}/share/battalion/battalion.data
+       ${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/battalion.6
+       ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/* ${DESTDIR}${PREFIX}/share/battalion/HELP
 
 pre-clean:
        @${RM} -rf ${WRKDIR}/battalionSUN4
diff -r f079ffad6d5c -r 52bd7aa75f94 games/battleball/Makefile
--- a/games/battleball/Makefile Tue Mar 04 06:51:41 2008 +0000
+++ b/games/battleball/Makefile Tue Mar 04 06:59:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/01/19 09:16:20 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2008/03/04 06:59:03 jlam Exp $
 
 DISTNAME=      battleball.21.src
 PKGNAME=       battleball-2.1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://web.archive.org/web/*/http://www.cs.utexas.edu/users/pahardin/bb.html
 COMMENT=       3d game of soccer, with tanks
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/battleball-2.1-src



Home | Main Index | Thread Index | Old Index