ports/110625: [UPDATE]update doctorj from 4.0.2 to 5.1.2:a Java code analysis Tool
Nemo Liu
nemoliu at gmail.com
Wed Mar 21 16:30:07 UTC 2007
>Number: 110625
>Category: ports
>Synopsis: [UPDATE]update doctorj from 4.0.2 to 5.1.2:a Java code analysis Tool
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 21 16:30:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Nemo Liu
>Release: 7-current
>Organization:
>Environment:
FreeBSD tango.sina.com.cn 7.0-STOooRM FreeBSD 7.0-STOooRM #0: Mon Mar 19 12:20:35 CST 2007 delphij at tango.sina.com.cn:/usr/obj/usr/src/sys/TANGO amd64
>Description:
update doctorj from 4.0.2 to 5.1.2 which is the lastest release.
changelog:
http://www.incava.org/projects/java/doctorj/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/doctorj/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 19 Dec 2006 15:03:56 -0000 1.6
+++ Makefile 21 Mar 2007 16:11:44 -0000
@@ -3,21 +3,33 @@
# Date created: Wed Apr 16, 2003
# Whom: Michael L. Hostbaek (mich at freebsdcluster.org)
#
-# $FreeBSD: ports/devel/doctorj/Makefile,v 1.6 2006/12/19 15:03:56 mich Exp $
+# $FreeBSD$
#
PORTNAME= doctorj
-PORTVERSION= 4.0.2
-CATEGORIES= devel
+PORTVERSION= 5.1.2
+CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemoliu at gmail.com
COMMENT= A tool for analyzing Java code and documentation
-GNU_CONFIGURE= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
+USE_ANT= yes
+
+ALL_TARGET= jarfile
MAN1= doctorj.1
-PLIST_FILES= bin/doctorj
+PLIST_FILES= %%JAVAJARDIR%%/doctorj.jar
+
+do-install:
+ @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/doctorj.jar..."
+ @${MKDIR} ${JAVAJARDIR}
+ @${INSTALL_DATA} ${WRKSRC}/share/doctorj/doctorj.jar ${JAVAJARDIR}/
+ @${ECHO_MSG} -n ">> Installing MANPAGE ..."
+ @${INSTALL_MAN} ${WRKSRC}/doc/doctorj.1 ${MAN1PREFIX}/man/man1
+ @${ECHO_MSG} " [ DONE ]"
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/doctorj/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 22 Jan 2006 08:28:04 -0000 1.5
+++ distinfo 21 Mar 2007 16:11:44 -0000
@@ -1,3 +1,3 @@
-MD5 (doctorj-4.0.2.tar.gz) = 612aac2fd1238fe0246e364e3f884c58
-SHA256 (doctorj-4.0.2.tar.gz) = 11c67f6edaf427200099d774d80927f221e8a1b433af287f1c6ac34d78e4a76a
-SIZE (doctorj-4.0.2.tar.gz) = 484287
+MD5 (doctorj-5.1.2.tar.gz) = 77d151d312b3a314286248d84d97cfee
+SHA256 (doctorj-5.1.2.tar.gz) = 8413d32d40462c23a1989b7d21f9eb3209296d5e3fac3e6c283861584a786b87
+SIZE (doctorj-5.1.2.tar.gz) = 1303680
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/devel/doctorj/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr 8 Aug 2003 13:43:08 -0000 1.2
+++ pkg-descr 21 Mar 2007 16:11:44 -0000
@@ -1,12 +1,16 @@
-DoctorJ is a set of applications that analyze Java code. Documentation is
-verified for compliance with the standard and for accuracy against the
-code, beyond what javadoc does. Statistics for a file or project can be
-generated, including the number of lines of code per class and method,
-and the overall total. A syntax analyzer is in development.
+Beyond the level of what Javadoc does, DoctorJ compares documentation against
+code. Among what it detects:
+ * misspelled words
+ * parameter and exception names:
+ o missing
+ o misordered
+ o misspelled
+ * Javadoc tags:
+ o invalid
+ o misordered
+ o missing expected arguments
+ o invalid arguments
+ o missing descriptions
+ * undocumented classes, methods, fields, parameters
-
-WWW: http://doctorj.sourceforge.net/
-AUTHOR: Jeff Pace <jpace at incava.org>
-
- - Michael L. Hostbaek
- mich at FreeBSD.org
+WWW: http://doctorj.sourceforge.net/
Index: files/patch-syntj_src_ErrorImproperSequence.h
===================================================================
RCS file: files/patch-syntj_src_ErrorImproperSequence.h
diff -N files/patch-syntj_src_ErrorImproperSequence.h
--- files/patch-syntj_src_ErrorImproperSequence.h 10 Aug 2004 15:25:21 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/devel/doctorj/files/patch-syntj_src_ErrorImproperSequence.h,v 1.1 2004/08/10 15:25:21 mich Exp $
-
---- syntj/src/ErrorImproperSequence.h.orig Tue Aug 10 16:09:36 2004
-+++ syntj/src/ErrorImproperSequence.h Tue Aug 10 16:09:51 2004
-@@ -49,7 +49,7 @@
- /**
- * The current item.
- */
-- AstItem* const current_;
-+ AstItem* current_;
-
- };
-
Index: files/patch-util_src_Yagol.h
===================================================================
RCS file: files/patch-util_src_Yagol.h
diff -N files/patch-util_src_Yagol.h
--- files/patch-util_src_Yagol.h 10 Aug 2004 15:25:21 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,32 +0,0 @@
-
-$FreeBSD: ports/devel/doctorj/files/patch-util_src_Yagol.h,v 1.1 2004/08/10 15:25:21 mich Exp $
-
---- util/src/Yagol.h.orig Tue Aug 10 16:42:48 2004
-+++ util/src/Yagol.h Tue Aug 10 16:43:29 2004
-@@ -298,6 +298,8 @@
- template < class Type >
- string AboveRangeException<Type>::message() const
- {
-+ Type value;
-+ Type limit;
- return "value " + doctorj::StringUtilities::toString(value()) +
- " is above the upper bound " + doctorj::StringUtilities::toString(limit());
- }
-@@ -339,6 +341,8 @@
- template < class Type >
- string BelowRangeException<Type>::message() const
- {
-+ Type value;
-+ Type limit;
- return "value " + doctorj::StringUtilities::toString(value()) +
- " is below the lower bound " + doctorj::StringUtilities::toString(limit());
- }
-@@ -1991,7 +1995,7 @@
- vector<typename Container::value_type>* const values)
- {
- ArgCallback<vector< typename Container::value_type > >* validator =
-- new GroupValidator<vector< typename Container::value_type > >(value, valids, nValids);
-+ new GroupValidator<vector< typename Container::value_type > >(values, valids, nValids);
- return addOption(new OptionMultiValues<Container>(name, description, validator, strictArgs_));
- }
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list