blob: fef206bda6b623dea930b89a14b43f96a459d4dc (
plain) (
blame)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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= An Architecture for Highly Concurrent Server Applications
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
ALL_TARGET= dist
.ifndef(NOPORTDOCS)
ALL_TARGET+= javadoc
.endif
JAVADOC_WRKSRC= ${WRKSRC}/build/javadoc
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
VERSION_DATE= 20020712
DOC_FILES= \
gnutella-graph.gif \
index.html \
nbio.html \
profile.gif \
sandstorm.html \
sandstorm.jpg
PORTDOCS= ${DOC_FILES} \
javadoc
PLIST_FILES= \
%%JAVAJARDIR%%/${PORTNAME:tl}.jar
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
.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
. for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}
. endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/javadoc
# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
@cd ${JAVADOC_WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/javadoc/{}" \; && \
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/javadoc/{}" \;
.endif
.include <bsd.port.mk>
|