summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-11-22 01:56:20 +0000
committerobrien <obrien@FreeBSD.org>1998-11-22 01:56:20 +0000
commitef38b6e96058b82cbc7a033655585871ab959257 (patch)
treef8d7ec984faca541a83aba33bac0bae091f8a903 /print
parentfb660c0570fe1186d25e29ea8fbd87b088b79cfe (diff)
downloadFreeBSD-ports-ef38b6e96058b82cbc7a033655585871ab959257.zip
FreeBSD-ports-ef38b6e96058b82cbc7a033655585871ab959257.tar.gz
Commit a patch for this I've been sitting on for a while.
Changes `PS' to `PAPERSIZECNF' as I think it is more documenting. `PS' will be taken to be PostScript by many (esp. in the context of printing) This method removes the use of external programs to set `PAPERSIZECNF'.
Diffstat (limited to 'print')
-rw-r--r--print/a2ps-letter/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/a2ps-letter/Makefile b/print/a2ps-letter/Makefile
index 22468ad..e1b700f 100644
--- a/print/a2ps-letter/Makefile
+++ b/print/a2ps-letter/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 July 1998
# Whom: Chuck Robey (chuckr@freebsd.org)
#
-# $Id: Makefile,v 1.21 1998/10/30 08:35:22 asami Exp $
+# $Id: Makefile,v 1.22 1998/11/20 04:15:00 asami Exp $
#
DISTNAME= a2ps-4.10.3
@@ -17,9 +17,9 @@ GNU_CONFIGURE= yes
MAN1= a2ps.1 ogonkify.1 card.1 psmandup.1 fixps.1 pdiff.1
PAPERSIZE?= letter
-PS!= echo ${PAPERSIZE} | tr l L | tr a A
+PAPERSIZECNF= ${PAPERSIZE:S/l/L/:S/a/A/}
STRIP=
-CONFIGURE_ARGS= --with-medium=${PS}
+CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF}
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:
OpenPOWER on IntegriCloud