blob: 6febc39c836db39c6cfd737526c37c8187ae001b (
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
|
# Created by: Herve Quiroz <hq@FreeBSD.org>
# $FreeBSD$
PORTNAME= util-concurrent
PORTVERSION= 1.3.4
PORTREVISION= 2
CATEGORIES= devel java
MASTER_SITES= http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/current/
PKGNAMEPREFIX= java-
DISTNAME= concurrent
MAINTAINER= hq@FreeBSD.org
COMMENT= Utility classes for concurrent Java programming
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
ALL_TARGET= dist
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
.endif
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
PORTDOCS= apidocs index.html
.endif
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
@cd ${WRKSRC}/docs \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/apidocs/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/apidocs/{} \;
@${INSTALL_DATA} ${WRKSRC}/intro.html ${DOCSDIR}/index.html
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.post.mk>
|