summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 15:26:26 +0000
committerjoerg <joerg>2009-07-08 15:26:26 +0000
commit4de8af99eb39ba4c318eebf4d17eb335a399acf2 (patch)
tree17ad1f3d7a4790394cdc9ccba6609364d7149785 /cad
parent30a2b3d10a8aa50fea2238696d8e8f0ed66b1973 (diff)
downloadpkgsrc-4de8af99eb39ba4c318eebf4d17eb335a399acf2.tar.gz
user-destdir support
Diffstat (limited to 'cad')
-rw-r--r--cad/dinotrace/Makefile4
-rw-r--r--cad/dinotrace/distinfo3
-rw-r--r--cad/dinotrace/patches/patch-ab27
-rw-r--r--cad/electric/Makefile8
4 files changed, 37 insertions, 5 deletions
diff --git a/cad/dinotrace/Makefile b/cad/dinotrace/Makefile
index b833f50760e..32e90d8fba7 100644
--- a/cad/dinotrace/Makefile
+++ b/cad/dinotrace/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2007/03/02 02:44:13 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.41 2009/07/08 15:26:49 joerg Exp $
#
DISTNAME= dinotrace-9.3c
@@ -10,6 +10,8 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.veripool.com/dinotrace/
COMMENT= Tool for viewing the output of digital simulators
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
INFO_FILES= YES
USE_TOOLS+= gmake perl
diff --git a/cad/dinotrace/distinfo b/cad/dinotrace/distinfo
index 37ac75a818d..4f6c400f7bd 100644
--- a/cad/dinotrace/distinfo
+++ b/cad/dinotrace/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2007/03/02 02:44:13 dmcmahill Exp $
+$NetBSD: distinfo,v 1.13 2009/07/08 15:26:49 joerg Exp $
SHA1 (dinotrace-9.3c.tgz) = ed37f7fde4f69d42ee3904d363b35fd1be0a44bc
RMD160 (dinotrace-9.3c.tgz) = 545d60ef99e7e878cc9380fef805deca6ad77cce
Size (dinotrace-9.3c.tgz) = 521395 bytes
SHA1 (patch-aa) = abe6d33f6788b6aaf418c0cc68bbd10dee44294b
+SHA1 (patch-ab) = dc03d89769f987c55a3436fd3f665729ce4d0995
diff --git a/cad/dinotrace/patches/patch-ab b/cad/dinotrace/patches/patch-ab
new file mode 100644
index 00000000000..ac1fb3398cd
--- /dev/null
+++ b/cad/dinotrace/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.4 2009/07/08 15:26:49 joerg Exp $
+
+--- Makefile.in.orig 2009-07-08 17:24:49.000000000 +0200
++++ Makefile.in
+@@ -156,11 +156,11 @@ dinotrace.dvi: dinotrace.texi
+ $(TEXI2DVI) $(srcdir)/dinotrace.texi
+
+ installdirs:
+- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir)
++ $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(infodir)
+
+ install: all info installdirs install-info
+ for p in dinotrace; do \
+- $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \
++ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/$$p; \
+ done
+ @echo ""
+ @echo "*** Lisp files not installed, you may want to"
+@@ -171,7 +171,7 @@ install: all info installdirs install-in
+ # Don't cd, to avoid breaking install-sh references.
+ install-info: info installdirs
+ for i in *.info*; do \
+- $(INSTALL_DATA) $$i $(infodir)/$$i; \
++ $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
+ done
+
+ uninstall:
diff --git a/cad/electric/Makefile b/cad/electric/Makefile
index 05a0db9e4fc..f8a6714f33b 100644
--- a/cad/electric/Makefile
+++ b/cad/electric/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/05/09 02:42:25 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.17 2009/07/08 15:35:48 joerg Exp $
#
DISTNAME= electric-7.00
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/electric/electric.html
COMMENT= Electrical CAD system
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
@@ -20,8 +22,8 @@ post-patch:
< ${WRKSRC}/src/include/config.h.bak \
> ${WRKSRC}/src/include/config.h
-post-install:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.html
+INSTALL_TARGET= install install.html
+INSTALLATION_DIRS= bin
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"