Files
ports/java/gjdoc/Makefile
T
Maho Nakata 031557a091 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/
2006-04-17 05:11:45 +00:00

45 lines
1.2 KiB
Makefile

# 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>