aboutsummaryrefslogtreecommitdiffstats
path: root/science/fastcap
diff options
context:
space:
mode:
Diffstat (limited to 'science/fastcap')
-rw-r--r--science/fastcap/Makefile15
-rw-r--r--science/fastcap/distinfo5
-rw-r--r--science/fastcap/pkg-plist70
3 files changed, 43 insertions, 47 deletions
diff --git a/science/fastcap/Makefile b/science/fastcap/Makefile
index ef485efd4b4..c4d547f794c 100644
--- a/science/fastcap/Makefile
+++ b/science/fastcap/Makefile
@@ -6,21 +6,16 @@
#
PORTNAME= fastcap
-DISTVERSION= ${P_VERSION}wr
+DISTVERSION= 2.0wr-011109
CATEGORIES= science cad
-MASTER_SITES= ftp://ftp.srware.com/pub/ \
- http://www.wrcad.com/ftp/pub/
+MASTER_SITES= http://www.wrcad.com/ftp/pub/ LOCAL/bf
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bf@FreeBSD.org
COMMENT= A three-dimensional capacitance extraction program
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
-
-P_VERSION= 2.0
-
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= config
+WRKSRC = ${WRKDIR}/fastcap-2.0wr
BINFILES= busgen capgen cubegen fastcap pipedgen pyragen
@@ -34,8 +29,10 @@ do-install:
.for b in ${BINFILES}
@${INSTALL_PROGRAM} ${WRKSRC}/bin/${b} ${PREFIX}/bin/
.endfor
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CAT} ${WRKSRC}/README ${WRKSRC}/README.mit > ${DOCSDIR}/readme
diff --git a/science/fastcap/distinfo b/science/fastcap/distinfo
index 6e64176c49a..02068acf132 100644
--- a/science/fastcap/distinfo
+++ b/science/fastcap/distinfo
@@ -1,3 +1,2 @@
-MD5 (fastcap-2.0wr.tar.gz) = 6cc1f17175d73c5f808e99a0713a7c65
-SHA256 (fastcap-2.0wr.tar.gz) = f47f9f04d1ce750a6e005ffb0ce3dfeb9ef511e930b81bb9f9988fb71a82eb39
-SIZE (fastcap-2.0wr.tar.gz) = 1607118
+SHA256 (fastcap-2.0wr-011109.tar.gz) = fc6e1734438771de6558ffc1e48e20db438b571bc3a67af92c45d175ec4c46c3
+SIZE (fastcap-2.0wr-011109.tar.gz) = 1596585
diff --git a/science/fastcap/pkg-plist b/science/fastcap/pkg-plist
index 1c0163cc027..c41b661b00d 100644
--- a/science/fastcap/pkg-plist
+++ b/science/fastcap/pkg-plist
@@ -4,43 +4,43 @@ bin/cubegen
bin/fastcap
bin/pipedgen
bin/pyragen
-%%EXAMPLESDIR%%/1x1bus.lst
-%%EXAMPLESDIR%%/1x1coarse.neu
-%%EXAMPLESDIR%%/1x1fine.neu
-%%EXAMPLESDIR%%/1x1nonuni.neu
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/big_sphere1.neu
-%%EXAMPLESDIR%%/coated_sph.lst
-%%EXAMPLESDIR%%/cond_air_1x1.qui
-%%EXAMPLESDIR%%/cond_dielec_1x1.qui
-%%EXAMPLESDIR%%/connector2.sh
-%%EXAMPLESDIR%%/connector3.sh
-%%EXAMPLESDIR%%/connector4.sh
-%%EXAMPLESDIR%%/cubeeg.fig
-%%EXAMPLESDIR%%/dielec_face.neu
-%%EXAMPLESDIR%%/dielec_sides.neu
-%%EXAMPLESDIR%%/dielec_sides_2x2.neu
-%%EXAMPLESDIR%%/dielec_topbot.neu
-%%EXAMPLESDIR%%/pin
-%%EXAMPLESDIR%%/pipeeg.fig
-%%EXAMPLESDIR%%/ramcell.lst
-%%EXAMPLESDIR%%/ramcell.out
-%%EXAMPLESDIR%%/ramcell_bitl.neu
-%%EXAMPLESDIR%%/ramcell_botd.neu
-%%EXAMPLESDIR%%/ramcell_cond.neu
-%%EXAMPLESDIR%%/ramcell_gnd.neu
-%%EXAMPLESDIR%%/ramcell_test.neu
-%%EXAMPLESDIR%%/ramcell_topd.neu
-%%EXAMPLESDIR%%/ramgen.sh
-%%EXAMPLESDIR%%/sphere1.neu
-%%EXAMPLESDIR%%/sphere2.neu
-%%EXAMPLESDIR%%/sphere3.neu
-%%EXAMPLESDIR%%/testgen.sh
-%%EXAMPLESDIR%%/testrun.sh
-%%EXAMPLESDIR%%/via.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1x1bus.lst
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1x1coarse.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1x1fine.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1x1nonuni.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/big_sphere1.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coated_sph.lst
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cond_air_1x1.qui
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cond_dielec_1x1.qui
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/connector2.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/connector3.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/connector4.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cubeeg.fig
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dielec_face.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dielec_sides.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dielec_sides_2x2.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dielec_topbot.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pin
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pipeeg.fig
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell.lst
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell.out
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell_bitl.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell_botd.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell_cond.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell_gnd.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell_test.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramcell_topd.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ramgen.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sphere1.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sphere2.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sphere3.neu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgen.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testrun.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/via.neu
%%PORTDOCS%%%%DOCSDIR%%/mtt.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/tcad.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/ug.ps.gz
%%PORTDOCS%%%%DOCSDIR%%/readme.gz
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%