0e83dc900b
- Add NO_ARCH
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= seda
|
|
PORTVERSION= 3.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net java
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-release-${VERSION_DATE}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Architecture for Highly Concurrent Server Applications
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
USE_ANT= yes
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
ALL_TARGET+= javadoc
|
|
.endif
|
|
|
|
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}/
|
|
# docs
|
|
@${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>
|