diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-05-02 17:13:53 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-05-02 17:13:53 +0000 |
commit | 5d7a71e16fb20a69b5017d8b219056e2093eb57d (patch) | |
tree | ac05528a7c8adf7f6efbdadcc4e24bc0552fc58c /java | |
parent | * Update to 3.2.10 (diff) |
Update to 3.4
PR: 66059
Submitted by: Dave Glowacki <dglo@glowacki.dyndns.org>
Notes
Notes:
svn path=/head/; revision=108169
Diffstat (limited to 'java')
-rw-r--r-- | java/java-checkstyle/Makefile | 27 | ||||
-rw-r--r-- | java/java-checkstyle/distinfo | 4 |
2 files changed, 15 insertions, 16 deletions
diff --git a/java/java-checkstyle/Makefile b/java/java-checkstyle/Makefile index c47c5397d80b..17188eaec124 100644 --- a/java/java-checkstyle/Makefile +++ b/java/java-checkstyle/Makefile @@ -6,8 +6,7 @@ # PORTNAME= checkstyle -PORTVERSION= 3.2 -PORTREVISION= 1 +PORTVERSION= 3.4 CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -20,18 +19,22 @@ COMMENT= Java style checker BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant USE_JAVA= 1.4+ -NEED_JAVAC= YES PLIST= ${WRKDIR}/PLIST JAVALIBNAME= ${PORTNAME}-${PORTVERSION} -APIDOCSDIR= ${DOCSDIR}/javadoc STYLEDIR= ${JAVASHAREDIR}/${PORTNAME} .if !defined(NOPORTDOCS) +BUILTDOCSDIR= ${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION} +BUILTDOCS= README LICENSE* TODO RIGHTS* docs PORTDOCS= * .endif +do-build: + @cd ${WRKSRC} && \ + ${SETENV} JAVA_HOME=${JAVA_HOME} ant build.bindist + pre-install: @${RM} -f ${PLIST} @${TOUCH} ${PLIST} @@ -50,16 +53,12 @@ pre-install: ${SED} "s,${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION}/contrib/,${STYLEDIR}/," | \ ${SED} -e "s,${PREFIX}/*,," -e "s,^,@dirrm ,g" >> ${PLIST} -do-build: - @cd ${WRKSRC} && \ - ${SETENV} JAVA_HOME=${JAVA_HOME} ant build.bindist - do-install: do-install-jar do-install-data do-install-apidocs do-install-jar: @${MKDIR} ${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION}/${PORTNAME}-all-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar - @${INSTALL_DATA} ${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION}-optional.jar ${JAVAJARDIR}/${PORTNAME}-optional.jar + @${INSTALL_DATA} ${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION}/${PORTNAME}-optional-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}-optional.jar do-install-data: @${MKDIR} ${STYLEDIR} @@ -67,11 +66,11 @@ do-install-data: do-install-apidocs: .if !defined(NOPORTDOCS) - @${MKDIR} ${APIDOCSDIR} - @(cd ${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION} && \ - ${TAR} -c --exclude '*.jar' --exclude contrib -f - .) | \ - (cd ${APIDOCSDIR} && ${TAR} --unlink -x -f -) - @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${APIDOCSDIR} + @${MKDIR} ${DOCSDIR} +.for DOCFILE in ${BUILTDOCS} + @${CP} -r ${BUILTDOCSDIR}/${DOCFILE} ${DOCSDIR}/ +.endfor + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/java/java-checkstyle/distinfo b/java/java-checkstyle/distinfo index 7dec53345c69..6602263b008a 100644 --- a/java/java-checkstyle/distinfo +++ b/java/java-checkstyle/distinfo @@ -1,2 +1,2 @@ -MD5 (checkstyle-src-3.2.tar.gz) = 8ce757fb53069f2eab098c454cc5b7d5 -SIZE (checkstyle-src-3.2.tar.gz) = 1273992 +MD5 (checkstyle-src-3.4.tar.gz) = 39b7e55c7e2103b485e061ab5e42c292 +SIZE (checkstyle-src-3.4.tar.gz) = 1323474 |