summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2004-09-21 01:40:17 +0000
committerdmcmahill <dmcmahill>2004-09-21 01:40:17 +0000
commit897b780c6509efad4bb47d6d36ec7156098c06cd (patch)
tree72fc18f21b32c4547312a9976a15154443a3ae4b /cad
parent930294c6c6fb067dd67e56ac8b006a70ec268a74 (diff)
downloadpkgsrc-897b780c6509efad4bb47d6d36ec7156098c06cd.tar.gz
update to fastcap-2.0.19920918. Old distfile was no longer available.
New version is the same code but with a newer and less restrictive license. Also update the homepage.
Diffstat (limited to 'cad')
-rw-r--r--cad/fastcap/Makefile39
-rw-r--r--cad/fastcap/distinfo14
-rw-r--r--cad/fastcap/patches/patch-ac8
3 files changed, 28 insertions, 33 deletions
diff --git a/cad/fastcap/Makefile b/cad/fastcap/Makefile
index c8a6b4def39..541dd11c7f4 100644
--- a/cad/fastcap/Makefile
+++ b/cad/fastcap/Makefile
@@ -1,24 +1,19 @@
-# $NetBSD: Makefile,v 1.18 2004/04/11 05:00:33 snj Exp $
+# $NetBSD: Makefile,v 1.19 2004/09/21 01:40:17 dmcmahill Exp $
#
-DISTNAME= fastcap-2.0-15Jul92
-PKGNAME= fastcap-2.0.19920715
+DISTNAME= fastcap-2.0-18Sep92
+PKGNAME= fastcap-2.0.19920918
CATEGORIES= cad
-MASTER_SITES= ftp://rle-vlsi.mit.edu/pub/fastcap/ \
- ftp://rle-vlsi.mit.edu/pub/fastcap/postscript/
-DISTFILES= fastcap-2.0-15Jul92.tar.Z \
- ug.ps.Z \
- mtt.ps.Z \
- tcad.ps.Z
+MASTER_SITES= http://www.rle.mit.edu/cpg/codes/
+EXTRACT_SUFX= .tgz
MAINTAINER= dmcmahill@NetBSD.org
-HOMEPAGE= http://kontiki.mit.edu/rle/research/info_research_proj.html
+HOMEPAGE= http://www.rle.mit.edu/cpg/research_codes.htm
COMMENT= Fast 3-D capacitance solver
-DIST_SUBDIR= fastcap
-EXTRACT_ONLY= fastcap-2.0-15Jul92.tar.Z
+BUILD_DEPENDS+= teTeX>=1.0.7:../../print/teTeX
-WRKSRC= ${WRKDIR}/fastcap
+WRKSRC= ${WRKDIR}
USE_BUILDLINK3= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./config
@@ -28,6 +23,15 @@ CONFIGURE_ARGS= 4
GCC_REQD+= 2.95.3
.endif
+post-patch:
+ ${CHMOD} 755 ${WRKSRC}/config
+
+post-build:
+ cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} manual
+.for file in mtt tcad ug
+ cd ${WRKSRC}/doc && dvips -o ${file}.ps ${file}.dvi
+.endfor
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/fastcap ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/cubegen ${PREFIX}/bin
@@ -71,12 +75,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/examples/testrun.sh ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/via.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fastcap
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/mtt.ps.Z ${PREFIX}/share/doc/fastcap
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tcad.ps.Z ${PREFIX}/share/doc/fastcap
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/ug.ps.Z ${PREFIX}/share/doc/fastcap
-.for file in mtt.ps.Z tcad.ps.Z ug.ps.Z
- uncompress -f ${PREFIX}/share/doc/fastcap/${file}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/mtt.ps ${PREFIX}/share/doc/fastcap
+ ${INSTALL_DATA} ${WRKSRC}/doc/tcad.ps ${PREFIX}/share/doc/fastcap
+ ${INSTALL_DATA} ${WRKSRC}/doc/ug.ps ${PREFIX}/share/doc/fastcap
${INSTALL_DATA} ${WRKSRC}/README.docs ${PREFIX}/share/doc/fastcap
.include "../../mk/bsd.pkg.mk"
diff --git a/cad/fastcap/distinfo b/cad/fastcap/distinfo
index 3a564c922f3..016af2f9c6e 100644
--- a/cad/fastcap/distinfo
+++ b/cad/fastcap/distinfo
@@ -1,15 +1,9 @@
-$NetBSD: distinfo,v 1.6 2004/06/16 15:33:00 minskim Exp $
+$NetBSD: distinfo,v 1.7 2004/09/21 01:40:17 dmcmahill Exp $
-SHA1 (fastcap/fastcap-2.0-15Jul92.tar.Z) = 256fa1a09ee41ab2bc59cb72730353605b108793
-Size (fastcap/fastcap-2.0-15Jul92.tar.Z) = 2528677 bytes
-SHA1 (fastcap/ug.ps.Z) = 40eac7d15a57b99e2809cb059f5c1872e9fc142f
-Size (fastcap/ug.ps.Z) = 1069715 bytes
-SHA1 (fastcap/mtt.ps.Z) = 3e357c36a0228b70101b858e70918214a40b647e
-Size (fastcap/mtt.ps.Z) = 423783 bytes
-SHA1 (fastcap/tcad.ps.Z) = 9f8e628b33a81dd11f6f0f85f51402ea61c47838
-Size (fastcap/tcad.ps.Z) = 222833 bytes
+SHA1 (fastcap-2.0-18Sep92.tgz) = 7ad255cfe33c60428e934b87298951829331e4d5
+Size (fastcap-2.0-18Sep92.tgz) = 1392318 bytes
SHA1 (patch-aa) = 489b5f8716627f9c9297e8d11f1cfb0e1777b3fe
SHA1 (patch-ab) = 4336ebcb0ba385e6937129735653db20d48d186f
-SHA1 (patch-ac) = d1f207e0921e0a0b4f86234277153a9d6d736ccf
+SHA1 (patch-ac) = 3b3b6d461d5875dfdbaf8af16546887f57279b88
SHA1 (patch-ad) = a9d971f0990d5cf04651afd73689170ce1eb0f13
SHA1 (patch-ae) = fd04e26454f89661a02e37fc51770746af108fd1
diff --git a/cad/fastcap/patches/patch-ac b/cad/fastcap/patches/patch-ac
index d6d54311c03..b1d5ac25141 100644
--- a/cad/fastcap/patches/patch-ac
+++ b/cad/fastcap/patches/patch-ac
@@ -1,12 +1,12 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 10:36:26 agc Exp $
+$NetBSD: patch-ac,v 1.3 2004/09/21 01:40:17 dmcmahill Exp $
--- /dev/null Fri May 8 09:34:20 1998
+++ README.docs Fri May 8 11:07:04 1998
@@ -0,0 +1,7 @@
+The files in this directory are:
+
-+mtt.ps.Z -- Paper from IEEE Microwave Theory and Techniques about FastCap
-+tcad.ps.Z -- Paper from IEEE Transactions on CAD
-+ug.ps.Z -- FastCap users guide
++mtt.ps -- Paper from IEEE Microwave Theory and Techniques about FastCap
++tcad.ps -- Paper from IEEE Transactions on CAD
++ug.ps -- FastCap users guide
+README.docs -- This file
+