diff options
Diffstat (limited to 'print/psutils/patches/patch-ah')
-rw-r--r-- | print/psutils/patches/patch-ah | 61 |
1 files changed, 56 insertions, 5 deletions
diff --git a/print/psutils/patches/patch-ah b/print/psutils/patches/patch-ah index 50829dab821..4b6d1174535 100644 --- a/print/psutils/patches/patch-ah +++ b/print/psutils/patches/patch-ah @@ -1,13 +1,64 @@ -$NetBSD: patch-ah,v 1.1 2001/01/11 01:53:28 wiz Exp $ +$NetBSD: patch-ah,v 1.2 2001/07/10 17:27:18 tron Exp $ --- Makefile.unix.orig Tue Mar 11 23:52:59 1997 -+++ Makefile.unix -@@ -39,7 +39,7 @@ - MANDIR = /usr/local/share/man/man$(MANEXT) ++++ Makefile.unix Tue Jul 10 19:24:33 2001 +@@ -25,21 +25,19 @@ - CC = gcc + OS = UNIX + +-BINDIR = /usr/local/bin ++BINDIR = $(PREFIX)/bin + SCRIPTDIR = $(BINDIR) +-INCLUDEDIR = /usr/local/share/psutils +-PERL = /usr/local/bin/perl ++INCLUDEDIR = $(PREFIX)/share/psutils ++PERL = $(PERL5) + + BINMODE = 0755 + MANMODE = 0644 + CHMOD = chmod +-INSTALL = install -c -m $(BINMODE) +-INSTALLMAN = install -c -m $(MANMODE) + MANEXT = 1 +-MANDIR = /usr/local/share/man/man$(MANEXT) ++MANDIR = $(PREFIX)/man/man1 + +-CC = gcc -CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall ++#CC = gcc +CFLAGS += -DPAPER=\"$(PAPER)\" -DUNIX -Wall BIN = psbook psselect pstops epsffit psnup \ psresize +@@ -222,27 +220,27 @@ + -mkdir $(BINDIR) + @for i in $(BIN); do \ + echo Installing $$i; \ +- $(INSTALL) $$i $(BINDIR); \ ++ $(BSD_INSTALL_PROGRAM) $$i $(BINDIR); \ + done + + install.script: $(PERLSCRIPTS) $(SHELLSCRIPTS) + -mkdir $(SCRIPTDIR) + @for i in $(PERLSCRIPTS) $(SHELLSCRIPTS); do \ + echo Installing $$i; \ +- $(INSTALL) $$i $(SCRIPTDIR); \ ++ $(BSD_INSTALL_SCRIPT) $$i $(SCRIPTDIR); \ + done + + install.include: $(INCLUDES) + -mkdir $(INCLUDEDIR) + @for i in $(INCLUDES); do \ + echo Installing $$i; \ +- $(INSTALLMAN) $$i $(INCLUDEDIR); \ ++ $(BSD_INSTALL_DATA) $$i $(INCLUDEDIR); \ + done + + install.man: $(MANPAGES) + -mkdir $(MANDIR) + @for i in $(MANPAGES); do \ + echo Installing manual page for $$i; \ +- $(INSTALLMAN) $$i $(MANDIR)/$$i; \ ++ $(BSD_INSTALL_MAN) $$i $(MANDIR)/$$i; \ + done + |