diff options
author | tnn <tnn> | 2009-06-11 10:07:21 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-06-11 10:07:21 +0000 |
commit | e81a94002619905d459a5ccdde1317694092d227 (patch) | |
tree | 70bec9ed12865562814b52b5ded3f7e8b0432ff6 | |
parent | 1710cb6a0be53c13a7b85c747797139353e46b00 (diff) | |
download | pkgsrc-e81a94002619905d459a5ccdde1317694092d227.tar.gz |
Supports DESTDIR installation.
-rw-r--r-- | games/crack-attack/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile index afda0cad6dd..7ed5d82313d 100644 --- a/games/crack-attack/Makefile +++ b/games/crack-attack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2008/04/04 18:22:40 dsainty Exp $ +# $NetBSD: Makefile,v 1.17 2009/06/11 10:07:21 tnn Exp $ DISTNAME= crack-attack-1.1.14 PKGREVISION= 5 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://savannah.nongnu.org/projects/crack-attack COMMENT= Tetris Attack inspired game +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES CONFIGURE_ARGS+= --enable-sound=yes CONFIGURE_ARGS+= --disable-binreloc @@ -16,9 +18,9 @@ USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/html/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${PREFIX}/share/doc/html/${PKGBASE} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.jpg \ + ${DESTDIR}${PREFIX}/share/doc/html/${PKGBASE} .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" |