diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 23:01:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 23:01:53 +0000 |
commit | 15c1db03208f65b399f1f75e2755556e6caf9236 (patch) | |
tree | 5e367561d2fd2a0e21379350aae8f8561765e096 /games/glaxium | |
parent | adc82a91b0c7a6daf6c460c798c4cf83ff9eb0b6 (diff) | |
download | pkgsrc-15c1db03208f65b399f1f75e2755556e6caf9236.tar.gz |
DESTDIR support
Diffstat (limited to 'games/glaxium')
-rw-r--r-- | games/glaxium/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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" |