summaryrefslogtreecommitdiff
path: root/devel/cweb/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-02-11 07:42:14 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-02-11 07:42:14 +0000
commitebdaa8da51df05d62dd97803c8f42cb280846847 (patch)
tree49f28e87992d72984a54ead6783096ecb601fe05 /devel/cweb/files
parentShare communicator US with the world (as legally as we can :)) (diff)
Import cweb port. CWEB is Don Knuth's WEB system adapted for C.
Notes
Notes: svn path=/head/; revision=9658
Diffstat (limited to 'devel/cweb/files')
-rw-r--r--devel/cweb/files/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/cweb/files/patch-aa b/devel/cweb/files/patch-aa
new file mode 100644
index 000000000000..17ec8e81eb80
--- /dev/null
+++ b/devel/cweb/files/patch-aa
@@ -0,0 +1,47 @@
+--- Makefile.orig Thu Sep 21 22:32:18 1995
++++ Makefile Tue Feb 10 19:30:55 1998
+@@ -18,23 +18,23 @@
+ #
+
+ # directory for TeX inputs (cwebmac.tex goes here)
+-MACROSDIR= /usr/local/lib/tex/inputs
++MACROSDIR= ${PREFIX}/share/texmf/tex/generic/misc
+
+ # directory for CWEB inputs in @i files
+-CWEBINPUTS= /usr/local/lib/cweb
++CWEBINPUTS= ${PREFIX}/share/cweb
+
+ # extension for manual pages ("l" distinguishes local from system stuff)
+-MANEXT= l
+-#MANEXT= 1
++#MANEXT= l
++MANEXT= 1
+
+ # directory for manual pages (cweb.1 goes here)
+-MANDIR= /usr/man/man$(MANEXT)
++MANDIR= ${PREFIX}/man/man$(MANEXT)
+
+ # destination directory for executables; must end in /
+-DESTDIR= /usr/local/bin/
++DESTDIR= ${PREFIX}/bin/
+
+ # directory for GNU EMACS Lisp code (cweb.el goes here)
+-EMACSDIR= /usr/local/emacs/lisp
++EMACSDIR= ${PREFIX}/share/emacs/site-lisp
+
+ # Set DESTPREF to null if you want to call the executables "tangle" and "weave"
+ # (probably NOT a good idea; we recommend leaving DESTPREF=c)
+@@ -50,10 +50,10 @@
+ WCHANGES=
+
+ # We keep debugging info around, for fun, but most users don't need it
+-CFLAGS = -g
++#CFLAGS = -g
+ #CFLAGS = -O
+-LINKFLAGS = -g
+-#LINKFLAGS = -s # for smaller (stripped) executables on many UNIX systems
++#LINKFLAGS = -g
++LINKFLAGS = -s # for smaller (stripped) executables on many UNIX systems
+
+ # What C compiler are you using?
+ CC = cc