2006-04-17 01:11:45 -04:00
|
|
|
# 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
|
2006-04-24 00:36:43 -04:00
|
|
|
MASTER_SITE_SUBDIR= classpath
|
2006-04-17 01:11:45 -04:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
${ANTLR}.jar:antlr
|
2006-04-24 00:36:43 -04:00
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
2006-04-17 01:11:45 -04:00
|
|
|
|
|
|
|
MAINTAINER= maho@FreeBSD.org
|
|
|
|
COMMENT= A documentation generation framework; javadoc alternative
|
|
|
|
|
2006-04-24 00:36:43 -04:00
|
|
|
BUILD_DEPENDS= gcj41:${PORTSDIR}/lang/gcc41 \
|
|
|
|
gcp:${PORTSDIR}/sysutils/coreutils
|
2006-04-17 01:11:45 -04:00
|
|
|
|
2006-04-24 00:36:43 -04:00
|
|
|
ANTLRVER= 2.7.5
|
|
|
|
ANTLR= antlr-${ANTLRVER}
|
2006-04-17 01:11:45 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-04-24 00:36:43 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_ARGS= --with-antlr-jar=${ANTLR}.jar
|
|
|
|
CONFIGURE_ENV= PATH="${WRKDIR}/bin:${PATH}" LDFLAGS="${PTHREAD_LIBS}"
|
|
|
|
MAKE_ENV= PATH="${WRKDIR}/bin:${PATH}"
|
|
|
|
SCRIPT_ENV= PATH="${WRKDIR}/bin:${PATH}"
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2006-04-17 01:11:45 -04:00
|
|
|
|
2006-04-24 00:36:43 -04:00
|
|
|
MAN1= gjdoc.1
|
|
|
|
INFO= gjdoc
|
2006-04-17 01:11:45 -04:00
|
|
|
|
2006-05-21 17:33:14 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
2006-05-28 05:18:10 -04:00
|
|
|
BROKEN= Broken dependency (JAVA is not enabled at lang/gcc41)
|
2006-05-21 17:33:14 -04:00
|
|
|
.endif
|
|
|
|
|
2006-04-17 01:11:45 -04:00
|
|
|
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
|
|
|
|
|
2006-05-21 17:33:14 -04:00
|
|
|
.include <bsd.port.post.mk>
|