Fri Jan 29 20:24:16 2010 UTC ()
DESTDIR support


(joerg)
diff -r1.16 -r1.17 pkgsrc/games/defendguin/Makefile

cvs diff -r1.16 -r1.17 pkgsrc/games/defendguin/Makefile (expand / switch to context diff)
--- pkgsrc/games/defendguin/Makefile 2007/12/29 09:52:10 1.16
+++ pkgsrc/games/defendguin/Makefile 2010/01/29 20:24:16 1.17
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/12/29 09:52:10 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2010/01/29 20:24:16 joerg Exp $
 
 DISTNAME=	defendguin-0.0.10
 PKGREVISION=	7
@@ -9,10 +9,13 @@
 HOMEPAGE=	http://www.newbreedsoftware.com/defendguin/
 COMMENT=	Clone of the arcade game Defender
 
+PKG_DESTDIR_SUPPORT=	user-destdir
 
 USE_TOOLS+=	gmake
 
-INSTALLATION_DIRS=	${PKGMANDIR}/man6
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6
+
+INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"