summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-05-02 17:13:53 +0000
committerarved <arved@FreeBSD.org>2004-05-02 17:13:53 +0000
commit53e7cd8347ea59a9d40dfeab28b42fa6a5052681 (patch)
tree16ecff08485c613ac07c8fe744b6678f78a327cc /java
parentb3005a1bc4d043d116685fb31ad1c905a1b23727 (diff)
downloadFreeBSD-ports-53e7cd8347ea59a9d40dfeab28b42fa6a5052681.zip
FreeBSD-ports-53e7cd8347ea59a9d40dfeab28b42fa6a5052681.tar.gz
Update to 3.4
PR: 66059 Submitted by: Dave Glowacki <dglo@glowacki.dyndns.org>
Diffstat (limited to 'java')
-rw-r--r--java/java-checkstyle/Makefile27
-rw-r--r--java/java-checkstyle/distinfo4
2 files changed, 15 insertions, 16 deletions
diff --git a/java/java-checkstyle/Makefile b/java/java-checkstyle/Makefile
index c47c539..17188ea 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 7dec533..6602263 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
OpenPOWER on IntegriCloud