From ceb32d7b1c5fca65dd4668182bf92b67ff4b10d1 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 29 Jan 2010 23:01:53 +0000 Subject: DESTDIR support --- games/glaxium/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'games/glaxium') diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile index 1a69fd7a89d..c5cbabb6b5e 100644 --- a/games/glaxium/Makefile +++ b/games/glaxium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/02/02 18:42:14 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2010/01/29 23:06:03 joerg Exp $ # DISTNAME= glaxium_0.5 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://xhosxe.free.fr/glaxium/ COMMENT= Space-ship OpenGL shoot them up +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_TOOLS+= gmake USE_LANGUAGES= c c++ @@ -24,6 +26,11 @@ SUBST_FILES.bill= conf.h SUBST_SED.bill= -e "s,share\/games,share,g" SUBST_MESSAGE.bill= Fixing data path. +INSTALLATION_DIRS+= bin +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + exec_prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" -- cgit v1.2.3