1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

- Update to 1.4

This commit is contained in:
Tong LIU 2008-12-12 06:55:46 +00:00
parent 86c5e741ad
commit a379e5c7e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224143
2 changed files with 10 additions and 11 deletions

View File

@ -6,15 +6,14 @@
#
PORTNAME= commons-io
PORTVERSION= 1.3.2
PORTREVISION= 1
PORTVERSION= 1.4
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
MAINTAINER= nemoliu@FreeBSD.org
COMMENT= A collection of I/O utilities for Java
BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
@ -28,21 +27,21 @@ ALL_TARGET= dist
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt docs
PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt apidocs
ALL_TARGET+= javadoc
.endif
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar \
@${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar \
${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation..."
@cd ${WRKSRC}/build/dist-build/${PORTNAME}-${PORTVERSION} \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@cd ${WRKSRC}/target/ \
&& ${FIND} apidocs -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} apidocs -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/NOTICE.txt ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/RELEASE-NOTES.txt ${DOCSDIR}/

View File

@ -1,3 +1,3 @@
MD5 (commons-io-1.3.2-src.tar.gz) = 7c98f852e70d52d4d9c3d8057be518f8
SHA256 (commons-io-1.3.2-src.tar.gz) = c4db1471c317ee9f37a532c4e83c76e8f664b45084a5ff9da89dcc1b5833e495
SIZE (commons-io-1.3.2-src.tar.gz) = 211922
MD5 (commons-io-1.4-src.tar.gz) = 24b228f2d0c40ffed9204cdab015bccf
SHA256 (commons-io-1.4-src.tar.gz) = eca986497f7b4d1b1ec41821b1b5df827bb31fc14833e4449cfa8bcd5d7f29bb
SIZE (commons-io-1.4-src.tar.gz) = 236187