aboutsummaryrefslogtreecommitdiff
path: root/print/lout
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1996-12-19 11:11:48 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1996-12-19 11:11:48 +0000
commit5b99e06460135ba698dc4c9539fdba2c4b4078ba (patch)
tree05920d414dbb07a1badc53f71502cd70444081b8 /print/lout
parent9b602f7b627df0b16ed3808d16a58819e3857a30 (diff)
downloadports-5b99e06460135ba698dc4c9539fdba2c4b4078ba.tar.gz
ports-5b99e06460135ba698dc4c9539fdba2c4b4078ba.zip
Notes
Diffstat (limited to 'print/lout')
-rw-r--r--print/lout/files/patch-0146
1 files changed, 40 insertions, 6 deletions
diff --git a/print/lout/files/patch-01 b/print/lout/files/patch-01
index 4b47de5c9ea8..9910e9c7c6f3 100644
--- a/print/lout/files/patch-01
+++ b/print/lout/files/patch-01
@@ -1,6 +1,6 @@
---- makefile.orig Wed May 8 03:33:44 1996
-+++ makefile Fri Nov 8 02:10:41 1996
-@@ -203,15 +203,15 @@
+--- makefile.orig Wed May 8 19:33:44 1996
++++ makefile Thu Dec 19 19:57:02 1996
+@@ -203,15 +203,16 @@
USESTAT = 1
@@ -8,6 +8,7 @@
-LIBDIR = /u12/staff/jeff/lout.lib
-DOCDIR = /u12/staff/jeff/lout.doc
-MANDIR = /u12/staff/jeff/lout.man
++PREFIX ?= /usr/local
+BINDIR = $(PREFIX)/bin
+LIBDIR = $(PREFIX)/share/lout
+DOCDIR = $(PREFIX)/share/doc/lout
@@ -21,8 +22,14 @@
LOC_FR = fr
LOC_DE = de
-@@ -263,35 +263,35 @@
+@@ -259,39 +260,41 @@
+ @echo "(a) Installing Lout and c2lout binaries into BINDIR $(BINDIR)"
+ cp lout $(BINDIR)/lout
+ chmod 755 $(BINDIR)/lout
++ chown bin.bin $(BINDIR)/lout
+ cp c2lout $(BINDIR)/c2lout
chmod 755 $(BINDIR)/c2lout
++ chown bin.bin $(BINDIR)/c2lout
@echo ""
@echo "(b) Installing library files into LIBDIR $(LIBDIR)"
- mkdir $(LIBDIR)
@@ -64,7 +71,34 @@
chmod 755 $(LIBDIR)/locale
@echo ""
@echo "(c) Initializing run (should be silent, no errors expected)"
-@@ -322,9 +322,9 @@
+@@ -300,6 +303,7 @@
+ @echo "(d) Changing mode of files just created by initializing run"
+ chmod 644 $(LIBDIR)/data/*
+ chmod 644 $(LIBDIR)/hyph/*
++ chown -R bin.bin $(LIBDIR)
+
+ installman:
+ @echo ""
+@@ -308,23 +312,27 @@
+ -e "s@<DOCDIR>@$(DOCDIR)@" -e "s@<MANDIR>@$(MANDIR)@" \
+ man/lout.1 > $(MANDIR)/lout.1
+ chmod 644 $(MANDIR)/lout.1
++ chown bin.bin $(MANDIR)/lout.1
+ cp man/c2lout.1 $(MANDIR)/c2lout.1
+ chmod 644 $(MANDIR)/c2lout.1
++ chown bin.bin $(MANDIR)/c2lout.1
+
+ installdoc:
+ @echo ""
+ @echo "Creating DOCDIR $(DOCDIR) and copying documentation into it"
+- cp -r doc $(DOCDIR)
++ -mkdir $(DOCDIR)
++ cp -r doc/* $(DOCDIR)
+ chmod 755 $(DOCDIR)
+ chmod 755 $(DOCDIR)/*
+ chmod 644 $(DOCDIR)/*/*
++ chown -R bin.bin $(DOCDIR)
+
installfr:
@echo ""
@echo "Installing French error messages into $(LIBDIR)/locale/$(LOC_FR)"
@@ -76,7 +110,7 @@
chmod 755 $(LIBDIR)/locale/$(LOC_FR)/LC_MESSAGES
cp locale/msgs.fr $(LIBDIR)/locale/$(LOC_FR)/LC_MESSAGES/msgs.$(LOC_FR)
gencat $(LIBDIR)/locale/$(LOC_FR)/LC_MESSAGES/errors.$(LOC_FR) \
-@@ -334,9 +334,9 @@
+@@ -334,9 +342,9 @@
installde:
@echo ""
@echo "Installing German error messages into $(LIBDIR)/locale/$(LOC_DE)"