summaryrefslogtreecommitdiff
path: root/www/jssi/Makefile
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2000-01-20 05:03:34 +0000
committerjwise <jwise@pkgsrc.org>2000-01-20 05:03:34 +0000
commitd6966f30a7f6395753a44cbd54dbf0971cf76f2b (patch)
tree19d30d5054a5b95a3c96b347c6cf6afefbe73d10 /www/jssi/Makefile
parentfe2a3f85aa30963013ef9d3b5cba9688c809c0a8 (diff)
downloadpkgsrc-d6966f30a7f6395753a44cbd54dbf0971cf76f2b.tar.gz
Also build and install javadoc-generated API documentation.
While here, fix typo which was causing un-substituted MESSAGE_FILE to be shown
Diffstat (limited to 'www/jssi/Makefile')
-rw-r--r--www/jssi/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/jssi/Makefile b/www/jssi/Makefile
index 073b76e87f7..49366a5c085 100644
--- a/www/jssi/Makefile
+++ b/www/jssi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/01/18 01:51:43 jwise Exp $
+# $NetBSD: Makefile,v 1.2 2000/01/20 05:03:34 jwise Exp $
DISTNAME= ApacheJSSI-1.1.2
PKGNAME= jssi-1.1.2
@@ -19,9 +19,12 @@ NO_CONFIGURE=
NO_MTREE=
MAKE_ENV+= CLASSPATH=${CLASSPATH}:${JSDK_HOME}/lib/jsdk.jar
WRKSRC= ${WRKDIR}/ApacheJSSI-1.1.2/src/java
-MESSAGE= ${WRKDIR}/MESSAGE
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-build:
+ (cd ${WRKSRC}/../../docs && \
+ CLASSPATH=${CLASSPATH}:${JSDK_HOME}/lib/jsdk.jar \
+ ${SH} generate_javadoc)
${SED} -e 's,@JSDK_HOME@,${JSDK_HOME},g' \
< ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE