aboutsummaryrefslogtreecommitdiffstats
path: root/java/trove4j/Makefile
blob: 1533053e78ba75f0f4a54d58721e87202de2ea2b (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
# Created by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
# $FreeBSD$

PORTNAME=   trove4j
PORTVERSION=    1.1b5
PORTREVISION=   2
CATEGORIES= java devel
MASTER_SITES=   SF/${PORTNAME}/trove/trove-${PORTVERSION}
DISTNAME=   trove-${PORTVERSION}

MAINTAINER= hq@FreeBSD.org
COMMENT=    High performance collections API for Java

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

.if !defined(NOPORTDOCS)
PORTDOCS=   javadocs AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt
.endif
JARFILE=    trove.jar
PLIST_FILES+=   %%JAVAJARDIR%%/${JARFILE}

do-install:
    @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
    @${INSTALL_DATA} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/
    @${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
    @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
    @cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
    @cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
    @${ECHO_MSG} " [ DONE ]"
.endif

.include <bsd.port.mk>