From owner-freebsd-ports@FreeBSD.ORG Thu Jan 20 23:02:57 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6924116A4CE for ; Thu, 20 Jan 2005 23:02:57 +0000 (GMT) Received: from 212.106.238.57.adsl.jazztel.es (212.106.238.57.adsl.jazztel.es [212.106.238.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 379E543D31 for ; Thu, 20 Jan 2005 23:02:56 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from [192.168.254.16] (orion.redesjm.local [192.168.254.16]) j0KN2xuw033579 for ; Fri, 21 Jan 2005 00:02:59 +0100 (CET) (envelope-from freebsd@redesjm.local) Message-ID: <41F038A8.2070909@redesjm.local> Date: Fri, 21 Jan 2005 00:03:04 +0100 From: Jose M Rodriguez User-Agent: Mozilla Thunderbird 1.0 (X11/20050106) X-Accept-Language: es-es, es MIME-Version: 1.0 To: ports@FreeBSD.org References: <41F02CD2.2030804@redesjm.local> In-Reply-To: <41F02CD2.2030804@redesjm.local> Content-Type: multipart/mixed; boundary="------------050804030200080001000703" X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.29.0.5; VDF: 6.29.0.31; host: antares.redesjm.local) Subject: Re: problems with gs-gpl transition X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 23:02:57 -0000 This is a multi-part message in MIME format. --------------050804030200080001000703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Jose M Rodriguez escribió: > Hi, > > I got a little sparse time and working on gs-gpl transition. This is a first aproach for test. You may hand-set GS_VERSION to test gs-gpl/gs-afpl with pstoraster. Also, remove distinfo and files/patch* in cups-pstoraster Hope this port Makefile may be read in clear -- josemi --------------050804030200080001000703 Content-Type: text/plain; name="Makefile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile" # New ports collection makefile for: cups-pstoraster # Date created: Jul 13 2002 # Whom: ports@FreeBSD.org # # $FreeBSD: ports/print/cups-pstoraster/Makefile,v 1.17 2004/12/16 19:18:02 lofi Exp $ # PORTNAME= cups-pstoraster PORTVERSION= ${CUPS_PORTVER} PORTREVISION= ${CUPS_PORTREV} PORTEPOCH= 1 CATEGORIES= print MASTER_SITES= ${CUPS_MASTER_SITES} #MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ # ftp://ftp.easysw.com/pub/ghostscript/ #MASTER_SITE_SUBDIR= ghostscript espgs DISTFILES= ${DISTNAME}.tar.bz2 #DISTFILES= ghostscript-${PORTVERSION}${EXTRACT_SUFX} \ # espgs-${ESPGS_VER}-source${EXTRACT_SUFX} #DIST_SUBDIR= ghostscript MAINTAINER= ports@FreeBSD.org COMMENT= GNU Postscript interpreter for CUPS printing to non-PS printers PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${GHOSTSCRIPT_PORT}:patch LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base USE_GHOSTSCRIPT_RUN= true #RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/${PORTVERSION}/lib/gs_init.ps:${PORTSDIR}/print/ghostscript-gnu #ESPGS_VER= 7.07.1 GS_VERSION?= 7.07 ESPGS_WRKSRC= ${WRKDIR}/cups-${CUPS_VERSION}/pstoraster WRKSRC= ${WRKDIRPREFIX}${PORTSDIR}/${GHOSTSCRIPT_PORT}/work/ghostscript-${GS_VERSION} MD5_FILE= ${.CURDIR}/../../print/cups/distinfo EXTRACT_AFTER_ARGS= | ${TAR} -xf - cups-${CUPS_VERSION}/pstoraster USE_BZIP2= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --without-x --without-ijs --without-gimp-print \ --with-gs=espgs MAKE_ARGS= CFLAGS_STANDARD="${CFLAGS} -DUPD_SIGNAL=0" \ DEVICE_DEVS="\$$(DD)cups.dev \$$(DD)pxlcolor.dev \$$(DD)pxlmono.dev" PLIST_FILES= bin/espgs etc/cups/pstoraster.convs \ libexec/cups/filter/pstopxl libexec/cups/filter/pstoraster \ share/cups/model/pxlcolor.ppd share/cups/model/pxlmono.ppd post-patch: ${LN} -sf ${ESPGS_WRKSRC}/gdevcups.c ${WRKSRC}/src ${CAT} ${FILESDIR}/cups.contrib.mak >> ${WRKSRC}/src/contrib.mak .for file in pstopxl pstoraster ${SED} -e 's:@prefix@:${PREFIX}:g ; \ s:@exec_prefix@:${PREFIX}:g ; \ s:@bindir@:${PREFIX}/bin:g ; \ s:@GS@:espgs:g' \ ${ESPGS_WRKSRC}/${file}.in > ${ESPGS_WRKSRC}/${file} .endfor ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS=@CPPFLAGS@ |g ; \ s|^LDFLAGS=|LDFLAGS=@LDFLAGS@ |g ; \ s|^DEVICE_DEVS|#DEVICE_DEVS|g' ${WRKSRC}/Makefile.in pre-build: ${MKDIR} ${WRKSRC}/bin ${MKDIR} ${WRKSRC}/obj do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/espgs ${PREFIX}/bin ${INSTALL_DATA} ${ESPGS_WRKSRC}/pstoraster.convs ${PREFIX}/etc/cups .for file in pstopxl pstoraster ${INSTALL_SCRIPT} ${ESPGS_WRKSRC}/${file} ${PREFIX}/libexec/cups/filter .endfor .for file in pxlcolor.ppd pxlmono.ppd ${INSTALL_DATA} ${ESPGS_WRKSRC}/${file} ${PREFIX}/share/cups/model .endfor .include "${.CURDIR}/../../print/cups/Makefile.common" .if ${CUPS_REVISION} < 1 DISTNAME= cups-${CUPS_VERSION}-source .else DISTNAME= cups-${CUPS_VERSION}-${CUPS_REVISION}-source .endif .include .include --------------050804030200080001000703--