Date: Sat, 5 Jul 2003 11:00:18 -0700 (PDT) From: Martin Ranne <gasp@ridcully.dnsalias.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/48812: New port: print/foomatic-db-engine Message-ID: <200307051800.h65I0I7e020392@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/48812; it has been noted by GNATS. From: Martin Ranne <gasp@ridcully.dnsalias.org> To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: ports/48812: New port: print/foomatic-db-engine Date: Sat, 5 Jul 2003 19:57:33 +0200 (CEST) >Submitter-Id: current-users >Originator: Martin Ranne >Organization: >Confidential: no >Synopsis: Re: ports/48812: New port: print/foomatic-db-engine >Severity: >Priority: >Category: ports >Class: update >Release: FreeBSD 5.1-RELEASE i386 >Environment: System: FreeBSD dibbler.discworld 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Sun Jun 29 17:46:25 CEST 2003 gasp@dibbler.discworld:/temp/.obj/temp/.src/sys/dibbler.07 i386 >Description: Update of foomatic-db-engine to use cvs as source. Using dates as PORTVERSION now. >How-To-Repeat: >Fix: --- foomatic-db-engine.update begins here --- diff -ur foomatic-db-engine.org/Makefile foomatic-db-engine/Makefile --- foomatic-db-engine.org/Makefile Sat Jul 5 19:42:34 2003 +++ foomatic-db-engine/Makefile Sat Jul 5 19:48:25 2003 @@ -1,37 +1,76 @@ -# New ports collection makefile for: foomatic-db-engine -# Date created: 23 Februari 2003 -# Whom: gasp0de +# New ports collection makefile for: foomatic-db-engine +# Date created: 07 July 2003 +# Whom: Martin Ranne <gasp@ridcully.dnsalias.org> # # $FreeBSD$ # -PORTNAME=foomatic-db-engine -PORTVERSION=3.0.0b1 -CATEGORIES=print -MASTER_SITES=http://www.linuxprinting.org/download/foomatic/ -DISTNAME=${PORTNAME}-3.0.0beta1 - -MAINTAINER=gasp@ridcully.dnsalias.org -COMMENT=Foomatic database engine - -RUN_DEPENDS=${LOCALBASE}/share/foomatic/db/source/printer/Xerox-DocuPrint_N4512PS.xml:${PORTSDIR}/print/foomatic-db \ -${LOCALBASE}/bin/foomatic-rip:${PORTSDIR}/print/foomatic-filters -LIB_DEPENDS=xml2.5:${PORTSDIR}/textproc/libxml2 \ -curl.2:${PORTSDIR}/ftp/curl \ -cups.2:${PORTSDIR}/print/cups-base - -USE_GMAKE=yes -USE_PERL5=yes - -MAN1=foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \ -foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1 -MAN8=foomatic-preferred-driver.8 foomatic-ppdload.8 \ -foomatic-kitload.8 foomatic-getpjloptions.8 \ -foomatic-addpjloptions.8 +PORTNAME= foomatic-db-engine +PORTVERSION= 20030704 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= gasp@ridcully.dnsalias.org +COMMENT= Foomatic database engine + +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ + curl.2:${PORTSDIR}/ftp/curl + +NO_CHECKSUM= ${DISTFILES} + +USE_GMAKE= yes +USE_PERL5= yes +USE_BZIP2= yes +USE_AUTOCONF= yes + +MANCOMPRESSED= no +GNU_CONFIGURE= yes + +LIBDIR= ${PREFIX}/share/foomatic/ + +.include <bsd.port.pre.mk> +CVS_CMD?= cvs -z3 +CVS_DATE= ${PORTVERSION} +CVS_SITES?= pserver:anonymous@cvs.linuxprinting.org:/usr/local/cvs +CVS_MODULE= foomatic-db-engine + +MAN1= foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \ + foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1 +MAN8= foomatic-preferred-driver.8 foomatic-ppdload.8 \ + foomatic-kitload.8 foomatic-getpjloptions.8 \ + foomatic-addpjloptions.8 -MANCOMPRESSED=no -GNU_CONFIGURE=yes +# +# CVS checkout stuff mostly stolen from security/openssh-askpass port by +# kris@freebsd.org +# +do-fetch: + @if test ! -f ${DISTDIR}/${PKGNAME}${EXTRACT_SUFX} ; then \ + ${MKDIR} ${DISTDIR}/${PKGNAME} && \ + cd ${DISTDIR}/${PKGNAME}; \ + for CVS_SITE in ${CVS_SITES}; do \ + ${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \ + if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \ + then \ + cd ${DISTDIR}; \ + ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \ + ${ECHO_MSG} ">> \"${PKGNAME}${EXTRACT_SUFX}\"."; \ + ${MV} ${PKGNAME}/${CVS_MODULE} \ + ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \ + ${TAR} -cj \ + -X ${FILESDIR}/tarignore \ + -f ${PKGNAME}${EXTRACT_SUFX} \ + -C ${PKGNAME}/${CVS_MODULE:H} \ + ${PKGNAME}; \ + exit; \ + fi \ + done; \ + ${RMDIR} ${DISTDIR}/${PKGNAME}; \ + ${ECHO_MSG} ">> CVS checkout failed."; \ + exit 1; \ + fi -LIBDIR=${PREFIX}/share/foomatic/ +pre-configure: + @cd ${WRKSRC} && ./make_configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -ur foomatic-db-engine.org/distinfo foomatic-db-engine/distinfo --- foomatic-db-engine.org/distinfo Sat Jul 5 19:14:05 2003 +++ foomatic-db-engine/distinfo Sat Jul 5 19:19:27 2003 @@ -1 +1 @@ -MD5 (foomatic-db-engine-3.0.0beta1.tar.gz) = f8617144db2a255bc9ae4b4d7efd8bda +MD5 (foomatic-db-engine-20030704.tar.bz2) = 4b9501c059986fd24ff228a2da52f874 diff -ur foomatic-db-engine.org/pkg-plist foomatic-db-engine/pkg-plist --- foomatic-db-engine.org/pkg-plist Sat Jul 5 19:16:18 2003 +++ foomatic-db-engine/pkg-plist Sat Jul 5 19:16:02 2003 @@ -13,8 +13,10 @@ sbin/foomatic-fix-xml sbin/foomatic-getpjloptions sbin/foomatic-kitload +sbin/foomatic-nonumericalids sbin/foomatic-ppdload sbin/foomatic-preferred-driver +sbin/foomatic-replaceoldprinterids share/foomatic/templates/pjl_enum_choice.xml share/foomatic/templates/pjl_enum_option.xml share/foomatic/templates/pjl_num_option.xml --- foomatic-db-engine.update ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307051800.h65I0I7e020392>