summaryrefslogtreecommitdiff
path: root/graphics/cal3d-examples
diff options
context:
space:
mode:
authorhasso <hasso>2009-08-30 05:21:20 +0000
committerhasso <hasso>2009-08-30 05:21:20 +0000
commite649f099bf9dc98db06c01ee65e0226ab6a1e35e (patch)
treeeb1d37e1b88af57026ee658a05b7e65a6247ec48 /graphics/cal3d-examples
parent8a178b266d9c437bb9b99b03fd3f7cfd06162b33 (diff)
downloadpkgsrc-e649f099bf9dc98db06c01ee65e0226ab6a1e35e.tar.gz
Add user-destdir support.
Diffstat (limited to 'graphics/cal3d-examples')
-rw-r--r--graphics/cal3d-examples/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/cal3d-examples/Makefile b/graphics/cal3d-examples/Makefile
index e07ef4cb8b8..a96c920d96e 100644
--- a/graphics/cal3d-examples/Makefile
+++ b/graphics/cal3d-examples/Makefile
@@ -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 @@ DISTFILES= TheCallyDemo-0.9.1b.zip \
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 @@ BUILD_DIRS= examples/cally \
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