diff options
-rw-r--r-- | cad/Makefile | 1 | ||||
-rw-r--r-- | cad/impact/Makefile | 41 | ||||
-rw-r--r-- | cad/impact/distinfo | 2 | ||||
-rw-r--r-- | cad/impact/files/impact.in | 7 | ||||
-rw-r--r-- | cad/impact/files/impactgui.in | 7 | ||||
-rw-r--r-- | cad/impact/pkg-descr | 6 |
6 files changed, 64 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile index d08924d19cab..867a1c28c6e0 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -29,6 +29,7 @@ SUBDIR += gschem SUBDIR += gtkwave SUBDIR += gwave + SUBDIR += impact SUBDIR += irsim SUBDIR += iverilog SUBDIR += leocad diff --git a/cad/impact/Makefile b/cad/impact/Makefile new file mode 100644 index 000000000000..2cccfd95b64e --- /dev/null +++ b/cad/impact/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: impact +# Date created: Mar 4, 2005 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= impact +PORTVERSION= 0.5.3 +CATEGORIES= cad +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= Impact-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Dynamic Finite Element Program Suite + +USE_ZIP= yes +WRKSRC= ${WRKDIR}/Impact +USE_JAVA= yes +JAVA_VERSION= 1.4+ +NO_BUILD= yes + +SUB_FILES= impact impactgui +SUB_LIST= DIR=${PREFIX}/impact + +PLIST_FILES= bin/impact bin/impactgui + +do-install: + @${MKDIR} ${PREFIX}/impact + ${CP} -R ${WRKSRC}/ ${PREFIX}/impact + ${INSTALL_SCRIPT} ${WRKDIR}/impact ${WRKDIR}/impactgui ${PREFIX}/bin + +post-install: + @${FIND} ${PREFIX}/impact ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${PREFIX}/impact -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/cad/impact/distinfo b/cad/impact/distinfo new file mode 100644 index 000000000000..a39bce47db36 --- /dev/null +++ b/cad/impact/distinfo @@ -0,0 +1,2 @@ +MD5 (Impact-0.5.3.zip) = 45fbc9e4e17daeb7ff06d0118eb11298 +SIZE (Impact-0.5.3.zip) = 5150450 diff --git a/cad/impact/files/impact.in b/cad/impact/files/impact.in new file mode 100644 index 000000000000..41e8fe5dc9f4 --- /dev/null +++ b/cad/impact/files/impact.in @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ + +cd %%DIR%%/bin +"%%LOCALBASE%%/bin/java" -Xmx500m run.Impact $1 +cd - diff --git a/cad/impact/files/impactgui.in b/cad/impact/files/impactgui.in new file mode 100644 index 000000000000..13c99f61b004 --- /dev/null +++ b/cad/impact/files/impactgui.in @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ + +cd %%DIR%%/bin +"%%LOCALBASE%%/bin/java" -Xmx500m gui.ImpactGUI +cd - diff --git a/cad/impact/pkg-descr b/cad/impact/pkg-descr new file mode 100644 index 000000000000..662bb86a6141 --- /dev/null +++ b/cad/impact/pkg-descr @@ -0,0 +1,6 @@ +Impact is an explicit Finite Element Program which simulates dynamic impact +events. It has a range of elements, contact handling and different material +laws. Models can be created and viewed with external programs or the +included postprocessor. + +WWW: http://impact.sourceforge.net/ |