summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-01-09 12:27:52 +0000
committertg <tg@FreeBSD.org>2002-01-09 12:27:52 +0000
commitc2c07c78e7b39d23e6fd9e3ba408c829142fb5ac (patch)
treed844972b6673a3d78e385ed44ab0e79809c70808
parent4df462c1d0c795c8110a933f0c5586abc8fea09f (diff)
downloadFreeBSD-ports-c2c07c78e7b39d23e6fd9e3ba408c829142fb5ac.zip
FreeBSD-ports-c2c07c78e7b39d23e6fd9e3ba408c829142fb5ac.tar.gz
Upgrade to 3.63.
Submitted by: Neil Darlow <neil@darlow.co.uk>
-rw-r--r--devel/cweb/Makefile6
-rw-r--r--devel/cweb/distinfo2
-rw-r--r--devel/cweb/files/patch-aa34
-rw-r--r--devel/cweb/files/patch-ab19
-rw-r--r--devel/cweb/pkg-plist3
5 files changed, 51 insertions, 13 deletions
diff --git a/devel/cweb/Makefile b/devel/cweb/Makefile
index 2c8ec32..829b097 100644
--- a/devel/cweb/Makefile
+++ b/devel/cweb/Makefile
@@ -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
diff --git a/devel/cweb/distinfo b/devel/cweb/distinfo
index e02c97a..c099097 100644
--- a/devel/cweb/distinfo
+++ b/devel/cweb/distinfo
@@ -1 +1 @@
-MD5 (cweb-3.5.tar.gz) = ffbbc83524561e0ebed4a07dc5c233b5
+MD5 (cweb-3.63.tar.gz) = 0031d59172c5001f105902d9926ff51f
diff --git a/devel/cweb/files/patch-aa b/devel/cweb/files/patch-aa
index 17ec8e8..3dd4db8 100644
--- a/devel/cweb/files/patch-aa
+++ b/devel/cweb/files/patch-aa
@@ -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
+
diff --git a/devel/cweb/files/patch-ab b/devel/cweb/files/patch-ab
new file mode 100644
index 0000000..a7b8b3c
--- /dev/null
+++ b/devel/cweb/files/patch-ab
@@ -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.
diff --git a/devel/cweb/pkg-plist b/devel/cweb/pkg-plist
index 7b9af2c..3ce8664 100644
--- a/devel/cweb/pkg-plist
+++ b/devel/cweb/pkg-plist
@@ -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
OpenPOWER on IntegriCloud