blob: eb5df32e02e5ad1ef9b040c6826d2c1ced691fe0 (
plain)
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
|
# ex:ts=8
# Ports collection makefile for: impact
# Date created: Mar 4, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= impact
PORTVERSION= 0.7.5
PORTREVISION= 1
CATEGORIES= cad java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= Impact-${PORTVERSION}
MAINTAINER= araujo@FreeBSD.org
COMMENT= Dynamic Finite Element Program Suite
USE_ZIP= yes
WRKSRC= ${WRKDIR}/Impact
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= impact impactgui
PLIST_FILES= bin/impact bin/impactgui
do-install:
cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
${INSTALL_SCRIPT} ${WRKDIR}/impact ${WRKDIR}/impactgui ${PREFIX}/bin
post-install:
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
|