Upgrade to 3.63.
Submitted by: Neil Darlow <neil@darlow.co.uk>
This commit is contained in:
parent
c8926cf155
commit
c248d7bd2b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52807
5 changed files with 51 additions and 13 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= cweb
|
||||
PORTVERSION= 3.5
|
||||
PORTVERSION= 3.63
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
||||
MASTER_SITE_SUBDIR= web/c_cpp/cweb
|
||||
|
@ -17,11 +17,9 @@ NO_WRKSUBDIR= yes
|
|||
MAN1= cweb.1
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${PREFIX}/share/cweb
|
||||
@${MKDIR} ${PREFIX}/share/texmf/tex/generic/misc
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKDIR}/cwebmac-pdf.tex \
|
||||
${PREFIX}/share/texmf/tex/generic/misc
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/cweb
|
||||
@${INSTALL_DATA} ${WRKDIR}/cwebman.tex ${PREFIX}/share/doc/cweb
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (cweb-3.5.tar.gz) = ffbbc83524561e0ebed4a07dc5c233b5
|
||||
MD5 (cweb-3.63.tar.gz) = 0031d59172c5001f105902d9926ff51f
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
--- Makefile.orig Thu Sep 21 22:32:18 1995
|
||||
+++ Makefile Tue Feb 10 19:30:55 1998
|
||||
--- Makefile.orig Mon Jan 1 04:13:48 2001
|
||||
+++ Makefile Mon Jan 7 14:28:39 2002
|
||||
@@ -18,23 +18,23 @@
|
||||
#
|
||||
|
||||
# directory for TeX inputs (cwebmac.tex goes here)
|
||||
-MACROSDIR= /usr/local/lib/tex/inputs
|
||||
-MACROSDIR= /usr/local/texmf/tex/generic
|
||||
+MACROSDIR= ${PREFIX}/share/texmf/tex/generic/misc
|
||||
|
||||
# directory for CWEB inputs in @i files
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
# 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 @@
|
||||
@@ -50,9 +50,9 @@
|
||||
WCHANGES=
|
||||
|
||||
# We keep debugging info around, for fun, but most users don't need it
|
||||
|
@ -39,9 +39,29 @@
|
|||
+#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
|
||||
#LINKFLAGS = -s # for smaller (stripped) executables on many UNIX systems
|
||||
|
||||
# What C compiler are you using?
|
||||
CC = cc
|
||||
@@ -162,21 +162,16 @@
|
||||
*.log *.dvi *.toc *.idx *.scn *.pdf core cweave ctangle
|
||||
|
||||
install: all
|
||||
- - mkdir $(DESTDIR)
|
||||
$(CP) cweave $(DESTDIR)$(DESTPREF)weave
|
||||
chmod 755 $(DESTDIR)$(DESTPREF)weave
|
||||
$(CP) ctangle $(DESTDIR)$(DESTPREF)tangle
|
||||
chmod 755 $(DESTDIR)$(DESTPREF)tangle
|
||||
- - mkdir $(MANDIR)
|
||||
$(CP) cweb.1 $(MANDIR)/cweb.$(MANEXT)
|
||||
chmod 644 $(MANDIR)/cweb.$(MANEXT)
|
||||
- - mkdir $(MACROSDIR)
|
||||
$(CP) cwebmac.tex $(MACROSDIR)
|
||||
chmod 644 $(MACROSDIR)/cwebmac.tex
|
||||
- - mkdir $(EMACSDIR)
|
||||
$(CP) cweb.el $(EMACSDIR)
|
||||
chmod 644 $(EMACSDIR)/cweb.el
|
||||
- - mkdir $(CWEBINPUTS)
|
||||
$(CP) c++lib.w $(CWEBINPUTS)
|
||||
chmod 644 $(CWEBINPUTS)/c++lib.w
|
||||
|
||||
|
|
19
devel/cweb/files/patch-ab
Normal file
19
devel/cweb/files/patch-ab
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- cweb.1.orig Tue Jul 3 21:44:09 2001
|
||||
+++ cweb.1 Mon Jan 7 14:19:06 2002
|
||||
@@ -85,13 +85,11 @@
|
||||
means omit the index and table of contents.
|
||||
.PP
|
||||
.SH FILES
|
||||
-/usr/local/lib/tex/inputs/cwebmac.tex TeX macros used by cweave output.
|
||||
+/usr/local/share/texmf/tex/generic/misc/cwebmac.tex TeX macros used by cweave output.
|
||||
.br
|
||||
-/usr/local/src/cweb/cwebman.tex The user manual.
|
||||
+/usr/local/share/doc/cweb/cwebman.tex The user manual.
|
||||
.br
|
||||
-/usr/local/src/cweb/examples/wc.w An introductory example.
|
||||
-.br
|
||||
-/usr/local/lib/cweb Directory for cweb "include" files.
|
||||
+/usr/local/share/cweb Directory for cweb "include" files.
|
||||
.SH "SEE ALSO"
|
||||
.I Literate Programming
|
||||
by D.E. Knuth.
|
|
@ -1,9 +1,10 @@
|
|||
bin/ctangle
|
||||
bin/cweave
|
||||
share/cweb/c++lib.w
|
||||
share/doc/cweb/cwebman.tex
|
||||
share/emacs/site-lisp/cweb.el
|
||||
share/texmf/tex/generic/misc/cwebmac.tex
|
||||
share/texmf/tex/generic/misc/cwebmac-pdf.tex
|
||||
@dirrm share/cweb
|
||||
@dirrm share/doc/cweb
|
||||
@unexec rmdir %D/share/texmf/tex/generic/misc 2>/dev/null || true
|
||||
@unexec rmdir %D/share/texmf/tex/generic 2>/dev/null || true
|
||||
|
|
Loading…
Reference in a new issue