aboutsummaryrefslogtreecommitdiffstats
path: root/java/gjdoc
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-04-17 13:11:45 +0800
committermaho <maho@FreeBSD.org>2006-04-17 13:11:45 +0800
commitc20b0283d220b52a7a5594063ce228926ed8e74f (patch)
tree04544f7b9fe7ba42f75207ebf794b28c7764f362 /java/gjdoc
parentac00cffdbbc1d780f4a66d0c0f8ad4a40f57a13d (diff)
downloadfreebsd-ports-gnome-c20b0283d220b52a7a5594063ce228926ed8e74f.tar.gz
freebsd-ports-gnome-c20b0283d220b52a7a5594063ce228926ed8e74f.tar.zst
freebsd-ports-gnome-c20b0283d220b52a7a5594063ce228926ed8e74f.zip
Gjdoc is a documentation generation framework for java source files;
espcially generating API documentation in HTML format from doc comments in source code. Also, ANTLR (ANother Tool for Language Recognition) is used; this is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. WWW: http://www.gnu.org/software/classpath/cp-tools/ http://www.antlr.org/
Diffstat (limited to 'java/gjdoc')
-rw-r--r--java/gjdoc/Makefile44
-rw-r--r--java/gjdoc/distinfo6
-rw-r--r--java/gjdoc/files/patch-Makefile.in22
-rw-r--r--java/gjdoc/pkg-descr10
-rw-r--r--java/gjdoc/pkg-plist12
5 files changed, 94 insertions, 0 deletions
diff --git a/java/gjdoc/Makefile b/java/gjdoc/Makefile
new file mode 100644
index 000000000000..c88216a05073
--- /dev/null
+++ b/java/gjdoc/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gjdoc
+# Date created: 8 March 2006
+# Whom: Maho Nakata <maho@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gjdoc
+PORTVERSION= 0.7.7
+CATEGORIES= java devel
+MASTER_SITES= ${MASTER_SITE_GNU} \
+ http://www.antlr.org/download/:antlr
+MASTER_SITE_SUBDIR= classpath
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ ${ANTLR}.jar:antlr
+EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= A documentation generation framework; javadoc alternative
+
+BUILD_DEPENDS+= gcj41:${PORTSDIR}/lang/gcc41
+BUILD_DEPENDS+= gcp:${PORTSDIR}/sysutils/coreutils
+
+ANTLRVER=2.7.5
+ANTLR=antlr-${ANTLRVER}
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-antlr-jar=${ANTLR}.jar
+CONFIGURE_ENV+= PATH="${WRKDIR}/bin:${PATH}"
+MAKE_ENV+= PATH="${WRKDIR}/bin:${PATH}"
+SCRIPT_ENV+= PATH="${WRKDIR}/bin:${PATH}"
+
+.include <bsd.port.pre.mk>
+
+MAN1= gjdoc.1
+
+post-extract:
+ @${CP} ${DISTDIR}/${ANTLR}.jar ${WRKSRC}
+ @${MKDIR} ${WRKDIR}/bin
+ @${LN} -s ${LOCALBASE}/bin/gcj41 ${WRKDIR}/bin/gcj
+ @${LN} -s ${LOCALBASE}/bin/gij41 ${WRKDIR}/bin/gij
+ @${LN} -s ${LOCALBASE}/bin/fastjar41 ${WRKDIR}/bin/fastjar
+
+.include <bsd.port.post.mk>
diff --git a/java/gjdoc/distinfo b/java/gjdoc/distinfo
new file mode 100644
index 000000000000..d40d533ffb0d
--- /dev/null
+++ b/java/gjdoc/distinfo
@@ -0,0 +1,6 @@
+MD5 (gjdoc-0.7.7.tar.gz) = f9755ee2601f7903360680694747a8c7
+SHA256 (gjdoc-0.7.7.tar.gz) = 6cae05c4c49cd7f33650403a2fdbf1248c20751fa11099ca37bd34a4f1a0bd59
+SIZE (gjdoc-0.7.7.tar.gz) = 731115
+MD5 (antlr-2.7.5.jar) = 6d57df718efd2a03981c309ce3330a1f
+SHA256 (antlr-2.7.5.jar) = 2433e7e36ebbebe72390036ec555f4c6771eaed33d507b3d5d65497804093a0d
+SIZE (antlr-2.7.5.jar) = 435563
diff --git a/java/gjdoc/files/patch-Makefile.in b/java/gjdoc/files/patch-Makefile.in
new file mode 100644
index 000000000000..45c60b9407b0
--- /dev/null
+++ b/java/gjdoc/files/patch-Makefile.in
@@ -0,0 +1,22 @@
+--- Makefile.in~ Sun Feb 19 21:54:20 2006
++++ Makefile.in Sun Feb 19 21:55:14 2006
+@@ -616,7 +616,8 @@
+ LTGCJCOMPILE = $(LIBGCJCOMPILE) -MF $(@:.lo=.d)
+ jar_DATA = com-sun-javadoc-$(VERSION).jar \
+ com-sun-tools-doclets-Taglet-$(VERSION).jar \
+- gnu-classpath-tools-gjdoc-$(VERSION).jar
++ gnu-classpath-tools-gjdoc-$(VERSION).jar \
++ $(ANTLR_JAR)
+
+ jardir = $(datadir)/java
+ BUILT_SOURCES = $(jar_DATA)
+@@ -3755,7 +3755,7 @@
+
+ gnu-classpath-tools-gjdoc-$(VERSION).jar: $(srcdir)/gjdoc.manifest src/resources/version.properties $(gnu_classpath_tools_gjdoc_jar_CLASSES) $(gnu_classpath_tools_gjdoc_jar_GENCLASSES) $(gjdoc_resources_src)
+ for res in $(gjdoc_resources) ; \
+- do cp -u $(srcdir)/src/resources/$$res $$res ; done
++ do gcp -u $(srcdir)/src/resources/$$res $$res ; done
+ $(JAR) cfm $@ $(srcdir)/gjdoc.manifest \
+ $(gjdoc_resources) \
+ -C src/resources version.properties \
+
diff --git a/java/gjdoc/pkg-descr b/java/gjdoc/pkg-descr
new file mode 100644
index 000000000000..7d8c1fecb5a8
--- /dev/null
+++ b/java/gjdoc/pkg-descr
@@ -0,0 +1,10 @@
+Gjdoc is a documentation generation framework for java source files;
+espcially generating API documentation in HTML format from
+doc comments in source code.
+Also, ANTLR (ANother Tool for Language Recognition) is used; this is
+a language tool that provides a framework for constructing recognizers,
+compilers, and translators from grammatical descriptions containing
+Java, C#, C++, or Python actions.
+
+WWW: http://www.gnu.org/software/classpath/cp-tools/
+ http://www.antlr.org/
diff --git a/java/gjdoc/pkg-plist b/java/gjdoc/pkg-plist
new file mode 100644
index 000000000000..0a18ec40dfd4
--- /dev/null
+++ b/java/gjdoc/pkg-plist
@@ -0,0 +1,12 @@
+bin/gjdoc
+info/gjdoc.info
+lib/lib-com-sun-javadoc.so.0
+lib/lib-com-sun-javadoc.la
+lib/lib-com-sun-tools-doclets-Taglet.so.0
+lib/lib-com-sun-tools-doclets-Taglet.la
+lib/lib-gnu-classpath-tools-gjdoc.so.0
+lib/lib-gnu-classpath-tools-gjdoc.la
+share/java/com-sun-javadoc-0.7.7.jar
+share/java/com-sun-tools-doclets-Taglet-0.7.7.jar
+share/java/gnu-classpath-tools-gjdoc-0.7.7.jar
+share/java/antlr-2.7.5.jar