pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/cal3d-examples Add user-destdir support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf2dc06e1ce2
branches: trunk
changeset: 564270:cf2dc06e1ce2
user: hasso <hasso%pkgsrc.org@localhost>
date: Sun Aug 30 05:21:20 2009 +0000
description:
Add user-destdir support.
diffstat:
graphics/cal3d-examples/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r f2f3c7a7ade7 -r cf2dc06e1ce2 graphics/cal3d-examples/Makefile
--- a/graphics/cal3d-examples/Makefile Sun Aug 30 05:17:44 2009 +0000
+++ b/graphics/cal3d-examples/Makefile Sun Aug 30 05:21:20 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/08/29 19:29:06 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2009/08/30 05:21:20 hasso Exp $
#
PKGNAME= cal3d-examples-${CAL3D_VERSION}
@@ -11,6 +11,8 @@
COMMENT= Tools and demos for cal3d library
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= automake pax
CONFIGURE_ARGS+= --with-cal3d=${PREFIX:Q}
@@ -25,7 +27,7 @@
examples/miniviewer_gl \
tools/converter
-DATADIR= ${PREFIX}/share/cal3d-examples/data
+DATADIR= ${DESTDIR}${PREFIX}/share/cal3d-examples/data
WRKDATADIR= ${WRKDIR}/TheCallyDemo-0.9.1b/data
PATCHDATA= cally.cfg paladin.cfg skeleton.cfg
Home |
Main Index |
Thread Index |
Old Index