From owner-freebsd-ports Sat May 27 21:40: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5A6F837B626 for ; Sat, 27 May 2000 21:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA63063; Sat, 27 May 2000 21:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from bowhill.vservers.com (bowhill.vservers.com [216.122.84.167]) by hub.freebsd.org (Postfix) with ESMTP id D001C37B74E for ; Sat, 27 May 2000 21:39:31 -0700 (PDT) (envelope-from bowhill@bowhill.vservers.com) Received: from localhost (bowhill@localhost) by bowhill.vservers.com (8.9.3/8.9.3) with SMTP id VAA25886 for ; Sat, 27 May 2000 21:39:29 -0700 (PDT) Message-Id: Date: Sat, 27 May 2000 21:39:29 -0700 (PDT) From: "bowhill.vservers.com" To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18855: Cost: new port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18855 >Category: ports >Synopsis: new port submission >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 27 21:40:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Allan Bowhill >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: >Description: Cost is a structure-controlled SGML/XML application programming tool. It is implemented as a Tcl extension, and works in conjunction with James Clark's nsgmls, sgmls, and/or expat parsers. NOTE: The license is home-grown. It is not GNU or Berkely, but appears to be open distribution. It should be scrutinized. >How-To-Repeat: This port can be tested with an sgml document, corresponding dtd and cost translation spec. Here is location of example documents to test with, if needed: http://bowhill.vservers.com/resume.sgm http://bowhill.vservers.com/resume.dtd http://bowhill.vservers.com/resume.spe Install cost, and run with above docs in the local dir: nsgmls resume.dtd resume.sgm | costsh -S resume.spe > resume.htm --- # 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: # # cost # cost/Makefile # cost/files # cost/files/md5 # cost/pkg # cost/pkg/COMMENT # cost/pkg/DESCR # cost/pkg/PLIST # echo c - cost mkdir -p cost > /dev/null 2>&1 echo x - cost/Makefile sed 's/^X//' >cost/Makefile << 'END-of-cost/Makefile' X# New ports collection makefile for: costsh X# Date created: May 22, 2000 X# Whom: Allan Bowhill X# X# $FreeBSD$ X# X XPORTNAME= cost XPORTVERSION= 2.2p1 XCATEGORIES= textproc tk82 XMASTER_SITES= http://www.flightlab.com/~joe/cost/ \ X ftp://bowhill.vservers.com/pub/ X XMAINTAINER= kosmos@blarg.net X XLIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82:install XBUILD_DEPENDS= ${WRKDIRPREFIXPORTSDIR}/lang/tcl82/work/tcl-8.2.3/src:${PORTSDIR}/lang/tcl82:patch XRUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade X XWRKSRC= ${WRKDIR}/${DISTNAME}/src XHAS_CONFIGURE= YES XCONFIGURE_WRKSRC= ${WRKSRC} XCONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 \ X --with-docdir=${PREFIX}/share/doc/cost --with-charmaps X Xdo-install: X ${MKDIR} ${PREFIX}/lib/cost2.2 X ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/lib/*.tcl ${PREFIX}/lib/cost2.2 X ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/lib/*.spec ${PREFIX}/lib/cost2.2 X ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/lib/*.itcl ${PREFIX}/lib/cost2.2 X ${INSTALL_DATA} ${WRKSRC}/libcost2.2.so ${PREFIX}/lib/cost2.2 X ${INSTALL_PROGRAM} ${WRKSRC}/costsh ${PREFIX}/bin/costsh X X.if !defined(NOPORTDOCS) X @${ECHO} "===> Installing Cost documentation" X @${MKDIR} ${PREFIX}/share/doc/cost && ${CHMOD} a+rx ${PREFIX}/share/doc/cost X @cd ${WRKDIR}/${DISTNAME}/doc; && ${INSTALL_MAN} manual.html manual.ps rtflib.html simple.html \ X ${PREFIX}/share/doc/cost X.endif X X.include END-of-cost/Makefile echo c - cost/files mkdir -p cost/files > /dev/null 2>&1 echo x - cost/files/md5 sed 's/^X//' >cost/files/md5 << 'END-of-cost/files/md5' XMD5 (cost-2.2p1.tar.gz) = 8249c0558e7df158245a9b0f1f40bebe END-of-cost/files/md5 echo c - cost/pkg mkdir -p cost/pkg > /dev/null 2>&1 echo x - cost/pkg/COMMENT sed 's/^X//' >cost/pkg/COMMENT << 'END-of-cost/pkg/COMMENT' XAn SGML/XML application programming tool END-of-cost/pkg/COMMENT echo x - cost/pkg/DESCR sed 's/^X//' >cost/pkg/DESCR << 'END-of-cost/pkg/DESCR' X XCost is a structure-controlled SGML/XML application programming tool. XIt is implemented as a Tcl extension, and works in conjunction Xwith James Clark's nsgmls, sgmls, and/or expat parsers. X XWWW: http://www.flightlab.com/cost/ END-of-cost/pkg/DESCR echo x - cost/pkg/PLIST sed 's/^X//' >cost/pkg/PLIST << 'END-of-cost/pkg/PLIST' Xbin/costsh Xlib/cost2.2/libcost2.2.so Xlib/cost2.2/Core.tcl Xlib/cost2.2/Counters.tcl Xlib/cost2.2/Numerals.tcl Xlib/cost2.2/Simple.tcl Xlib/cost2.2/auxfile.tcl Xlib/cost2.2/costinit.tcl Xlib/cost2.2/htmllib.tcl Xlib/cost2.2/pkgIndex.tcl Xlib/cost2.2/rtflib.tcl Xlib/cost2.2/textutil.tcl Xlib/cost2.2/winhelp-stylesheet.tcl Xlib/cost2.2/RTF.spec Xlib/cost2.2/EventHandler.itcl Xshare/doc/cost/manual.html Xshare/doc/cost/manual.ps Xshare/doc/cost/rtflib.html Xshare/doc/cost/simple.html X@dirrm share/doc/cost X@dirrm lib/cost2.2 END-of-cost/pkg/PLIST exit >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message