diff options
author | hasso <hasso@pkgsrc.org> | 2009-08-30 05:21:20 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-08-30 05:21:20 +0000 |
commit | 80669d4c668e258ed238b6711cff68be06a03c72 (patch) | |
tree | eb1d37e1b88af57026ee658a05b7e65a6247ec48 | |
parent | 3136b45076938f69f4e28db49649a4a7a7beb4e9 (diff) | |
download | pkgsrc-80669d4c668e258ed238b6711cff68be06a03c72.tar.gz |
Add user-destdir support.
-rw-r--r-- | graphics/cal3d-examples/Makefile | 6 |
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 |