1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/devel/noweb/files/patch-a

53 lines
1.4 KiB
Plaintext
Raw Normal View History

1999-05-19 10:49:06 +00:00
--- Makefile.orig Mon Aug 17 02:54:11 1998
+++ Makefile Wed May 19 12:47:35 1999
@@ -2,11 +2,12 @@
# See file COPYRIGHT for more information.
#
# Adjust these two lines for your ANSI C compiler
1999-05-19 10:49:06 +00:00
-CC=gcc -ansi -pedantic
-CFLAGS=
1999-05-19 10:49:06 +00:00
+#CC=gcc -ansi -pedantic
+#CFLAGS=
# If you have Icon, you should use the Icon versions of the noweb pipeline.
1999-05-19 10:49:06 +00:00
# Set LIBSRC=icon
-LIBSRC=awk
+LIBSRC=icon
+#LIBSRC=awk
# If you have no Icon compiler, but do have icont, make ICONC=icont
1999-05-19 10:49:06 +00:00
ICONC=iconc
ICONT=icont
1999-05-19 10:49:06 +00:00
@@ -18,13 +19,13 @@
# MAN7EXT is the extension for the nowebstyle man page (usually 7)
# TEXINPUTS is the directory for TeX macro files
1997-09-15 07:22:10 +00:00
# ELISP is the directory for emacs lisp files, or /dev/null not to install
-BIN=/usr/local/noweb
-LIB=/usr/local/noweb/lib
-MAN=/usr/local/noweb/man
+BIN=${PREFIX}/bin
+LIB=${PREFIX}/share/noweb
+MAN=${PREFIX}/man
MANEXT=1
MAN7EXT=7
-TEXINPUTS=/usr/local/tex/inputs
1997-09-15 07:22:10 +00:00
-ELISP=/dev/null
+TEXINPUTS=${LIB}/tex
1997-09-15 07:22:10 +00:00
+ELISP=${PREFIX}/share/emacs/site-lisp
# change WEAVE if you want a different version of noweave to be installed
WEAVE=noweave
1999-05-19 10:49:06 +00:00
@@ -135,12 +136,11 @@
rm -f $(CATDIR)/nountangle.$(MANEXT).gz
(cd $(CATDIR); ln notangle.$(MANEXT).gz nountangle.$(MANEXT).gz)
install-tex:
- -mkdir $(TEXINPUTS) 2>/dev/null
+ -mkdir -p $(TEXINPUTS) 2>/dev/null
cp tex/nwmac.tex tex/noweb.sty $(TEXINPUTS)
1999-05-19 10:49:06 +00:00
- -texhash
1997-09-15 07:22:10 +00:00
install-elisp:
- -mkdir $(ELISP) 2>/dev/null
+ -mkdir -p $(ELISP) 2>/dev/null
cp elisp/noweb-mode.el $(ELISP)
checkin: