2002-11-14 11:55:13 +01:00
|
|
|
# New ports collection makefile for: Jakarta Commons Logging
|
|
|
|
# Date created: November 14, 2002
|
|
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= commons-logging
|
2009-03-08 23:05:32 +01:00
|
|
|
PORTVERSION= 1.1.1
|
2005-05-23 16:18:12 +02:00
|
|
|
CATEGORIES= java devel
|
2008-02-27 16:10:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_BINARIES}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
|
2002-11-14 11:55:13 +01:00
|
|
|
PKGNAMEPREFIX= jakarta-
|
2009-03-08 23:05:32 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
2002-11-14 11:55:13 +01:00
|
|
|
|
2004-12-03 02:01:33 +01:00
|
|
|
MAINTAINER= hq@FreeBSD.org
|
2003-04-07 13:39:02 +02:00
|
|
|
COMMENT= Generic logging wrapper library
|
2002-11-14 11:55:13 +01:00
|
|
|
|
2009-03-08 23:05:32 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2004-04-15 22:58:17 +02:00
|
|
|
USE_JAVA= yes
|
2009-03-08 23:05:32 +01:00
|
|
|
JAVA_VERSION= 1.3+
|
2006-05-16 17:43:15 +02:00
|
|
|
NO_BUILD= yes
|
2004-04-15 22:58:17 +02:00
|
|
|
|
2006-05-16 17:43:15 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2004-04-15 22:58:17 +02:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-05-16 17:43:15 +02:00
|
|
|
PORTDOCS= *
|
2002-11-14 11:55:13 +01:00
|
|
|
.endif
|
2006-05-16 17:43:15 +02:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/commons-logging.jar
|
2002-11-14 11:55:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2006-05-16 17:43:15 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
2004-11-28 14:32:55 +01:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-11-14 11:55:13 +01:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-28 14:32:55 +01:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
|
2009-03-08 23:05:32 +01:00
|
|
|
@cd ${WRKSRC}/site \
|
2006-05-16 17:43:15 +02:00
|
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
|
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-11-14 11:55:13 +01:00
|
|
|
.endif
|
|
|
|
|
2004-04-15 22:58:17 +02:00
|
|
|
.include <bsd.port.post.mk>
|