blob: 541dd11c7f4bd9a58953a015b46d32d6cb314baf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# $NetBSD: Makefile,v 1.19 2004/09/21 01:40:17 dmcmahill Exp $
#
DISTNAME= fastcap-2.0-18Sep92
PKGNAME= fastcap-2.0.19920918
CATEGORIES= cad
MASTER_SITES= http://www.rle.mit.edu/cpg/codes/
EXTRACT_SUFX= .tgz
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.rle.mit.edu/cpg/research_codes.htm
COMMENT= Fast 3-D capacitance solver
BUILD_DEPENDS+= teTeX>=1.0.7:../../print/teTeX
WRKSRC= ${WRKDIR}
USE_BUILDLINK3= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./config
CONFIGURE_ARGS= 4
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
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
${INSTALL_PROGRAM} ${WRKSRC}/bin/capgen ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/busgen ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pipedgen ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pyragen ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/1x1bus.lst ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/1x1coarse.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/1x1fine.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/1x1nonuni.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/README ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/big_sphere1.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/coated_sph.lst ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/cond_air_1x1.qui ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/cond_dielec_1x1.qui ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/connector2.sh ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/connector3.sh ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/connector4.sh ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/cubeeg.fig ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/dielec_face.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/dielec_sides.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/dielec_sides_2x2.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/dielec_topbot.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/pin ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/pipeeg.fig ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell.lst ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell.out ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell_bitl.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell_botd.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell_cond.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell_gnd.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell_test.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramcell_topd.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/ramgen.sh ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/sphere1.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/sphere2.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/sphere3.neu ${PREFIX}/share/examples/fastcap
${INSTALL_DATA} ${WRKSRC}/examples/testgen.sh ${PREFIX}/share/examples/fastcap
${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} ${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"
|