summaryrefslogtreecommitdiff
path: root/games
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
commit815b6e85b8aff1970807ff2654c66a921893bb3e (patch)
treee7401bacfae99c32a0d719d90670e64740a67481 /games
parent9e39a8bdcbb663ade0a933c8e3a2203049a09c14 (diff)
downloadpkgsrc-815b6e85b8aff1970807ff2654c66a921893bb3e.tar.gz
Prepare for DESTDIR support
Diffstat (limited to 'games')
-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"