2012-12-10 11:25:27 +00:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2005-03-04 07:36:48 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= impact
|
2013-02-08 01:58:49 +00:00
|
|
|
PORTVERSION= 0.7.06.038
|
2013-03-25 02:51:20 +00:00
|
|
|
PORTREVISION= 1
|
2013-02-08 01:58:49 +00:00
|
|
|
PORTEPOCH= 1
|
2005-08-29 17:59:53 +00:00
|
|
|
CATEGORIES= cad java
|
2013-03-25 02:51:20 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION} \
|
|
|
|
SF/nemysisfreebsdp/:icons
|
|
|
|
DISTFILES= Impact-${DISTVERSION}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}.png:icons
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_ONLY= Impact-${DISTVERSION}${EXTRACT_SUFX}
|
2005-03-04 07:36:48 +00:00
|
|
|
|
2010-11-15 00:14:28 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-03-04 07:36:48 +00:00
|
|
|
COMMENT= Dynamic Finite Element Program Suite
|
|
|
|
|
2013-03-25 02:51:20 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-02-08 01:58:49 +00:00
|
|
|
RUN_DEPENDS= java3d>0:${PORTSDIR}/java/java3d
|
|
|
|
|
2005-03-04 07:36:48 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Impact
|
2013-02-08 01:58:49 +00:00
|
|
|
|
2014-03-07 15:59:54 +00:00
|
|
|
USES= zip
|
2005-03-04 07:36:48 +00:00
|
|
|
USE_JAVA= yes
|
2012-12-10 11:25:27 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2013-03-25 02:51:20 +00:00
|
|
|
NO_BUILD= yes
|
2005-03-04 07:36:48 +00:00
|
|
|
|
2013-02-08 01:58:49 +00:00
|
|
|
DATADIR= ${JAVASHAREDIR}/Impact
|
|
|
|
|
2005-03-04 07:36:48 +00:00
|
|
|
SUB_FILES= impact impactgui
|
|
|
|
|
2013-03-25 02:51:20 +00:00
|
|
|
PLIST_FILES= bin/impact \
|
|
|
|
bin/impactgui \
|
2014-03-24 12:05:21 +00:00
|
|
|
share/pixmaps/impact.png \
|
|
|
|
${DATADIR_REL}/.classpath \
|
|
|
|
${DATADIR_REL}/.project \
|
|
|
|
${DATADIR_REL}/.vcm_meta
|
|
|
|
PORTDATA= *
|
2013-03-25 02:51:20 +00:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Impact" "${COMMENT}" "${PORTNAME}" \
|
|
|
|
"${PORTNAME}gui" "Graphics;3DGraphics;Education;" false
|
|
|
|
|
2014-03-24 12:05:21 +00:00
|
|
|
OPTIONS_DEFINE= GMSH
|
2013-03-25 02:51:20 +00:00
|
|
|
|
2014-03-24 12:05:21 +00:00
|
|
|
GMSH_DESC= Automatic 3D finite element mesh generator
|
|
|
|
GMSH_RUN_DEPENDS= gmsh:${PORTSDIR}/cad/gmsh
|
2013-03-25 02:51:20 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC} -name CVS -type d -print0 -or -name .cvsignore -type f -print0 | \
|
|
|
|
${XARGS} -0 ${RM} -rf
|
2005-03-04 07:36:48 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-03-24 12:05:21 +00:00
|
|
|
(cd ${WRKDIR} && ${INSTALL_SCRIPT} impact impactgui \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
2005-03-04 07:36:48 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|