1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/print/a2ps43-letter/files/patch-aa
David E. O'Brien 5c87441d03 Build in a different way to enable the use of the "-nP", "-P", and "-Pprinter"
flags.  This now matches the manpage.

PR:	3958
1999-05-09 20:56:32 +00:00

23 lines
638 B
Plaintext

--- Makefile.orig Mon Feb 14 07:09:33 1994
+++ Makefile Sun May 9 13:50:34 1999
@@ -29,12 +29,15 @@
D =.
O =.
-BINDIR =/usr/local/bin
+##BINDIR =/usr/local/bin
+BINDIR = $(PREFIX)/bin
-MANDIR =/usr/man/mann
-MANEXT =n
+##MANDIR =/usr/man/mann
+##MANEXT =n
+MANEXT = 1
+MANDIR = $(PREFIX)/man/man$(MANEXT)
-CFLAGS = -DBSD -O -DLPR_PRINT
+CFLAGS = -DBSD -O -DLPR_PRINT -DWIDTH=$(WIDTH) -DHEIGHT=$(HEIGHT) -DA4_PAPERSIZE=$(A4_PAPERSIZE)
# Default values for HEIGHT, WIDTH, MARGIN and DIR_SEP (11.64, 8.27, 1.2, '/').
# Default values for LPR_COMMAND and LPR_OPT ("lpr", "-l")
# No values for TWOSIDED_DFLT, ONESIDED and TWOSIDED