freebsd-ports/net/danamics/Makefile
2004-02-22 02:09:15 +00:00

41 lines
934 B
Makefile

# New ports collection makefile for: danamics
# Date created: 18 March 2003
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= danamics
PORTVERSION= 1.1
CATEGORIES= net java
MASTER_SITES= ftp://ftp.cs.uct.ac.za/pub/FreeBSD/distfiles-local/
MAINTAINER= ports@FreeBSD.org
COMMENT= Petri Net editor for correctness and performance analysis
USE_JAVA= 1.1+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/DaNAMiCS
.include <bsd.port.pre.mk>
PLIST= ${WRKDIR}/plist
pre-install:
cd ${WRKSRC}; ${FIND} . -type f \
| ${SORT} | ${SED} -e 's|^\.|danamics|' >${PLIST}
cd ${WRKSRC}; ${FIND} . -type d \
| ${SORT} -r | ${SED} -e 's|^\.|@dirrm danamics|' >>${PLIST}
${ECHO} bin/danamics >>${PLIST}
do-install:
${MKDIR} ${PREFIX}/danamics
${CP} -R ${WRKSRC}/* ${PREFIX}/danamics
${SED} \
-e s,%%PREFIX%%,${PREFIX},g \
< ${FILESDIR}/danamics.sh > ${PREFIX}/bin/danamics; \
${CHMOD} a+x ${PREFIX}/bin/danamics
.include <bsd.port.post.mk>