summaryrefslogtreecommitdiff
path: root/games/koth
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 23:30:43 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 23:30:43 +0000
commitb78dee6b94b5fe08d48c458a94a97c4b1aebc6fe (patch)
treee7401bacfae99c32a0d719d90670e64740a67481 /games/koth
parent9f27c5e0f620171646f9e14b842b8f1b2ca96033 (diff)
downloadpkgsrc-b78dee6b94b5fe08d48c458a94a97c4b1aebc6fe.tar.gz
Prepare for DESTDIR support
Diffstat (limited to 'games/koth')
-rw-r--r--games/koth/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/koth/Makefile b/games/koth/Makefile
index b7b27d4fa64..80ce087ec66 100644
--- a/games/koth/Makefile
+++ b/games/koth/Makefile
@@ -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 @@ CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR:Q}\""
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"