diff options
author | agc <agc@pkgsrc.org> | 1997-10-06 14:06:09 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-06 14:06:09 +0000 |
commit | 450dc622273a8dfc018d72bfd6fecbe0da867dde (patch) | |
tree | 009d4f1ed2d2c47a0184f69576ac9d1aa8ebcd7c /devel/noweb | |
parent | 690fb0bd9c02e07f8ba7ae7c3d6208322cda5f42 (diff) | |
download | pkgsrc-450dc622273a8dfc018d72bfd6fecbe0da867dde.tar.gz |
Initial import of FreeBSD devel ports into NetBSD
packages system.
Diffstat (limited to 'devel/noweb')
-rw-r--r-- | devel/noweb/Makefile | 33 | ||||
-rw-r--r-- | devel/noweb/files/md5 | 1 | ||||
-rw-r--r-- | devel/noweb/patches/patch-a | 54 | ||||
-rw-r--r-- | devel/noweb/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/noweb/pkg/DESCR | 22 | ||||
-rw-r--r-- | devel/noweb/pkg/PLIST | 53 |
6 files changed, 164 insertions, 0 deletions
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 <tg@freebsd.org> +# +# 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 <bsd.port.mk> + 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 |