From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 15 22:30:20 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB9E16A41F for ; Tue, 15 Nov 2005 22:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4571143D6A for ; Tue, 15 Nov 2005 22:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAFMUGHS019042 for ; Tue, 15 Nov 2005 22:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAFMUGig019041; Tue, 15 Nov 2005 22:30:16 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2005 22:30:16 GMT Resent-Message-Id: <200511152230.jAFMUGig019041@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jann Roeder Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EBFA16A41F for ; Tue, 15 Nov 2005 22:26:46 +0000 (GMT) (envelope-from roederja@green.ch) Received: from mail03.agrinet.ch (mail03.agrinet.ch [81.221.250.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C155143D49 for ; Tue, 15 Nov 2005 22:26:45 +0000 (GMT) (envelope-from roederja@green.ch) Received: from endurance.local (81.221.77.244) by mail03.agrinet.ch (7.0.024) id 4378AC4300026C42 for FreeBSD-gnats-submit@freebsd.org; Tue, 15 Nov 2005 23:26:44 +0100 Received: from endurance.local (localhost [127.0.0.1]) by endurance.local (8.13.4/8.13.4) with ESMTP id jAFMRthN095947 for ; Tue, 15 Nov 2005 23:27:55 +0100 (CET) (envelope-from roederja@endurance.local) Received: (from roederja@localhost) by endurance.local (8.13.4/8.13.4/Submit) id jAFMRsac095946; Tue, 15 Nov 2005 23:27:54 +0100 (CET) (envelope-from roederja) Message-Id: <200511152227.jAFMRsac095946@endurance.local> Date: Tue, 15 Nov 2005 23:27:54 +0100 (CET) From: Jann Roeder To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/89092: [Update port] /print/cups-pstoraster X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jann Roeder List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 22:30:21 -0000 >Number: 89092 >Category: ports >Synopsis: [Update port] /print/cups-pstoraster >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 22:30:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jann Roeder >Release: FreeBSD 6.0-RELEASE i386 >Organization: >Environment: >Description: Only made it get the new source. Seems to work fine. >How-To-Repeat: >Fix: --- pstoraster.txt begins here --- # 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: # # Makefile # distinfo # files # files/cups.contrib.mak # files/patch-pstopxl.in # files/patch-pstoraster.in # pkg-descr # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: cups-pstoraster X# Date created: Jul 13 2002 X# Whom: ports@FreeBSD.org X# X# $FreeBSD: ports/print/cups-pstoraster/Makefile,v 1.21 2005/06/29 09:27:04 barner Exp $ X# X XPORTNAME= cups-pstoraster XPORTVERSION= 8.15.1 XCATEGORIES= print XMASTER_SITES= \ X ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/%SUBDIR%/ \ X ftp://ftp2.easysw.com/pub/%SUBDIR%/ \ X ftp://ftp3.easysw.com/pub/%SUBDIR%/ \ X http://ftp.easysw.com/pub/%SUBDIR%/ \ X http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/%SUBDIR%/ XMASTER_SITE_SUBDIR= ghostscript/$(PORTVERSION) XDIST_SUBDIR= ghostscript X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Postscript interpreter for CUPS printing to non-PS printers X XPATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${GHOSTSCRIPT_PORT}:patch XLIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base X XESPGS_VER= ${PORTVERSION} X XDISTNAME= espgs-${ESPGS_VER}-source XEXTRACT_AFTER_ARGS= | ${TAR} -xf - espgs-${ESPGS_VER}/pstoraster XESPGS_WRKSRC= ${WRKDIR}/espgs-${ESPGS_VER}/pstoraster XWRKSRC= ${WRKDIRPREFIX}$$(${REALPATH} ${PORTSDIR})/${GHOSTSCRIPT_PORT}/work/ghostscript XPATCH_WRKSRC= ${ESPGS_WRKSRC} X XUSE_BZIP2= yes XUSE_GHOSTSCRIPT_RUN= yes XUSE_REINPLACE= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" XCONFIGURE_ARGS= --without-x --without-ijs --without-gimp-print \ X --with-gs=espgs XMAKE_ARGS= CFLAGS_STANDARD="${CFLAGS} -DUPD_SIGNAL=0" \ X DEVICE_DEVS="\$$(DD)cups.dev \$$(DD)pxlcolor.dev \$$(DD)pxlmono.dev" X XPLIST_FILES= bin/espgs etc/cups/pstoraster.convs \ X libexec/cups/filter/pstopxl libexec/cups/filter/pstoraster \ X share/cups/model/pxlcolor.ppd share/cups/model/pxlmono.ppd X Xpost-patch: X ${LN} -sf ${ESPGS_WRKSRC}/gdevcups.c ${WRKSRC}/src X ${CAT} ${FILESDIR}/cups.contrib.mak >> ${WRKSRC}/src/contrib.mak X.for file in pstopxl pstoraster X ${SED} -e 's:@prefix@:${PREFIX}:g ; \ X s:@exec_prefix@:${PREFIX}:g ; \ X s:@bindir@:${PREFIX}/bin:g ; \ X s:@GS@:espgs:g' \ X ${ESPGS_WRKSRC}/${file}.in > ${ESPGS_WRKSRC}/${file} X.endfor X ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS=@CPPFLAGS@ |g ; \ X s|^LDFLAGS=|LDFLAGS=@LDFLAGS@ |g ; \ X s|^DEVICE_DEVS|#DEVICE_DEVS|g' ${WRKSRC}/Makefile.in X Xpre-build: X ${MKDIR} ${WRKSRC}/bin X ${MKDIR} ${WRKSRC}/obj X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/bin/espgs ${PREFIX}/bin X ${INSTALL_DATA} ${ESPGS_WRKSRC}/pstoraster.convs ${PREFIX}/etc/cups X.for file in pstopxl pstoraster X ${INSTALL_SCRIPT} ${ESPGS_WRKSRC}/${file} ${PREFIX}/libexec/cups/filter X.endfor X.for file in pxlcolor.ppd pxlmono.ppd X ${INSTALL_DATA} ${ESPGS_WRKSRC}/${file} ${PREFIX}/share/cups/model X.endfor X X.include END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (ghostscript/espgs-8.15.1-source.tar.bz2) = 2a21136953c3559e6088522753b06b1f XSHA256 (ghostscript/espgs-8.15.1-source.tar.bz2) = 510e34f7cc9d9b41cff320168b0fcc43329ba41ba58dd35895cd58e33f63fbfa XSIZE (ghostscript/espgs-8.15.1-source.tar.bz2) = 7758723 END-of-distinfo echo c - files mkdir -p files > /dev/null 2>&1 echo x - files/cups.contrib.mak sed 's/^X//' >files/cups.contrib.mak << 'END-of-files/cups.contrib.mak' X### ----------------- CUPS Ghostscript Driver ---------------------- ### X Xcups_= $(GLOBJ)gdevcups.$(OBJ) X X$(DD)cups.dev: $(cups_) $(DD)page.dev X $(SETPDEV2) $(DD)cups $(cups_) X $(ADDMOD) $(DD)cups -lib cupsimage -lib cups X X$(GLOBJ)gdevcups.$(OBJ): $(GLSRC)gdevcups.c $(PDEVH) X $(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) $(GLSRC)gdevcups.c X END-of-files/cups.contrib.mak echo x - files/patch-pstopxl.in sed 's/^X//' >files/patch-pstopxl.in << 'END-of-files/patch-pstopxl.in' X--- pstopxl.in.orig Mon Feb 21 18:13:47 2005 X+++ pstopxl.in Wed Jun 8 09:11:00 2005 X@@ -27,7 +27,7 @@ X bindir=@bindir@ X X # Set the library/font path... X-GS_LIB="${CUPS_FONTPATH:=/usr/share/cups/fonts}" X+GS_LIB="${CUPS_FONTPATH:=@prefix@/share/cups/fonts}" X export GS_LIB X X # Determine the PCL XL/PCL 6 driver to use... X@@ -56,7 +56,7 @@ X ifile="$6" X fi X X-echo INFO: Starting ESP Ghostscript @GS_VERSION_MAJOR@.@GS_VERSION_MINOR0@.@GS_VERSION_PATCH@... 1>&2 X+echo INFO: Starting GNU/GPL Ghostscript... 1>&2 X echo DEBUG: Running $bindir/@GS@ $gsopts -sOUTPUTFILE="%stdout" "$ifile" 1>&2 X X # Now run Ghostscript... END-of-files/patch-pstopxl.in echo x - files/patch-pstoraster.in sed 's/^X//' >files/patch-pstoraster.in << 'END-of-files/patch-pstoraster.in' X--- pstoraster.in.orig Wed Jun 8 09:11:26 2005 X+++ pstoraster.in Wed Jun 8 09:13:19 2005 X@@ -27,7 +27,7 @@ X bindir=@bindir@ X X # Set the library/font path... X-GS_LIB="${CUPS_FONTPATH:=/usr/share/cups/fonts}" X+GS_LIB="${CUPS_FONTPATH:=@prefix@/share/cups/fonts}" X export GS_LIB X X # Options we use with Ghostscript... X@@ -51,7 +51,7 @@ X ifile="$6" X fi X X-echo INFO: Starting ESP Ghostscript @GS_VERSION_MAJOR@.@GS_VERSION_MINOR0@.@GS_VERSION_PATCH@... 1>&2 X+echo INFO: Starting GNU/GPL Ghostscript... 1>&2 X echo DEBUG: Running $bindir/@GS@ $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile" 1>&2 X X # Now run Ghostscript... END-of-files/patch-pstoraster.in echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XGhostscript is the well-known PostScript interpreter which is available for Xall common and most esoteric platforms and supports many different printers Xand some displays. X XVersions entitled "GNU Ghostscript" are distributed with the GNU General XPublic License, which allows free use, and free copying and redistribution Xunder certain conditions (including, in some cases, commercial distribution). X XThis distribution is based on GNU Ghostscript and provides the "driver" for XCUPS that supports non-PostScript printer drivers within CUPS. X XWWW: http://www.cups.org/ghostscript.html END-of-pkg-descr exit --- pstoraster.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: