summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2006-04-24 04:36:43 +0000
committerMaho Nakata <maho@FreeBSD.org>2006-04-24 04:36:43 +0000
commit8de5b8b435cb447b3ab6befbe5ef2d5b50b5960c (patch)
treefdee60316a6cadbb1482b233601dacf0cbffdf7e /java
parent- Update port 1.0.3 (diff)
- fix plist and unbreak under FreeBSD 5+
- fix pthread problem and unbreak under FreeBSD 4 - utilize INFO - replace spaces with tabs and make portlint happier PR: 96246 Submitted by: leeym
Notes
Notes: svn path=/head/; revision=160278
Diffstat (limited to 'java')
-rw-r--r--java/gjdoc/Makefile29
-rw-r--r--java/gjdoc/pkg-plist4
2 files changed, 18 insertions, 15 deletions
diff --git a/java/gjdoc/Makefile b/java/gjdoc/Makefile
index c88216a05073..839c03a1b502 100644
--- a/java/gjdoc/Makefile
+++ b/java/gjdoc/Makefile
@@ -10,29 +10,30 @@ PORTVERSION= 0.7.7
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_GNU} \
http://www.antlr.org/download/:antlr
-MASTER_SITE_SUBDIR= classpath
+MASTER_SITE_SUBDIR= classpath
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
${ANTLR}.jar:antlr
-EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+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
+BUILD_DEPENDS= gcj41:${PORTSDIR}/lang/gcc41 \
+ gcp:${PORTSDIR}/sysutils/coreutils
-ANTLRVER=2.7.5
-ANTLR=antlr-${ANTLRVER}
+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}"
+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}
-.include <bsd.port.pre.mk>
-
-MAN1= gjdoc.1
+MAN1= gjdoc.1
+INFO= gjdoc
post-extract:
@${CP} ${DISTDIR}/${ANTLR}.jar ${WRKSRC}
@@ -41,4 +42,4 @@ post-extract:
@${LN} -s ${LOCALBASE}/bin/gij41 ${WRKDIR}/bin/gij
@${LN} -s ${LOCALBASE}/bin/fastjar41 ${WRKDIR}/bin/fastjar
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/java/gjdoc/pkg-plist b/java/gjdoc/pkg-plist
index 0a18ec40dfd4..76d6e3b9fc7a 100644
--- a/java/gjdoc/pkg-plist
+++ b/java/gjdoc/pkg-plist
@@ -1,9 +1,11 @@
bin/gjdoc
-info/gjdoc.info
+lib/lib-com-sun-javadoc.so
lib/lib-com-sun-javadoc.so.0
lib/lib-com-sun-javadoc.la
+lib/lib-com-sun-tools-doclets-Taglet.so
lib/lib-com-sun-tools-doclets-Taglet.so.0
lib/lib-com-sun-tools-doclets-Taglet.la
+lib/lib-gnu-classpath-tools-gjdoc.so
lib/lib-gnu-classpath-tools-gjdoc.so.0
lib/lib-gnu-classpath-tools-gjdoc.la
share/java/com-sun-javadoc-0.7.7.jar