1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/cad/impact/Makefile
2021-04-06 16:31:07 +02:00

60 lines
1.4 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
PORTNAME= impact
PORTVERSION= 0.7.06.038
PORTREVISION= 4
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:java/java3d
WRKSRC= ${WRKDIR}/Impact
USES= zip
USE_JAVA= yes
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:cad/gmsh
post-extract:
@${FIND} ${WRKSRC} -name CVS -type d -print0 -or -name .cvsignore -type f -print0 | \
${XARGS} -0 ${RM} -r
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>