summaryrefslogtreecommitdiff
path: root/cad/qcad-partlibrary
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit2e614fcea0b247bbc54200c2ed35e943cca37125 (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/qcad-partlibrary
parentf61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff)
downloadpkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'cad/qcad-partlibrary')
-rw-r--r--cad/qcad-partlibrary/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/cad/qcad-partlibrary/Makefile b/cad/qcad-partlibrary/Makefile
index 3c50d1377ba..b84a5bbf742 100644
--- a/cad/qcad-partlibrary/Makefile
+++ b/cad/qcad-partlibrary/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/01/02 13:44:23 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 01:50:27 jlam Exp $
#
DISTNAME= partlibrary-2.0.1.2-1
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ribbonsoft.com/qcad/
COMMENT= About 4500 mech, elec, etc. parts for the QCad 2D CAD system
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -22,7 +24,7 @@ post-extract:
cd ${WRKSRC}/electrical/denzuq && chmod -x */*/*.dxf
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/qcad/library
- cd ${WRKSRC} && pax -rwpm . ${PREFIX}/share/qcad/library
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/qcad/library
+ cd ${WRKSRC} && pax -rwpm . ${DESTDIR}${PREFIX}/share/qcad/library
.include "../../mk/bsd.pkg.mk"