aboutsummaryrefslogtreecommitdiffstats
path: root/java/trove4j/Makefile
blob: 1029f3f24d3c786df2002e1185e3a1c9af99140c (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
# Ports collection makefile for:    GNU Trove4J
# Date created:             14 November 2002
# Whom:                 Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
#
# $FreeBSD$

PORTNAME=   trove4j
PORTVERSION=    1.1b3
CATEGORIES= java devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= trove4j
DISTNAME=   trove-${PORTVERSION}

MAINTAINER= herve.quiroz@esil.univ-mrs.fr
COMMENT=    GNU Trove: High performance collections for Java

USE_JAVA=   yes
JAVA_VERSION=   1.3+
JAVA_RUN=   jdk
NO_BUILD=   yes

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

do-install:
    @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
    @${MKDIR} ${JAVAJARDIR}
    @${CP} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/
    @${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
    @${ECHO_MSG} -n ">> Installing documentation..."
    @${MKDIR} ${DOCSDIR}
.for DOCFILE in ${PORTDOCS}
    @${CP} -r ${WRKSRC}/${DOCFILE} ${DOCSDIR}/
    @${ECHO_MSG} -n " ${DOCFILE}"
.endfor
    @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
    @${ECHO_MSG} " [ DONE ]"
.endif

.include <bsd.port.mk>