Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  2 Mar 2003 11:38:08 +0100 (CET)
From:      Martin Ranne <gasp@ridcully.dnsalias.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48832: New port: print/foomatic-db-hpijs
Message-ID:  <20030302103808.86AFD41E5@dibbler.discworld>

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

>Number:         48832
>Category:       ports
>Synopsis:       New port: print/foomatic-db-hpijs
>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:   Sun Mar 02 02:40:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Ranne
>Release:        FreeBSD 5.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD dibbler.discworld 5.0-RELEASE-p1 FreeBSD 5.0-RELEASE-p1 #0: Thu Feb 6 14:52:28 CET 2003 root@dibbler.discworld:/usr/obj/usr/src/sys/dibbler.04 i386


	
>Description:
Foomatic XML data generators for HP's HPIJS driver
	
>How-To-Repeat:
	
>Fix:

	

--- foomatic-db-hpijs.shar 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:
#
#	foomatic-db-hpijs
#	foomatic-db-hpijs/files
#	foomatic-db-hpijs/files/tarignore
#	foomatic-db-hpijs/pkg-descr
#	foomatic-db-hpijs/pkg-plist
#	foomatic-db-hpijs/Makefile
#	foomatic-db-hpijs/distinfo
#
echo c - foomatic-db-hpijs
mkdir -p foomatic-db-hpijs > /dev/null 2>&1
echo c - foomatic-db-hpijs/files
mkdir -p foomatic-db-hpijs/files > /dev/null 2>&1
echo x - foomatic-db-hpijs/files/tarignore
sed 's/^X//' >foomatic-db-hpijs/files/tarignore << 'END-of-foomatic-db-hpijs/files/tarignore'
XCVS
END-of-foomatic-db-hpijs/files/tarignore
echo x - foomatic-db-hpijs/pkg-descr
sed 's/^X//' >foomatic-db-hpijs/pkg-descr << 'END-of-foomatic-db-hpijs/pkg-descr'
Xfoomatic is a collection of printer drivers that can be
Xused by gimp-print and cups among others.
X
XWWW: http://www.linuxprinting.org/foomatic.html
END-of-foomatic-db-hpijs/pkg-descr
echo x - foomatic-db-hpijs/pkg-plist
sed 's/^X//' >foomatic-db-hpijs/pkg-plist << 'END-of-foomatic-db-hpijs/pkg-plist'
Xshare/foomatic/db/source/driver/hpijs.xml
Xshare/foomatic/db/source/driver/hpijs-rss.xml
Xshare/foomatic/db/source/opt/hpijs-Duplex.xml
Xshare/foomatic/db/source/opt/hpijs-InputSlot.xml
Xshare/foomatic/db/source/opt/hpijs-Model.xml
Xshare/foomatic/db/source/opt/hpijs-PageSize.xml
Xshare/foomatic/db/source/opt/hpijs-PrintoutMode.xml
Xshare/foomatic/db/source/opt/hpijs-Resolution.xml
Xshare/foomatic/db/source/opt/hpijs-rss-Duplex.xml
Xshare/foomatic/db/source/opt/hpijs-rss-Model.xml
Xshare/foomatic/db/source/opt/hpijs-rss-InputSlot.xml
Xshare/foomatic/db/source/opt/hpijs-rss-PageSize.xml
Xshare/foomatic/db/source/opt/hpijs-rss-Resolution.xml
END-of-foomatic-db-hpijs/pkg-plist
echo x - foomatic-db-hpijs/Makefile
sed 's/^X//' >foomatic-db-hpijs/Makefile << 'END-of-foomatic-db-hpijs/Makefile'
X# New ports collection makefile for:	foomatic-db-hpijs
X# Date created:			02 March 2003
X# Whom:				Martin Ranne <gasp@ridcully.dnsalias.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	foomatic-db-hpijs
XPORTVERSION=	1.3.1
XCATEGORIES=	print
XMASTER_SITES=	${MASTER_SITE_LOCAL}
XPKGNAMESUFFIX=	20030301
X
XMAINTAINER=	gasp@ridcully.dnsalias.org
XCOMMENT=	Foomatic XML data generators for HP's HPIJS driver
X
XRUN_DEPENDS=	foomatic-kitload:${PORTSDIR}/print/foomatic-db-engine
XLIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
X		curl.2:${PORTSDIR}/ftp/curl
X
XUSE_PERL5=	yes
XUSE_BZIP2=	yes
X
XGNU_CONFIGURE=	yes
X
X.include <bsd.port.pre.mk>
XCVS_CMD?=	cvs -z3
XCVS_DATE=	${PORTREVISION}
XCVS_SITES?=	pserver:anonymous@cvs.linuxprinting.org:/usr/local/cvs
XCVS_MODULE=	foomatic-db-hpijs
X
X#
X# CVS checkout stuff mostly stolen from security/openssh-askpass port by
X# kris@freebsd.org
X#
Xdo-fetch:
X	@${ECHO_MSG} ${PORTNAME}
X	@if test ! -f ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ; then \
X		${MKDIR} ${DISTDIR}/${PORTNAME}-${PORTVERSION} && \
X		cd ${DISTDIR}/${PORTNAME}-${PORTVERSION}; \
X		for CVS_SITE in ${CVS_SITES}; do \
X			${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
X			if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \
X			    then \
X				cd ${DISTDIR}; \
X				${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
X				${ECHO_MSG} ">> \"${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}\"."; \
X				${MV} ${PORTNAME}-${PORTVERSION}/${CVS_MODULE} \
X					${PORTNAME}-${PORTVERSION}/${CVS_MODULE:H}/${PORTNAME}-${PORTVERSION}; \
X				${TAR} -cj \
X					-X ${FILESDIR}/tarignore \
X					-f ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
X					-C ${PORTNAME}-${PORTVERSION}/${CVS_MODULE:H} \
X					${PORTNAME}-${PORTVERSION}; \
X				exit; \
X			fi \
X		done; \
X		${RMDIR} ${DISTDIR}/${PORTNAME}-${PORTVERSION}; \
X		${ECHO_MSG} ">> CVS checkout failed."; \
X		exit 1; \
X	fi
X
Xpre-configure:
X	@cd ${WRKSRC} && ./make_configure
X
X.include <bsd.port.post.mk>
END-of-foomatic-db-hpijs/Makefile
echo x - foomatic-db-hpijs/distinfo
sed 's/^X//' >foomatic-db-hpijs/distinfo << 'END-of-foomatic-db-hpijs/distinfo'
XMD5 (foomatic-db-hpijs-1.3.1.tar.bz2) = a89595079209b4def2384a9a7dfbf22a
END-of-foomatic-db-hpijs/distinfo
exit
--- foomatic-db-hpijs.shar ends here ---


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

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




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