b4150e64e3
- Remove redundant port name in COMMENT - Use CPIO to make docs install stage more simple - Use %%JAVAJARDIR%% - Use INSTALL_DATA for JAR file
41 lines
1.1 KiB
Makefile
41 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= hq@FreeBSD.org
|
|
COMMENT= High performance collections API for Java
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.3+
|
|
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}..."
|
|
@${MKDIR} ${JAVAJARDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${FIND} ${PORTDOCS} \
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|