blob: f93dfab2688279c281e06cfd0be635854d54e737 (
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
64
65
66
67
|
# New ports collection makefile for: seda
# Date created: Thu Jan 13 15:45:22 UTC 2005
# Whom: 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.3+
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:L}.jar
pre-build:
# use our build.xml
@${CP} ${FILESDIR}/build.xml ${WRKSRC}
do-install:
# jar
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/dist/lib/${PORTNAME:L}.jar \
${JAVAJARDIR}/
# docs
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
. endfor
@${MKDIR} ${DOCSDIR}/javadoc
# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
@cd ${JAVADOC_WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} "${DOCSDIR}/javadoc/{}" \; && \
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/javadoc/{}" \;
.endif
.include <bsd.port.mk>
|