summaryrefslogtreecommitdiff
path: root/graphics/ns-cult3d
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 15:39:09 +0000
committerjlam <jlam>2008-03-04 15:39:09 +0000
commitb5f6311af8bceb6f6ffa993ab73f802a0907c782 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/ns-cult3d
parent6bbd21113d6839286420c35137f9be60efb9389e (diff)
downloadpkgsrc-b5f6311af8bceb6f6ffa993ab73f802a0907c782.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/ns-cult3d')
-rw-r--r--graphics/ns-cult3d/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/ns-cult3d/Makefile b/graphics/ns-cult3d/Makefile
index 8c1f868f55b..b92692b170b 100644
--- a/graphics/ns-cult3d/Makefile
+++ b/graphics/ns-cult3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/02/22 19:26:34 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/04 15:39:10 jlam Exp $
#
DISTNAME= Cult3D_NS4_5.2b1
@@ -13,6 +13,8 @@ COMMENT= Netscape plugin for cult 3d files
NOT_FOR_PLATFORM= Interix-*-*
ONLY_FOR_PLATFORM= *-*-i386
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/cult3d-5.2-b1-linux-x86
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -26,7 +28,9 @@ post-extract:
chmod -R go-w ${WRKSRC}
do-install:
- cd ${WRKSRC} && pax -wr cult3d ${PREFIX}/lib/netscape/plugins
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ns-cult3d.txt
+ cd ${WRKSRC} && pax -wr cult3d \
+ ${DESTDIR}${PREFIX}/lib/netscape/plugins
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/ns-cult3d.txt
.include "../../mk/bsd.pkg.mk"