diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/kajaani-kombat | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/kajaani-kombat')
-rw-r--r-- | games/kajaani-kombat/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/games/kajaani-kombat/Makefile b/games/kajaani-kombat/Makefile index f3400675d19..e9755ab4ed7 100644 --- a/games/kajaani-kombat/Makefile +++ b/games/kajaani-kombat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/01/07 09:13:54 rillig Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:04 jlam Exp $ # DISTNAME= kajaani-kombat-0.7 @@ -9,17 +9,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://kombat.kajaani.net/ COMMENT= Rampart-like multiplayer game set in space +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ USE_TOOLS+= gmake INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/kajaani-kombat ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/kajaani-kombat.6 ${PREFIX}/${PKGMANDIR}/man6 - ${INSTALL_DATA_DIR} ${PREFIX}/share/kajaani-kombat - ${INSTALL_DATA} ${WRKSRC}/*.ogg ${PREFIX}/share/kajaani-kombat - ${INSTALL_DATA} ${WRKSRC}/*.png ${PREFIX}/share/kajaani-kombat - ${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/share/kajaani-kombat + ${INSTALL_PROGRAM} ${WRKSRC}/kajaani-kombat ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/kajaani-kombat.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/kajaani-kombat + ${INSTALL_DATA} ${WRKSRC}/*.ogg ${DESTDIR}${PREFIX}/share/kajaani-kombat + ${INSTALL_DATA} ${WRKSRC}/*.png ${DESTDIR}${PREFIX}/share/kajaani-kombat + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${PREFIX}/share/kajaani-kombat .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" |