1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Update to version 1.1.3

- Add LICENSE
- Support staging

PR:		ports/186424
Submitted by:	Hardy Schumacher <hardy.schumacher@gmx.de>
This commit is contained in:
Pawel Pekala 2014-03-05 20:26:12 +00:00
parent 92659da36b
commit 921ee49999
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347140
2 changed files with 15 additions and 19 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= commons-logging
PORTVERSION= 1.1.1
PORTVERSION= 1.1.3
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_BINARIES}
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
@ -12,31 +12,27 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic logging wrapper library
LICENSE= APACHE20
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
PLIST_FILES= %%JAVAJARDIR%%/commons-logging.jar
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} -n ">> Installing JAR as ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..."
@cd ${WRKSRC}/apidocs \
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
@cd ${WRKSRC}/site \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (commons-logging-1.1.1-bin.tar.gz) = 88c721d66f570a87f710a2449f0e3bffea86489d9dd2fa70b805104c4f8d69e6
SIZE (commons-logging-1.1.1-bin.tar.gz) = 817240
SHA256 (commons-logging-1.1.3-bin.tar.gz) = 9e7093c93529792563b5c19ab5cccb73ef4ca7d82b886bdec6d0af182ba9908a
SIZE (commons-logging-1.1.3-bin.tar.gz) = 737866