summaryrefslogtreecommitdiff
path: root/print/enscript-letter
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-11-27 08:10:32 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-11-27 08:10:32 +0000
commitdeb230ffdf7d0c7c4468ecec80953293538c527f (patch)
treee745d0ac9984abbf715bc67b237c7d4d36a176e4 /print/enscript-letter
parentMark this broken for now. It needs my private tiff34 port. (diff)
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.
Notes
Notes: svn path=/head/; revision=8869
Diffstat (limited to 'print/enscript-letter')
-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