Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 1998 23:40:28 +0100 (MET)
From:      kaj@interbizz.se
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8468: Update print/enscript to 1.6.1
Message-ID:  <199810272240.XAA26649@spirit.interbizz.se>

next in thread | raw e-mail | index | archive | help

>Number:         8468
>Category:       ports
>Synopsis:       Update print/enscript to 1.6.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 27 14:50:00 PST 1998
>Last-Modified:
>Originator:     Rasmus Kaj
>Organization:
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:
FreeBSD spirit.interbizz.se 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Mon Oct 26 18:25:38 MET 1998     troot@spirit.interbizz.se:/usr/src/sys/compile/SPIRIT  i386

>Description:

The port of GNU enscript is from version 1.5.0. This is an update for version
1.6.0

>How-To-Repeat:

	

>Fix:
	
Heres the share of the updated port:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/print/enscript
#	/usr/ports/print/enscript/files
#	/usr/ports/print/enscript/files/md5
#	/usr/ports/print/enscript/pkg
#	/usr/ports/print/enscript/pkg/PLIST
#	/usr/ports/print/enscript/pkg/COMMENT
#	/usr/ports/print/enscript/pkg/DESCR
#	/usr/ports/print/enscript/Makefile
#
echo c - /usr/ports/print/enscript
mkdir -p /usr/ports/print/enscript > /dev/null 2>&1
echo c - /usr/ports/print/enscript/files
mkdir -p /usr/ports/print/enscript/files > /dev/null 2>&1
echo x - /usr/ports/print/enscript/files/md5
sed 's/^X//' >/usr/ports/print/enscript/files/md5 << 'END-of-/usr/ports/print/enscript/files/md5'
XMD5 (enscript-1.6.1.tar.gz) = 5ebcd29011806fb038b088a6adbda8b2
END-of-/usr/ports/print/enscript/files/md5
echo c - /usr/ports/print/enscript/pkg
mkdir -p /usr/ports/print/enscript/pkg > /dev/null 2>&1
echo x - /usr/ports/print/enscript/pkg/PLIST
sed 's/^X//' >/usr/ports/print/enscript/pkg/PLIST << 'END-of-/usr/ports/print/enscript/pkg/PLIST'
Xbin/diffpp
Xbin/enscript
Xbin/mkafmmap
Xbin/over
Xbin/sliceprint
Xbin/states
Xetc/enscript.cfg
Xshare/enscript/88591.enc
Xshare/enscript/88592.enc
Xshare/enscript/88593.enc
Xshare/enscript/88594.enc
Xshare/enscript/88595.enc
Xshare/enscript/88597.enc
Xshare/enscript/a2ps.hdr
Xshare/enscript/agd.afm
Xshare/enscript/agdo.afm
Xshare/enscript/agw.afm
Xshare/enscript/agwo.afm
Xshare/enscript/ascii.enc
Xshare/enscript/asciidkno.enc
Xshare/enscript/asciifise.enc
Xshare/enscript/bkd.afm
Xshare/enscript/bkdi.afm
Xshare/enscript/bkl.afm
Xshare/enscript/bkli.afm
Xshare/enscript/cob.afm
Xshare/enscript/cobo.afm
Xshare/enscript/com.afm
Xshare/enscript/coo.afm
Xshare/enscript/edd.hdr
Xshare/enscript/emacs.hdr
Xshare/enscript/enscript.hdr
Xshare/enscript/enscript.pro
Xshare/enscript/enscript.st
Xshare/enscript/font.map
Xshare/enscript/frame.hdr
Xshare/enscript/hp8.enc
Xshare/enscript/hv.afm
Xshare/enscript/hvb.afm
Xshare/enscript/hvbo.afm
Xshare/enscript/hvc.afm
Xshare/enscript/hvcb.afm
Xshare/enscript/hvcbo.afm
Xshare/enscript/hvcdo.afm
Xshare/enscript/hvn.afm
Xshare/enscript/hvnb.afm
Xshare/enscript/hvnbo.afm
Xshare/enscript/hvno.afm
Xshare/enscript/hvo.afm
Xshare/enscript/ibmpc.enc
Xshare/enscript/koi8.enc
Xshare/enscript/mac.enc
Xshare/enscript/mp.hdr
Xshare/enscript/ncb.afm
Xshare/enscript/ncbi.afm
Xshare/enscript/nci.afm
Xshare/enscript/ncr.afm
Xshare/enscript/pob.afm
Xshare/enscript/pobi.afm
Xshare/enscript/poi.afm
Xshare/enscript/por.afm
Xshare/enscript/ps.enc
Xshare/enscript/pslatin1.enc
Xshare/enscript/simple.hdr
Xshare/enscript/sy.afm
Xshare/enscript/tib.afm
Xshare/enscript/tibi.afm
Xshare/enscript/tii.afm
Xshare/enscript/tir.afm
Xshare/enscript/vms.enc
Xshare/enscript/zcmi.afm
Xshare/enscript/zd.afm
X@dirrm share/enscript
END-of-/usr/ports/print/enscript/pkg/PLIST
echo x - /usr/ports/print/enscript/pkg/COMMENT
sed 's/^X//' >/usr/ports/print/enscript/pkg/COMMENT << 'END-of-/usr/ports/print/enscript/pkg/COMMENT'
XASCII-to-PostScript filter.
END-of-/usr/ports/print/enscript/pkg/COMMENT
echo x - /usr/ports/print/enscript/pkg/DESCR
sed 's/^X//' >/usr/ports/print/enscript/pkg/DESCR << 'END-of-/usr/ports/print/enscript/pkg/DESCR'
XThis is a filter that converts text files to 
XPostScript and spools generated  PostScript  
Xoutput  to  the  specified  printer or leaves 
Xit to file.  If no input files are given,  
Xenscript processes  standard  input.   enscript  
Xcan be extended to handle different output media  
Xand it has many options which can be used to 
Xcustomize printouts.
END-of-/usr/ports/print/enscript/pkg/DESCR
echo x - /usr/ports/print/enscript/Makefile
sed 's/^X//' >/usr/ports/print/enscript/Makefile << 'END-of-/usr/ports/print/enscript/Makefile'
X# New ports collection makefile for:	enscript
X# Version required:     	1.5.0
X# Date created:			24 Jul, 1997
X# Whom:				kline
X#
X# $Id: Makefile,v 1.4 1997/11/27 08:10:30 tg Exp $
X#
X
XDISTNAME=       enscript-1.6.1
XPKGNAME=        enscript-${PAPERSIZE}-1.6.1
XCATEGORIES=	print
XMASTER_SITES=   ${MASTER_SITE_GNU}
X
XMAINTAINER=	kline@thought.org
X
XMANUAL_PACKAGE_BUILD=	PAPERSIZE has to be set to Letter A4
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XCONFIGURE_ARGS=	--disable-nls --with-media=${PAPERSIZE}
XMAKE_FLAGS=     WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
X
XMAN1=		diffpp.1 enscript.1 sliceprint.1 states.1
XSTRIP=
X
X# If you want to build a static binary, uncomment the following line
X#LDFLAGS+=-static
X
X.if !defined(PAPERSIZE)
XPAPERSIZE=A4     # set default
XWIDTH=8.27
XHEIGHT=11.64
XA4_PAPERSIZE=1
XPAPERSIZE_UNSPECIFIED=  yes
X.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
XPAPERSIZE=A4
XWIDTH=8.27
XHEIGHT=11.64
XA4_PAPERSIZE=1
X.elif ${PAPERSIZE} == letter || ${PAPERSIZE} == LETTER || ${PAPERSIZE} == Letter
XPAPERSIZE=Letter
XWIDTH=8.5
XHEIGHT=11.0
XA4_PAPERSIZE=0
X.elif ${PAPERSIZE} == Letterdj
X.else
XPAPERSIZE_INVALID= yes
X.endif  # not defined PAPERSIZE
X
Xpre-fetch:
X.if defined(PAPERSIZE_UNSPECIFIED)
X	@echo ""
X	@echo "This port builds the default A4 paper size."
X	@echo "If you want to select the LETTER papersize for enscript,"
X	@echo "type a ^C now.  Then type:"
X	@echo ""
X	@echo "  % make letter "
X	@echo ""
X	@echo "Install your port by typing:"
X	@echo ""
X	@echo "make letter-install  {or} % make a4-install"
X	@echo ""
X	@echo "You can also set the environment variable PAPERSIZE to A4 or"
X	@echo "letter to configure enscript for these paper sizes"
X	@sleep 5
X.elif defined(PAPERSIZE_INVALID)
X	@echo "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
X	@echo "Possible values are:  A4 (default) or letter"
X	@${FALSE}
X.endif
Xletter::
X	${MAKE} PAPERSIZE=Letter
X
XLetter::
X	${MAKE} PAPERSIZE=Letter
X
Xletter-install::
X	${MAKE} PAPERSIZE=Letter install
X
XLetter-install::
X	${MAKE} PAPERSIZE=Letter install
X
Xa4::
X	${MAKE} PAPERSIZE=A4
X
XA4::
X	${MAKE} PAPERSIZE=A4
X
XLetterdj::
X	${MAKE} PAPERSIZE=Letterdj
X
Xletterdj::
X	${MAKE} PAPERSIZE=Letterdj
X
XLetterdj-install::
X	${MAKE} PAPERSIZE=Letterdj install
X
Xletterdj-install::
X	${MAKE} PAPERSIZE=Letterdj install
X
Xa4-install::
X	${MAKE} PAPERSIZE=a4 install
X
XA4-install::
X	${MAKE} PAPERSIZE=a4 install
X
Xpost-install:
X.for file in enscript mkafmmap states
X	strip ${PREFIX}/bin/${file}
X.endfor
X
X.include <bsd.port.mk>
END-of-/usr/ports/print/enscript/Makefile
exit
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810272240.XAA26649>