pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/SDL_gfx Added support for installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0c05529b8647
branches: trunk
changeset: 537118:0c05529b8647
user: heinz <heinz%pkgsrc.org@localhost>
date: Thu Jan 03 23:22:22 2008 +0000
description:
Added support for installation to DESTDIR.
diffstat:
devel/SDL_gfx/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 0ea7837ca3bf -r 0c05529b8647 devel/SDL_gfx/Makefile
--- a/devel/SDL_gfx/Makefile Thu Jan 03 23:21:48 2008 +0000
+++ b/devel/SDL_gfx/Makefile Thu Jan 03 23:22:22 2008 +0000
@@ -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 @@
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/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"
Home |
Main Index |
Thread Index |
Old Index