pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/koth Prepare for DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e3dd556b6e9
branches:  trunk
changeset: 570466:1e3dd556b6e9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 29 23:30:43 2010 +0000

description:
Prepare for DESTDIR support

diffstat:

 games/koth/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 3493fca5ec35 -r 1e3dd556b6e9 games/koth/Makefile
--- a/games/koth/Makefile       Fri Jan 29 23:24:15 2010 +0000
+++ b/games/koth/Makefile       Fri Jan 29 23:30:43 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/03/29 22:38:30 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2010/01/29 23:30:43 joerg Exp $
 #
 
 DISTNAME=      koth-0.8.0
@@ -18,11 +18,11 @@
 EGDIR=         ${PREFIX}/share/examples/koth
 CONF_FILES=    ${EGDIR}/koth.cfg ${PKG_SYSCONFDIR}/koth.cfg
 
+INSTALLATION_DIRS+=    share/doc/koth ${EGDIR}
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/koth
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/koth
-       ${INSTALL_DATA} ${WRKSRC}/src/koth.cfg ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/koth
+       ${INSTALL_DATA} ${WRKSRC}/src/koth.cfg ${DESTDIR}${EGDIR}
 
 .include "../../graphics/libggi/buildlink3.mk"
 .include "../../graphics/libgii/buildlink3.mk"



Home | Main Index | Thread Index | Old Index