ports/net/seda/Makefile
Muhammad Moinur Rahman ac7a7d6fe1
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.

Thanks to vvd for carefully going through this.

Reported by:	vvd
Approved by:	portmgr (blanket)
2024-12-31 15:39:30 +01:00

47 lines
997 B
Makefile

PORTNAME= seda
PORTVERSION= 3.0
PORTREVISION= 3
CATEGORIES= net java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-release-${VERSION_DATE}
MAINTAINER= ports@FreeBSD.org
COMMENT= Architecture for Highly Concurrent Server Applications
WWW= http://www.eecs.harvard.edu/~mdw/proj/seda/
USES= java:ant,run
ALL_TARGET= dist
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
JAVADOC_WRKSRC= ${WRKSRC}/build/javadoc
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
VERSION_DATE= 20020712
PORTDOCS= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME:tl}.jar
DOCS_ALL_TARGET= javadoc
pre-build:
# use our build.xml
${CP} ${FILESDIR}/build.xml ${WRKSRC}
do-install:
# jar
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/dist/lib/${PORTNAME:tl}.jar \
${STAGEDIR}${JAVAJARDIR}/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in gnutella-graph.gif index.html nbio.html profile.gif sandstorm.html sandstorm.jpg
${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>