diff options
author | heinz <heinz> | 2008-01-03 23:22:22 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-01-03 23:22:22 +0000 |
commit | 342db7cfe6baebe70bac2214765a6c80cea6ab13 (patch) | |
tree | 517da9ed42a313048347f2d5a687cc3bc46ba1a9 /devel/SDL_gfx | |
parent | 76c1a38c049181b146b3e27a5601f81a28a3feaf (diff) | |
download | pkgsrc-342db7cfe6baebe70bac2214765a6c80cea6ab13.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'devel/SDL_gfx')
-rw-r--r-- | devel/SDL_gfx/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/SDL_gfx/Makefile b/devel/SDL_gfx/Makefile index d211b6848a0..f87e396b8ba 100644 --- a/devel/SDL_gfx/Makefile +++ b/devel/SDL_gfx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2007/02/06 10:13:46 adam Exp $ +# $NetBSD: Makefile,v 1.30 2008/01/03 23:22:22 heinz Exp $ DISTNAME= SDL_gfx-2.0.16 CATEGORIES= devel @@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ferzkopp.net/Software/SDL_gfx-2.0/ COMMENT= Basic drawing routines for SDL +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -19,9 +21,10 @@ INSTALLATION_DIRS+= share/doc/SDL_gfx INSTALLATION_DIRS+= share/doc/SDL_gfx/Screenshots post-install: - ${INSTALL_DATA} ${WRKSRC}/Docs/*.* ${PREFIX}/share/doc/SDL_gfx/ + ${INSTALL_DATA} ${WRKSRC}/Docs/*.* \ + ${DESTDIR}${PREFIX}/share/doc/SDL_gfx/ ${INSTALL_DATA} ${WRKSRC}/Docs/Screenshots/* \ - ${PREFIX}/share/doc/SDL_gfx/Screenshots + ${DESTDIR}${PREFIX}/share/doc/SDL_gfx/Screenshots .include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |