freebsd-ports/java/trove4j/Makefile
Greg Lewis 73afac411e . Update to 1.1b3
. Use PLIST_FILES and get rid of pkg-plist.
. Switch MASTER_SITES to MASTER_SITE_SOURCEFORGE_EXTENDED
. Cleaned up the Makefile.

PR:		65298
Submitted by:	Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> (maintainer)
2004-04-09 17:56:05 +00:00

45 lines
1.1 KiB
Makefile

# 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>