summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorhasso <hasso>2009-08-30 05:21:20 +0000
committerhasso <hasso>2009-08-30 05:21:20 +0000
commit5feef2c02e7862d7833d9a5a6af95b8a5fee67da (patch)
treeeb1d37e1b88af57026ee658a05b7e65a6247ec48 /graphics
parent0544e0ad6d4ca8d7fe6087c782541b8e3399c180 (diff)
downloadpkgsrc-5feef2c02e7862d7833d9a5a6af95b8a5fee67da.tar.gz
Add user-destdir support.
Diffstat (limited to 'graphics')
-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