From 118298d5fd94759128d6b412d97345111e0009a0 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 6 Oct 1997 14:06:09 +0000 Subject: Initial import of FreeBSD devel ports into NetBSD packages system. --- devel/noweb/Makefile | 33 +++++++++++++++++++++++++++ devel/noweb/files/md5 | 1 + devel/noweb/patches/patch-a | 54 +++++++++++++++++++++++++++++++++++++++++++++ devel/noweb/pkg/COMMENT | 1 + devel/noweb/pkg/DESCR | 22 ++++++++++++++++++ devel/noweb/pkg/PLIST | 53 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 164 insertions(+) create mode 100644 devel/noweb/Makefile create mode 100644 devel/noweb/files/md5 create mode 100644 devel/noweb/patches/patch-a create mode 100644 devel/noweb/pkg/COMMENT create mode 100644 devel/noweb/pkg/DESCR create mode 100644 devel/noweb/pkg/PLIST (limited to 'devel/noweb') diff --git a/devel/noweb/Makefile b/devel/noweb/Makefile new file mode 100644 index 00000000000..de59d7a4e72 --- /dev/null +++ b/devel/noweb/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: noweb +# Version required: noweb-2.8a +# Date created: 29 July 1995 +# Whom: Thomas Gellekum +# +# FreeBSD Id: Makefile,v 1.10 1997/09/15 07:22:06 tg Exp +# + +DISTNAME= noweb-2.8a +CATEGORIES= devel +MASTER_SITES= ftp://ftp.cs.virginia.edu/pub/nr/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tg@freebsd.org + +BUILD_DEPENDS= icont:${PORTSDIR}/lang/icon +RUN_DEPENDS= iconx:${PORTSDIR}/lang/icon + +WRKSRC= ${WRKDIR}/src +MAN1= cpif.1 nodefs.1 noroots.1 noweb.1 noindex.1 \ + nuweb2noweb.1 notangle.1 sl2h.1 htmltoc.1 +MAN7= nowebstyle.7 nowebfilters.7 + +.if !defined(NOMANCOMPRESS) +post-install: + @rm ${PREFIX}/man/man1/noweave.1* + @rm ${PREFIX}/man/man1/nountangle.1* + ln -sf ${PREFIX}/man/man1/notangle.1.gz ${PREFIX}/man/man1/noweave.1.gz + ln -sf ${PREFIX}/man/man1/notangle.1.gz ${PREFIX}/man/man1/nountangle.1.gz +.endif + +.include + diff --git a/devel/noweb/files/md5 b/devel/noweb/files/md5 new file mode 100644 index 00000000000..9abb29dd468 --- /dev/null +++ b/devel/noweb/files/md5 @@ -0,0 +1 @@ +MD5 (noweb-2.8a.tgz) = 91892be37bc26dd83ba7d1188cd4c028 diff --git a/devel/noweb/patches/patch-a b/devel/noweb/patches/patch-a new file mode 100644 index 00000000000..a9ad69840b1 --- /dev/null +++ b/devel/noweb/patches/patch-a @@ -0,0 +1,54 @@ +--- Makefile.orig Sat Sep 13 23:27:50 1997 ++++ Makefile Mon Sep 15 09:23:19 1997 +@@ -2,13 +2,13 @@ + # See file COPYRIGHT for more information. + # + # Adjust these two lines for your ANSI C compiler +-CC=gcc +-CFLAGS= ++#CC=gcc ++#CFLAGS= + # If you have Icon, you should use the Icon versions of the noweb pipeline. +-# Set LIBSRC=icon +-LIBSRC=awk ++LIBSRC=icon ++#LIBSRC=awk + # If you have no Icon compiler, but do have icont, make ICONC=icont +-ICONC=iconc ++ICONC=icont + ICONT=icont + + # BIN is where the commands (notangle, noweave, nountangle, noroots) land +@@ -18,13 +18,13 @@ + # MAN7EXT is the extension for the nowebstyle man page (usually 7) + # TEXINPUTS is the directory for TeX macro files + # ELISP is the directory for emacs lisp files, or /dev/null not to install +-BIN=/usr/local/noweb +-LIB=/usr/local/noweb/lib +-MAN=/usr/local/noweb/man ++BIN=${PREFIX}/bin ++LIB=${PREFIX}/share/noweb ++MAN=${PREFIX}/man + MANEXT=1 + MAN7EXT=7 +-TEXINPUTS=/usr/local/tex/inputs +-ELISP=/dev/null ++TEXINPUTS=${LIB}/tex ++ELISP=${PREFIX}/share/emacs/site-lisp + + # change WEAVE if you want a different version of noweave to be installed + WEAVE=noweave +@@ -114,11 +114,11 @@ + rm -f $(CATDIR)/nountangle.$(MANEXT).gz + (cd $(CATDIR); ln notangle.$(MANEXT).gz nountangle.$(MANEXT).gz) + install-tex: +- -mkdir $(TEXINPUTS) 2>/dev/null ++ -mkdir -p $(TEXINPUTS) 2>/dev/null + cp tex/nwmac.tex tex/noweb.sty $(TEXINPUTS) + + install-elisp: +- -mkdir $(ELISP) 2>/dev/null ++ -mkdir -p $(ELISP) 2>/dev/null + cp elisp/noweb-mode.el $(ELISP) + + checkin: diff --git a/devel/noweb/pkg/COMMENT b/devel/noweb/pkg/COMMENT new file mode 100644 index 00000000000..de8b28c0f35 --- /dev/null +++ b/devel/noweb/pkg/COMMENT @@ -0,0 +1 @@ +A simple, extensible literate-programming tool. diff --git a/devel/noweb/pkg/DESCR b/devel/noweb/pkg/DESCR new file mode 100644 index 00000000000..336c93940cb --- /dev/null +++ b/devel/noweb/pkg/DESCR @@ -0,0 +1,22 @@ +INTRODUCTION --- WHAT IS NOWEB, ANYWAY? + +noweb is a literate-programming tool like FunnelWEB or nuweb, only +simpler. A noweb file contains program source code interleaved with +documentation. When noweb is invoked, it writes the program source +code to the output files mentioned in the noweb file, and it writes +a TeX file for typeset documentation. + +noweb is designed to meet the needs of literate programmers while +remaining as simple as possible. Its primary advantages are +simplicity, extensibility, and language-independence. noweb works +``out of the box'' with any programming language, and supports TeX, +latex, and HTML (Mosaic) back ends. A back end to support full +hypertext or indexing takes about 250 lines; a simpler one can be +written in 40 lines of awk. The primary sacrifice relative to WEB +is that code is not prettyprinted. + +If you're brand new to literate programming, check out the FAQ for +the USENET newsgroup comp.programming.literate. There are also some +resources available through the noweb home page: + +http://www.cs.virginia.edu/~nr/noweb diff --git a/devel/noweb/pkg/PLIST b/devel/noweb/pkg/PLIST new file mode 100644 index 00000000000..be6b204d0b4 --- /dev/null +++ b/devel/noweb/pkg/PLIST @@ -0,0 +1,53 @@ +bin/htmltoc +bin/nodefs +bin/noindex +bin/noroff +bin/noroots +bin/notangle +bin/nountangle +bin/noweave +bin/noweb +bin/nuweb2noweb +bin/cpif +bin/sl2h +share/emacs/site-lisp/noweb-mode.el +share/noweb/autodefs.c +share/noweb/autodefs.icon +share/noweb/autodefs.lrtl +share/noweb/autodefs.pascal +share/noweb/autodefs.promela +share/noweb/autodefs.sml +share/noweb/autodefs.tex +share/noweb/autodefs.yacc +share/noweb/disambiguate +share/noweb/elide +share/noweb/emptydefn +share/noweb/finduses +share/noweb/l2h +share/noweb/markup +share/noweb/mnt +share/noweb/noidx +share/noweb/nt +share/noweb/tmac.w +share/noweb/toascii +share/noweb/tohtml +share/noweb/totex +share/noweb/toroff +share/noweb/unmarkup +share/noweb/tex/noweb.sty +share/noweb/tex/nwmac.tex +man/man1/cpif.1.gz +man/man1/nodefs.1.gz +man/man1/noroots.1.gz +man/man1/noweb.1.gz +man/man1/noindex.1.gz +man/man1/nuweb2noweb.1.gz +man/man1/notangle.1.gz +man/man1/sl2h.1.gz +man/man1/htmltoc.1.gz +man/man1/nountangle.1.gz +man/man1/noweave.1.gz +man/man7/nowebstyle.7.gz +man/man7/nowebfilters.7.gz +@dirrm share/noweb/tex +@dirrm share/noweb -- cgit v1.2.3