mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
5f5fab98b3
- Use option helper - Switch to PORTDATA, add missing files to PLIST_FILES
62 lines
1.5 KiB
Makefile
62 lines
1.5 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= impact
|
|
PORTVERSION= 0.7.06.038
|
|
PORTREVISION= 1
|
|
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>
|