ports/58460: Update port: print/foomatic-filters to 20031022

Martin Ranne gasp at ridcully.dnsalias.org
Thu Oct 23 18:50:18 UTC 2003


>Number:         58460
>Category:       ports
>Synopsis:       Update port: print/foomatic-filters to 20031022
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 11:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Ranne
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dibbler.discworld 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Sun Jun 29 17:46:25 CEST 2003 gasp at dibbler.discworld:/temp/.obj/temp/.src/sys/dibbler.07 i386


	
>Description:
Update of foomatic-filters to 20031022. It now uses cvs to fetch the source.
	
>How-To-Repeat:
	
>Fix:

	

--- foomatic-filters.update begins here ---
diff -ru foomatic-filters.org/Makefile foomatic-filters/Makefile
--- foomatic-filters.org/Makefile	Thu Oct 23 18:43:42 2003
+++ foomatic-filters/Makefile	Thu Oct 23 18:49:01 2003
@@ -1,28 +1,70 @@
-# New ports collection makefile for:   foomatic-filters
-# Date created:        23 Februari 2003
-# Whom:                gasp0de
+# New ports collection makefile for:	foomatic-filters
+# Date created:			23 October 2003
+# Whom:				Martin Ranne <gasp at ridcully.dnsalias.org>
 #
 # $FreeBSD$
 #
 
-PORTNAME=foomatic-filters
-PORTVERSION=3.0.0b1
-CATEGORIES=print
-MASTER_SITES=http://www.linuxprinting.org/download/foomatic/
-DISTNAME=${PORTNAME}-3.0.0beta1
-
-MAINTAINER=gasp at ridcully.dnsalias.org
-COMMENT=Foomatic filters package
-
-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-gswrapper.1 foomatic-rip.1
-
-MANCOMPRESSED=no
-GNU_CONFIGURE=yes
-.include <bsd.port.mk>
+PORTNAME=	foomatic-filters
+PORTVERSION=	20031022
+CATEGORIES=	print
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+
+MAINTAINER=	gasp at ridcully.dnsalias.org
+COMMENT=	Foomatic filters package
+
+LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
+		curl.2:${PORTSDIR}/ftp/curl \
+		cups.2:${PORTSDIR}/print/cups-base
+BUILD_DEPENDS=	automake:${PORTSDIR}/devel/automake
+
+USE_GMAKE=	yes
+USE_PERL5=	yes
+USE_BZIP2=	yes
+USE_AUTOCONF=	yes
+GNU_CONFIGURE=	yes
+NO_CHECKSUM=	yes	# the tarball is created on the fly from CVS
+MAN_COMPRESSED=	no
+
+MAN1=		foomatic-gswrapper.1 foomatic-rip.1
+
+.include <bsd.port.pre.mk>
+CVS_CMD?=	cvs -z3
+CVS_DATE=	${PORTVERSION}
+CVS_SITES?=	pserver:anonymous at cvs.linuxprinting.org:/usr/local/cvs
+CVS_MODULE=	foomatic-filters
+
+#
+# CVS checkout stuff mostly stolen from security/openssh-askpass port by
+# kris at 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
+
+pre-configure:
+	@cd ${WRKSRC} && ./make_configure
+
+.include <bsd.port.post.mk>
diff -ru foomatic-filters.org/distinfo foomatic-filters/distinfo
--- foomatic-filters.org/distinfo	Thu Oct 23 18:43:42 2003
+++ foomatic-filters/distinfo	Thu Oct 23 18:59:43 2003
@@ -1 +1 @@
-MD5 (foomatic-filters-3.0.0beta1.tar.gz) = 66ac3b4b1eec86d117b8a50fd10b07af
+Data is retrieved via CVS
Only in foomatic-filters/files: patch-Makefile.in
Only in foomatic-filters/files: patch-configure.in
Only in foomatic-filters.org/files: patch-foomatic-rip.in
Only in foomatic-filters/files: tarignore
diff -ru foomatic-filters.org/pkg-plist foomatic-filters/pkg-plist
--- foomatic-filters.org/pkg-plist	Thu Oct 23 18:43:42 2003
+++ foomatic-filters/pkg-plist	Thu Oct 23 20:40:26 2003
@@ -1,5 +1,7 @@
 bin/foomatic-gswrapper
 bin/foomatic-rip
 etc/foomatic/filter.conf
+etc/foomatic/filter.conf.sample
+libexec/cups/filter/foomatic-rip
 @dirrm etc/foomatic/direct
 @dirrm etc/foomatic
--- foomatic-filters.update ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list