freebsd-ports/print/a2ps43-letter/files/patch-aa
Chuck Robey 6445f46a43 The a2ps43 port, which was supposed to be a copy of a2ps before the latest
round of improvments made it much larger, was instead an exact duplicate
of the new a2ps.  This commit should fix that.

I'm the maintainer of the new port, and seeing as this one won't be changing
again (unless to remove it) I guess it won't need one.
Ordered by: asami
1997-11-25 23:50:56 +00:00

24 lines
659 B
Plaintext

--- Makefile.orig Mon Feb 14 07:09:33 1994
+++ Makefile Thu May 16 19:20:50 1996
@@ -29,12 +29,16 @@
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
+CFLAGS = -DBSD -O -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