freebsd-ports/cad/impact/Makefile
Tijl Coosemans eb96de0656 Remove libexpat.so.6 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 17:40:41 +00:00

61 lines
1.4 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= impact
PORTVERSION= 0.7.06.038
PORTREVISION= 3
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
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: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>