aboutsummaryrefslogtreecommitdiffstats
path: root/net/jgroups/Makefile
blob: b6ecdf1bc18accbce56735002c127b08a54c63c1 (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
# New ports collection makefile for:    jgroups
# Date created:         18 Mar 2011
# Whom:             Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   jgroups
PORTVERSION=    2.12.0
CATEGORIES= net java
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale

MAINTAINER= ale@FreeBSD.org
COMMENT=    A Java toolkit for reliable multicast communication

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_JAVA=   yes
JAVA_VERSION=   1.6+
USE_ANT=    yes
ALL_TARGET= jar
.if !defined(NOPORTDOCS)
ALL_TARGET+=    javadoc
.endif

PORTDATA=   *
PORTDOCS=   *

PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar

do-install:
    ${INSTALL_DATA} ${WRKSRC}/dist/${DISTNAME}.Final.jar \
        ${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDATA)
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-sources.jar \
        ${DATADIR}/
.endif
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/dist/README ${DOCSDIR}/
    @(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${DOCSDIR})
.endif

.include <bsd.port.mk>