From owner-freebsd-ports Wed Jan 17 5:20:21 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 07D2737B401 for ; Wed, 17 Jan 2001 05:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0HDK2953220; Wed, 17 Jan 2001 05:20:02 -0800 (PST) (envelope-from gnats) Received: from Terry.Dorm8.NCTU.edu.tw (Terry.Dorm8.NCTU.edu.tw [140.113.93.99]) by hub.freebsd.org (Postfix) with ESMTP id CF96A37B400 for ; Wed, 17 Jan 2001 05:17:19 -0800 (PST) Received: (from ijliao@localhost) by Terry.Dorm8.NCTU.edu.tw (8.11.1/8.11.1) id f0HDJAe61069; Wed, 17 Jan 2001 21:19:10 +0800 (CST) (envelope-from ijliao) Message-Id: <200101171319.f0HDJAe61069@Terry.Dorm8.NCTU.edu.tw> Date: Wed, 17 Jan 2001 21:19:10 +0800 (CST) From: Ying-Chieh Liao Reply-To: ijliao@terry.dragon2.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/24408: new port : java2html Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24408 >Category: ports >Synopsis: new port : java2html >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 17 05:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Liao >Release: FreeBSD 5.0-CURRENT i386 >Organization: NCTU CSIE >Environment: System: FreeBSD Terry.Dorm8.NCTU.edu.tw 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jan 11 07:55:18 CST 2001 root@Terry.Dorm8.NCTU.edu.tw:/usr/obj/usr/src/sys/TERRY i386 >Description: new port : java2html 1.7 Java sources to HTML converter >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # java2html # java2html/Makefile # java2html/distinfo # java2html/pkg-comment # java2html/pkg-descr # java2html/pkg-plist # echo c - java2html mkdir -p java2html > /dev/null 2>&1 echo x - java2html/Makefile sed 's/^X//' >java2html/Makefile << 'END-of-java2html/Makefile' X# ex:ts=8 X# New ports collection makefile for: java2html X# Date created: Jan 17, 2001 X# Whom: Ying-Chieh Liao X# X# $FreeBSD$ X# X XPORTNAME= java2html XPORTVERSION= 1.7 XCATEGORIES= textproc www XMASTER_SITES= ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= ijliao@csie.nctu.edu.tw X XBUILD_DEPENDS= gengetopt:${PORTSDIR}/devel/gengetopt XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X X.include END-of-java2html/Makefile echo x - java2html/distinfo sed 's/^X//' >java2html/distinfo << 'END-of-java2html/distinfo' XMD5 (java2html-1.7.tar.gz) = 8d85c33d6955a0c735a0ba3131b1ef0c END-of-java2html/distinfo echo x - java2html/pkg-comment sed 's/^X//' >java2html/pkg-comment << 'END-of-java2html/pkg-comment' XJava sources to HTML converter END-of-java2html/pkg-comment echo x - java2html/pkg-descr sed 's/^X//' >java2html/pkg-descr << 'END-of-java2html/pkg-descr' Xjava2html only does a lexical analisys of the source code, so the XJava program is assumed to be correct ! X XHere's how to run it: X Xjava2html --input --output X XIf you want a real html document, specify --doc option at the end. XOtherwise you just get some text to copy and paste in you own html Xpages. If you choose -doc option the page will have a white Xbackground and your source file name as title. --tab n option apply Xa substitution of tab characters with n spaces. You also may want to Xspecify the title of the page with --title "my title" option (this Ximplies -doc). Now you can also generate an html with CSS format, by Xusing --css "url of .css" (try some .css files included in the Xpackage). The order of the options is not relevant. You may also want Xto customize the produced document: you can use --header and --footer Xoptions that allow you to specify files to be included, respectively, Xat the beginning and at the end of the document. X XWWW: http://www.gnu.org/software/java2html/ X X-- Ying-Chieh Liao X ijliao@csie.nctu.edu.tw END-of-java2html/pkg-descr echo x - java2html/pkg-plist sed 's/^X//' >java2html/pkg-plist << 'END-of-java2html/pkg-plist' Xbin/java2html Xshare/doc/java2html/COPYING Xshare/doc/java2html/ChangeLog Xshare/doc/java2html/Hello.css Xshare/doc/java2html/Hello.java Xshare/doc/java2html/Hello.java.html Xshare/doc/java2html/Hello1.html Xshare/doc/java2html/Hello2.css Xshare/doc/java2html/Hello2.html Xshare/doc/java2html/Hello3.html Xshare/doc/java2html/Hello4.html Xshare/doc/java2html/Hello5.html Xshare/doc/java2html/Hello_h_f.html Xshare/doc/java2html/INSTALL Xshare/doc/java2html/NEWS Xshare/doc/java2html/README Xshare/doc/java2html/THANKS Xshare/doc/java2html/TODO.txt Xshare/doc/java2html/colors.html Xshare/doc/java2html/footer.html Xshare/doc/java2html/header.html Xshare/doc/java2html/java2html.html Xshare/doc/java2html/mails.txt Xshare/doc/java2html/mono-alt.css Xshare/doc/java2html/mono.css Xshare/doc/java2html/old-changes.html X@dirrm share/doc/java2html Xshare/java2html/tags.j2h X@dirrm share/java2html END-of-java2html/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message