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/330480318dc3
branches:  trunk
changeset: 398418:330480318dc3
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 4bfaf9ad75c7 -r 330480318dc3 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