blob: 01321e7ad0cb6cff05374412f4a8d9a529dd6c2d (
plain) (
blame)
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
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= impact
PORTVERSION= 0.7.06.038
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= cad java
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}
MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic Finite Element Program Suite
LICENSE= GPLv2
RUN_DEPENDS= java3d>0:${PORTSDIR}/java/java3d
WRKSRC= ${WRKDIR}/Impact
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/Impact
SUB_FILES= impact impactgui
PLIST_FILES= bin/impact \
bin/impactgui \
share/pixmaps/impact.png \
${DATADIR_REL}/.classpath \
${DATADIR_REL}/.project \
${DATADIR_REL}/.vcm_meta
PORTDATA= *
DESKTOP_ENTRIES="Impact" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}gui" "Graphics;3DGraphics;Education;" false
OPTIONS_DEFINE= GMSH
GMSH_DESC= Automatic 3D finite element mesh generator
GMSH_RUN_DEPENDS= gmsh:${PORTSDIR}/cad/gmsh
post-extract:
@${FIND} ${WRKSRC} -name CVS -type d -print0 -or -name .cvsignore -type f -print0 | \
${XARGS} -0 ${RM} -rf
do-install:
(cd ${WRKDIR} && ${INSTALL_SCRIPT} impact impactgui \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
|