2003-12-08 23:26:29 +01:00
|
|
|
# Ports collection makefile for: Jakarta Commons Primitives
|
|
|
|
# Date created: 06 November 2003
|
|
|
|
# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= commons-primitives
|
|
|
|
PORTVERSION= 1.0
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2003-12-08 23:26:29 +01:00
|
|
|
CATEGORIES= java
|
2008-02-27 16:10:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
|
2003-12-08 23:26:29 +01:00
|
|
|
PKGNAMEPREFIX= jakarta-
|
2004-09-01 15:32:57 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2003-12-08 23:26:29 +01:00
|
|
|
|
2004-09-01 15:32:57 +02:00
|
|
|
MAINTAINER= hq@FreeBSD.org
|
2003-12-08 23:26:29 +01:00
|
|
|
COMMENT= A library supporting Java primitive types
|
|
|
|
|
2004-09-01 15:32:57 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.3+
|
|
|
|
USE_ANT= yes
|
2003-12-08 23:26:29 +01:00
|
|
|
|
2004-09-01 15:32:57 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
ALL_TARGET= jar
|
|
|
|
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
2003-12-08 23:26:29 +01:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-09-01 15:32:57 +02:00
|
|
|
ALL_TARGET+= javadoc
|
|
|
|
PORTDOCS= LICENSE.txt api
|
2003-12-08 23:26:29 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2004-09-01 15:32:57 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
@${ECHO_MSG} " [DONE]"
|
2003-12-08 23:26:29 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-09-01 15:32:57 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation..."
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC}/target/docs && ${FIND} api \
|
|
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}/
|
|
|
|
@${ECHO_MSG} " [DONE]"
|
2003-12-08 23:26:29 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|