diff options
author | heinz <heinz> | 2008-01-03 23:22:22 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-01-03 23:22:22 +0000 |
commit | 5ac86dd910951ed3d02b58f3434b3cc1fd2eb15c (patch) | |
tree | 517da9ed42a313048347f2d5a687cc3bc46ba1a9 /devel/SDL_gfx | |
parent | 51a26af13a45cfd2b3f6aa486fd516fbc8e6c307 (diff) | |
download | pkgsrc-5ac86dd910951ed3d02b58f3434b3cc1fd2eb15c.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" |