summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-26 21:13:27 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-26 21:13:27 +0000
commit0bbf61ccde55de0209efd4d47dcccc809d269ff5 (patch)
tree20fcb51bb3bbbc54ffa3edeb587bc1b7d767f597 /cad
parent6a797582265e0b20840c5fd48e1b6b0d2e189f44 (diff)
downloadpkgsrc-0bbf61ccde55de0209efd4d47dcccc809d269ff5.tar.gz
DESTDIR support.
Diffstat (limited to 'cad')
-rw-r--r--cad/qcad-manual-cs/Makefile4
-rw-r--r--cad/qcad-manual-de/Makefile4
-rw-r--r--cad/qcad-manual-en/Makefile4
-rw-r--r--cad/qcad-manual-en/Makefile.common7
-rw-r--r--cad/qcad-manual-hu/Makefile4
5 files changed, 16 insertions, 7 deletions
diff --git a/cad/qcad-manual-cs/Makefile b/cad/qcad-manual-cs/Makefile
index cdc9c861eeb..cf089a26a18 100644
--- a/cad/qcad-manual-cs/Makefile
+++ b/cad/qcad-manual-cs/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2006/06/15 08:49:09 chap Exp $
+# $NetBSD: Makefile,v 1.2 2010/01/26 21:13:27 joerg Exp $
#
DISTNAME= qcad-manual-cs-2.0.4.0-1.html
PKGNAME= qcad-manual-cs-2.0.4.0
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../cad/qcad/Makefile.common"
COMMENT= Online manual for QCad 2D CAD package, Czech
diff --git a/cad/qcad-manual-de/Makefile b/cad/qcad-manual-de/Makefile
index 7199ff022e8..df0a556ab50 100644
--- a/cad/qcad-manual-de/Makefile
+++ b/cad/qcad-manual-de/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2006/06/15 08:54:33 chap Exp $
+# $NetBSD: Makefile,v 1.2 2010/01/26 21:13:27 joerg Exp $
#
DISTNAME= qcad-manual-de-2.0.4.0-1.html
PKGNAME= qcad-manual-de-2.0.4.0
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../cad/qcad/Makefile.common"
COMMENT= Online manual for QCad 2D CAD package, German
diff --git a/cad/qcad-manual-en/Makefile b/cad/qcad-manual-en/Makefile
index 2d881babae8..afeb227dd31 100644
--- a/cad/qcad-manual-en/Makefile
+++ b/cad/qcad-manual-en/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2006/06/15 08:41:13 chap Exp $
+# $NetBSD: Makefile,v 1.2 2010/01/26 21:13:27 joerg Exp $
#
DISTNAME= qcad-manual-en-2.0.4.0-1.html
PKGNAME= qcad-manual-en-2.0.4.0
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../cad/qcad/Makefile.common"
COMMENT= Online manual for QCad 2D CAD package, English
diff --git a/cad/qcad-manual-en/Makefile.common b/cad/qcad-manual-en/Makefile.common
index aaf2a9bdc8f..9ef4c4eab22 100644
--- a/cad/qcad-manual-en/Makefile.common
+++ b/cad/qcad-manual-en/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2008/05/26 02:13:16 joerg Exp $
+# $NetBSD: Makefile.common,v 1.3 2010/01/26 21:13:27 joerg Exp $
#
EXTRACT_SUFX= .zip
@@ -16,8 +16,9 @@ USE_TOOLS+= pax
NO_CONFIGURE= yes
NO_BUILD= yes
+INSTALLATION_DIRS= share/qcad/doc
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/qcad/doc
- cd ${WRKSRC} && umask 022 && pax -rwpm . ${PREFIX}/share/qcad/doc
+ cd ${WRKSRC} && umask 022 && pax -rwpm . ${DESTDIR}${PREFIX}/share/qcad/doc
.include "../../mk/bsd.pkg.mk"
diff --git a/cad/qcad-manual-hu/Makefile b/cad/qcad-manual-hu/Makefile
index c7f53ececee..2eaf4d9f82d 100644
--- a/cad/qcad-manual-hu/Makefile
+++ b/cad/qcad-manual-hu/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2006/06/15 08:59:32 chap Exp $
+# $NetBSD: Makefile,v 1.2 2010/01/26 21:13:27 joerg Exp $
#
DISTNAME= qcad-manual-hu-2.0.4.0-1.html
PKGNAME= qcad-manual-hu-2.0.4.0
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../cad/qcad/Makefile.common"
COMMENT= Online manual for QCad 2D CAD package, Hungarian