blob: dd493a8a77a500c54e5c2d443fb634456cad6009 (
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
|
# 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>
|