2003-04-18 08:58:36 +02:00
|
|
|
# New ports collection makefile for: danamics
|
|
|
|
# Date created: 18 March 2003
|
|
|
|
# Whom: mwest@uct.ac.za
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= danamics
|
|
|
|
PORTVERSION= 1.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2003-04-18 08:58:36 +02:00
|
|
|
CATEGORIES= net java
|
|
|
|
MASTER_SITES= ftp://ftp.cs.uct.ac.za/pub/FreeBSD/distfiles-local/
|
|
|
|
|
2004-02-22 03:09:15 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-04-18 08:58:36 +02:00
|
|
|
COMMENT= Petri Net editor for correctness and performance analysis
|
|
|
|
|
2005-02-03 22:31:45 +01:00
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
2003-04-18 08:58:36 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/DaNAMiCS
|
2005-02-03 22:31:45 +01:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
DATAFILES= DaNAMiCS DaNAMiCS.jar INSTALL dnamaca.opt
|
2003-04-18 08:58:36 +02:00
|
|
|
|
2005-02-03 22:31:45 +01:00
|
|
|
SUB_FILES= danamics.sh
|
|
|
|
PLIST_FILES= bin/danamics
|
2003-04-18 08:58:36 +02:00
|
|
|
|
2005-02-03 22:31:45 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-04-18 08:58:36 +02:00
|
|
|
|
2005-02-03 22:31:45 +01:00
|
|
|
post-install:
|
|
|
|
@cd ${WRKSRC}; ${FIND} -s ${DATAFILES} -type f \
|
|
|
|
| ${SED} -e 's|^|${DATADIR:S,^${PREFIX}/,,}/|' >>${TMPPLIST}
|
|
|
|
@cd ${WRKSRC}; ${FIND} -s -d ${DATAFILES} -type d \
|
|
|
|
| ${SED} -e 's|^|@dirrm ${DATADIR:S,^${PREFIX}/,,}/|' >>${TMPPLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S,^${PREFIX}/,,}' >>${TMPPLIST}
|
2003-07-05 21:01:41 +02:00
|
|
|
|
2003-04-18 08:58:36 +02:00
|
|
|
do-install:
|
2005-02-03 22:31:45 +01:00
|
|
|
cd ${WRKSRC} \
|
|
|
|
&& ${FIND} -s ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
|
|
|
|
&& ${FIND} -s ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/danamics.sh ${PREFIX}/bin/danamics
|
2003-04-18 08:58:36 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|