From e649f099bf9dc98db06c01ee65e0226ab6a1e35e Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 30 Aug 2009 05:21:20 +0000 Subject: Add user-destdir support. --- graphics/cal3d-examples/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'graphics/cal3d-examples') 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 -- cgit v1.2.3