mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
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/
This commit is contained in:
parent
0951fd679d
commit
031557a091
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159766
@ -44,6 +44,7 @@
|
||||
SUBDIR += eclipseme
|
||||
SUBDIR += gj
|
||||
SUBDIR += gj-jdk11
|
||||
SUBDIR += gjdoc
|
||||
SUBDIR += gnu-regexp
|
||||
SUBDIR += guavac
|
||||
SUBDIR += infobus
|
||||
|
44
java/gjdoc/Makefile
Normal file
44
java/gjdoc/Makefile
Normal file
@ -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>
|
6
java/gjdoc/distinfo
Normal file
6
java/gjdoc/distinfo
Normal file
@ -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
|
22
java/gjdoc/files/patch-Makefile.in
Normal file
22
java/gjdoc/files/patch-Makefile.in
Normal file
@ -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 \
|
||||
|
10
java/gjdoc/pkg-descr
Normal file
10
java/gjdoc/pkg-descr
Normal file
@ -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/
|
12
java/gjdoc/pkg-plist
Normal file
12
java/gjdoc/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user