aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-11-27 16:10:32 +0800
committertg <tg@FreeBSD.org>1997-11-27 16:10:32 +0800
commit52d3297faa6168822f62f76cb4bc38582e4d5dad (patch)
treeab731c70c8e2763e703a15c2c70924a6aa2f9e39 /print
parent2e3ceb0a11ba7ec1b3356b292bd476806a036b32 (diff)
downloadfreebsd-ports-gnome-52d3297faa6168822f62f76cb4bc38582e4d5dad.tar.gz
freebsd-ports-gnome-52d3297faa6168822f62f76cb4bc38582e4d5dad.tar.zst
freebsd-ports-gnome-52d3297faa6168822f62f76cb4bc38582e4d5dad.zip
Respect PAPERSIZE setting.
PR: 5095 Reviewed by: maintainer Submitted by: Jeff Bartig <jeffb@doit.wisc.edu> Delete empty line in pkg/DESCR to make portlint happy and add a @dirrm in pkg/PLIST.
Diffstat (limited to 'print')
-rw-r--r--print/enscript-letter/Makefile10
-rw-r--r--print/enscript-letter/pkg-descr1
-rw-r--r--print/enscript-letter/pkg-plist1
3 files changed, 6 insertions, 6 deletions
diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile
index 51d24671aa5c..443ca832c7e8 100644
--- a/print/enscript-letter/Makefile
+++ b/print/enscript-letter/Makefile
@@ -3,7 +3,7 @@
# Date created: 24 Jul, 1997
# Whom: kline
#
-# $Id: Makefile,v 1.2 1997/08/05 06:37:19 asami Exp $
+# $Id: Makefile,v 1.3 1997/11/10 11:23:19 asami Exp $
#
DISTNAME= enscript-1.5.0
@@ -16,7 +16,7 @@ MAINTAINER= kline@thought.org
MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to Letter A4
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --disable-nls
+CONFIGURE_ARGS= --disable-nls --with-media=${PAPERSIZE}
MAKE_FLAGS= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
MAN1= enscript.1 sliceprint.1 states.1
@@ -26,18 +26,18 @@ STRIP=
#LDFLAGS+=-static
.if !defined(PAPERSIZE)
-PAPERSIZE=a4 # set default
+PAPERSIZE=A4 # set default
WIDTH=8.27
HEIGHT=11.64
A4_PAPERSIZE=1
PAPERSIZE_UNSPECIFIED= yes
.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
-PAPERSIZE=a4
+PAPERSIZE=A4
WIDTH=8.27
HEIGHT=11.64
A4_PAPERSIZE=1
.elif ${PAPERSIZE} == letter || ${PAPERSIZE} == LETTER || ${PAPERSIZE} == Letter
-PAPERSIZE=letter
+PAPERSIZE=Letter
WIDTH=8.5
HEIGHT=11.0
A4_PAPERSIZE=0
diff --git a/print/enscript-letter/pkg-descr b/print/enscript-letter/pkg-descr
index 210097e6c4b7..3ffcf77ea4ce 100644
--- a/print/enscript-letter/pkg-descr
+++ b/print/enscript-letter/pkg-descr
@@ -6,4 +6,3 @@ enscript processes standard input. enscript
can be extended to handle different output media
and it has many options which can be used to
customize printouts.
-
diff --git a/print/enscript-letter/pkg-plist b/print/enscript-letter/pkg-plist
index 703cf9525ee5..b70bddce5401 100644
--- a/print/enscript-letter/pkg-plist
+++ b/print/enscript-letter/pkg-plist
@@ -67,3 +67,4 @@ share/enscript/ps.enc
share/enscript/pslatin1.enc
share/enscript/simple.hdr
share/enscript/vms.enc
+@dirrm share/enscript