Date: Thu, 22 Nov 2012 06:12:08 GMT From: Anish Mistry <amistry@am-productions.biz> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173826: New Port: print/hplip-plugin Message-ID: <201211220612.qAM6C8kZ082909@red.freebsd.org> Resent-Message-ID: <201211220620.qAM6K0mT067955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173826 >Category: ports >Synopsis: New Port: print/hplip-plugin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 22 06:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Anish Mistry >Release: 8.2-RELEASE-p1 amd64 >Organization: >Environment: FreeBSD bigguy.am-productions.biz 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Tue May 10 20:58:55 EDT 2011 amistry@bigguy.am-productions.biz:/usr/home/amistry/storage/temp/usr/src/sys/BIGGUY amd64 >Description: New port to easily install the hplip-plugin. This is needed for several of the printer drivers that are installed via the hplip port and those printers will seemingly not function without it. >How-To-Repeat: Try to install an HP Officejet 6700 via hplip >Fix: See attached shar of port. Patch attached with submission follows: # 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: # # hplip-plugin # hplip-plugin/pkg-descr # hplip-plugin/Makefile # hplip-plugin/pkg-plist # hplip-plugin/distinfo # echo c - hplip-plugin mkdir -p hplip-plugin > /dev/null 2>&1 echo x - hplip-plugin/pkg-descr sed 's/^X//' >hplip-plugin/pkg-descr << '172107e5709f6c591b6f6651c09725fe' XBinary drivers from some HPLIP supported printers. X XWWW: http://hplipopensource.com/hplip-web/index.html 172107e5709f6c591b6f6651c09725fe echo x - hplip-plugin/Makefile sed 's/^X//' >hplip-plugin/Makefile << '3138d0e8659c0065cbbd066ad8564981' X# New ports collection makefile for: hplip-plugin X# Date created: 21 November 2012 X# Whom: amistry@am-productions.biz X# X# $FreeBSD$ X# X XPORTNAME= hplip-plugin XPORTVERSION= 3.12.10a XCATEGORIES= print XMASTER_SITES= http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ XDISTNAME= hplip-3.12.10a-plugin XEXTRACT_SUFX= .run X XMAINTAINER= amistry@am-productions.biz XCOMMENT= Binary plugin for some HP Printers and All-in-One devices X XRUN_DEPENDS= hp-plugin:${PORTSDIR}/print/hplip X XUSE_PYTHON= 2.5+ X XWRKSRC= ${WRKDIR}/plugin_tmp XMAKE_JOBS_SAFE= yes X XFILES4FIX= hplip-plugin-install \ X plugin_install.py X XONLY_FOR_ARCHS= amd64 i386 X X.include <bsd.port.pre.mk> X X.if !defined(PACKAGE_BUILDING) XIS_INTERACTIVE= yes X.endif X X.if ${ARCH} == "i386" XPLIST_SUB+= LINARCH="x86_32" X.elif ${ARCH} == "amd64" XPLIST_SUB+= LINARCH="x86_64" X.else X.endif X Xdo-extract: X @${MKDIR} ${WRKDIR} X @cd ${WRKDIR} \ X && ${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} --keep --noexec X Xpost-patch: X ${REINPLACE_CMD} -e 's,/etc/hp,${PREFIX}&,g' \ X -e 's,/bin/bash,/bin/sh,g' \ X ${FILES4FIX:S,^,${WRKSRC}/,} X Xdo-build: X Xdo-install: X if ! (cd ${WRKSRC} && ./${PORTNAME}-install -i); \ X then \ X exit 1; \ X fi X X.include <bsd.port.post.mk> 3138d0e8659c0065cbbd066ad8564981 echo x - hplip-plugin/pkg-plist sed 's/^X//' >hplip-plugin/pkg-plist << 'dd3274be3541cc9d6fecb53218cb057c' Xshare/hplip/data/plugins/license.txt Xshare/hplip/data/firmware/hp_laserjet_1000.fw.gz Xshare/hplip/data/firmware/hp_laserjet_1005_series.fw.gz Xshare/hplip/data/firmware/hp_laserjet_1018.fw.gz Xshare/hplip/data/firmware/hp_laserjet_1020.fw.gz Xshare/hplip/data/firmware/hp_laserjet_p1005.fw.gz Xshare/hplip/data/firmware/hp_laserjet_p1006.fw.gz Xshare/hplip/data/firmware/hp_laserjet_p1007.fw.gz Xshare/hplip/data/firmware/hp_laserjet_p1008.fw.gz Xshare/hplip/data/firmware/hp_laserjet_p1009.fw.gz Xshare/hplip/data/firmware/hp_laserjet_p1505.fw.gz Xshare/hplip/data/firmware/hp_laserjet_professional_p1102.fw.gz Xshare/hplip/data/firmware/hp_laserjet_professional_p1102w.fw.gz Xshare/hplip/data/firmware/hp_laserjet_professional_p1566.fw.gz Xshare/hplip/prnt/plugins/lj.so Xshare/hplip/prnt/plugins/lj-%%LINARCH%%.so Xshare/hplip/scan/plugins/bb_soapht.so Xshare/hplip/scan/plugins/bb_soap.so Xshare/hplip/scan/plugins/bb_marvell.so Xshare/hplip/scan/plugins/bb_soapht-%%LINARCH%%.so Xshare/hplip/scan/plugins/bb_soap-%%LINARCH%%.so Xshare/hplip/scan/plugins/bb_marvell-%%LINARCH%%.so Xshare/hplip/fax/plugins/fax_marvell.so Xshare/hplip/fax/plugins/fax_marvell-%%LINARCH%%.so X@dirrm share/hplip/data/firmware X@dirrm share/hplip/data/plugins X@dirrm share/hplip/fax/plugins X@dirrm share/hplip/prnt/plugins X@dirrm share/hplip/scan/plugins dd3274be3541cc9d6fecb53218cb057c echo x - hplip-plugin/distinfo sed 's/^X//' >hplip-plugin/distinfo << 'ffd8ab190abe88e4b83ac2c89cfe9ecd' XSHA256 (hplip-3.12.10a-plugin.run) = eaaa99f702398620f84e7c354c0d5928ba8e20eb0ee526c4cf79549231aa8af6 XSIZE (hplip-3.12.10a-plugin.run) = 1808039 ffd8ab190abe88e4b83ac2c89cfe9ecd exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211220612.qAM6C8kZ082909>