pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/orbital_eunuchs_sniper Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad7d667b9073
branches:  trunk
changeset: 554542:ad7d667b9073
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Feb 15 21:57:51 2009 +0000

description:
Convert to user-destdir.

diffstat:

 games/orbital_eunuchs_sniper/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r b2150f138e61 -r ad7d667b9073 games/orbital_eunuchs_sniper/Makefile
--- a/games/orbital_eunuchs_sniper/Makefile     Sun Feb 15 21:53:50 2009 +0000
+++ b/games/orbital_eunuchs_sniper/Makefile     Sun Feb 15 21:57:51 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/08/12 16:08:19 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2009/02/15 21:57:51 wiz Exp $
 #
 
 DISTNAME=              orbital_eunuchs_sniper-1.30
@@ -12,6 +12,9 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-games-dir=${PREFIX}/libexec
 
+INSTALLATION_DIRS=     share/doc/orbital_eunuchs_sniper
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c c++
 REPLACE_INTERPRETER+=  bash
 REPLACE.bash.old=      .*/bin/bash
@@ -25,11 +28,10 @@
 .endif
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/orbital_eunuchs_sniper
        ${INSTALL_DATA} ${WRKSRC}/README \
-               ${PREFIX}/share/doc/orbital_eunuchs_sniper
+               ${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper
        ${INSTALL_DATA} ${WRKSRC}/readme.txt \
-               ${PREFIX}/share/doc/orbital_eunuchs_sniper
+               ${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"



Home | Main Index | Thread Index | Old Index