diff options
author | asami <asami@FreeBSD.org> | 1995-08-08 16:58:46 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-08-08 16:58:46 +0800 |
commit | 3b1823988a33055997965ccd8c69ee4134c8ece5 (patch) | |
tree | 84906905cee3d8b963e9f5a7fd92a5fa59564eb8 /devel | |
parent | cede6ca85cc9112ca305e731f7ead531be8a5f96 (diff) | |
download | freebsd-ports-gnome-3b1823988a33055997965ccd8c69ee4134c8ece5.tar.gz freebsd-ports-gnome-3b1823988a33055997965ccd8c69ee4134c8ece5.tar.zst freebsd-ports-gnome-3b1823988a33055997965ccd8c69ee4134c8ece5.zip |
noweb is a simple literate programming tool, says Thomas. I put
it in devel because it's a programmer's tool.
Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/noweb/Makefile | 34 | ||||
-rw-r--r-- | devel/noweb/distinfo | 1 | ||||
-rw-r--r-- | devel/noweb/files/patch-a | 57 | ||||
-rw-r--r-- | devel/noweb/pkg-comment | 1 | ||||
-rw-r--r-- | devel/noweb/pkg-descr | 23 | ||||
-rw-r--r-- | devel/noweb/pkg-plist | 41 |
6 files changed, 157 insertions, 0 deletions
diff --git a/devel/noweb/Makefile b/devel/noweb/Makefile new file mode 100644 index 000000000000..b1e9106091ff --- /dev/null +++ b/devel/noweb/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: noweb +# Version required: noweb-2.7a +# Date created: 29 July 1995 +# Whom: thomas@ghpc8.ihf.rwth-aachen.de +# +# $Id$ +# + +DISTNAME= noweb-2.7a +CATEGORIES+= development documentation +KEYWORDS+= development documentation "literate programming" +MASTER_SITES= ftp://bellcore.com/pub/norman/ +EXTRACT_SUFX= .tgz + +MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de + +EXEC_DEPENDS= icont:${PORTSDIR}/lang/icon + +WRKSRC= ${WRKDIR}/src + +.if !defined(NOMANCOMPRESS) +post-install: + for i in nodefs noindex noroots notangle noweb cpif sl2h nowebstyle nuweb2noweb nowebfilters; \ + do \ + gzip -9nf ${PREFIX}/man/man1/$$i.1; \ + done + @rm ${PREFIX}/man/man1/noweave.1* + @rm ${PREFIX}/man/man1/nountangle.1* + ln ${PREFIX}/man/man1/notangle.1.gz ${PREFIX}/man/man1/noweave.1.gz + ln ${PREFIX}/man/man1/notangle.1.gz ${PREFIX}/man/man1/nountangle.1.gz +.endif + +.include <bsd.port.mk> + diff --git a/devel/noweb/distinfo b/devel/noweb/distinfo new file mode 100644 index 000000000000..7080849f244c --- /dev/null +++ b/devel/noweb/distinfo @@ -0,0 +1 @@ +MD5 (noweb-2.7a.tgz) = 7c7f616edb941f1b314db5f723d876a3 diff --git a/devel/noweb/files/patch-a b/devel/noweb/files/patch-a new file mode 100644 index 000000000000..f244de41aeb8 --- /dev/null +++ b/devel/noweb/files/patch-a @@ -0,0 +1,57 @@ +diff -cr Makefile.orig Makefile +*** Makefile.orig Fri May 26 02:37:09 1995 +--- Makefile Sat Jul 15 16:21:45 1995 +*************** +*** 2,14 **** + # See file COPYRIGHT for more information. + # + # Adjust these two lines for your ANSI C compiler +! CC=gcc +! CFLAGS= + # If you have Icon, you should use the Icon versions of the noweb pipeline. +! # Set LIBSRC=icon +! LIBSRC=awk + # If you have no Icon compiler, but do have icont, make ICONC=icont +! ICONC=iconc + ICONT=icont + + # BIN is where the commands (notangle, noweave, nountangle, noroots) land +--- 2,14 ---- + # See file COPYRIGHT for more information. + # + # Adjust these two lines for your ANSI C compiler +! #CC=gcc +! #CFLAGS= + # If you have Icon, you should use the Icon versions of the noweb pipeline. +! LIBSRC=icon +! #LIBSRC=awk + # If you have no Icon compiler, but do have icont, make ICONC=icont +! ICONC=icont + ICONT=icont + + # BIN is where the commands (notangle, noweave, nountangle, noroots) land +*************** +*** 16,26 **** + # MAN is the root of your local man pages directory + # MANEXT is the extension for your commands' man pages (usually 1 or l) + # TEXINPUTS is the directory for TeX macro files +! BIN=/usr/public/pkg/noweb/bin +! LIB=/usr/public/pkg/noweb/lib +! MAN=/usr/public/pkg/noweb/man + MANEXT=1 +! TEXINPUTS=/usr/public/pkg/tex/tex/inputs + + # change WEAVE if you want a different version of noweave to be installed + WEAVE=noweave +--- 16,26 ---- + # MAN is the root of your local man pages directory + # MANEXT is the extension for your commands' man pages (usually 1 or l) + # TEXINPUTS is the directory for TeX macro files +! BIN=/usr/local/bin +! LIB=/usr/local/share/noweb +! MAN=/usr/local/man + MANEXT=1 +! TEXINPUTS=/usr/local/lib/texmf/tex/misc + + # change WEAVE if you want a different version of noweave to be installed + WEAVE=noweave diff --git a/devel/noweb/pkg-comment b/devel/noweb/pkg-comment new file mode 100644 index 000000000000..d68260fb61f8 --- /dev/null +++ b/devel/noweb/pkg-comment @@ -0,0 +1 @@ +noweb-2.7a is a simple, extensible literate-programming tool. diff --git a/devel/noweb/pkg-descr b/devel/noweb/pkg-descr new file mode 100644 index 000000000000..e9f14bb67937 --- /dev/null +++ b/devel/noweb/pkg-descr @@ -0,0 +1,23 @@ +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: +ftp://bellcore.com/pub/norman/www/noweb/intro.html + +This is version 2.7a. diff --git a/devel/noweb/pkg-plist b/devel/noweb/pkg-plist new file mode 100644 index 000000000000..8816029e2e2b --- /dev/null +++ b/devel/noweb/pkg-plist @@ -0,0 +1,41 @@ +bin/nodefs +bin/noindex +bin/noroots +bin/notangle +bin/nountangle +bin/noweave +bin/noweb +bin/cpif +bin/sl2h +share/noweb/autodefs.c +share/noweb/autodefs.icon +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/toascii +share/noweb/tohtml +share/noweb/totex +share/noweb/unmarkup +lib/texmf/tex/misc/noweb.sty +lib/texmf/tex/misc/nwmac.tex +man/man1/nodefs.1.gz +man/man1/noindex.1.gz +man/man1/noroots.1.gz +man/man1/notangle.1.gz +man/man1/nountangle.1.gz +man/man1/noweave.1.gz +man/man1/noweb.1.gz +man/man1/cpif.1.gz +man/man1/sl2h.1.gz +man/man1/nowebstyle.1.gz +man/man1/nuweb2noweb.1.gz +man/man1/nowebfilters.1.gz |