mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
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>
This commit is contained in:
parent
dac14898ca
commit
61b2ff1192
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2035
34
devel/noweb/Makefile
Normal file
34
devel/noweb/Makefile
Normal file
@ -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>
|
||||
|
1
devel/noweb/distinfo
Normal file
1
devel/noweb/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (noweb-2.7a.tgz) = 7c7f616edb941f1b314db5f723d876a3
|
57
devel/noweb/files/patch-a
Normal file
57
devel/noweb/files/patch-a
Normal file
@ -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
|
1
devel/noweb/pkg-comment
Normal file
1
devel/noweb/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
noweb-2.7a is a simple, extensible literate-programming tool.
|
23
devel/noweb/pkg-descr
Normal file
23
devel/noweb/pkg-descr
Normal file
@ -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.
|
41
devel/noweb/pkg-plist
Normal file
41
devel/noweb/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user