From owner-svn-ports-head@FreeBSD.ORG Sat Jul 13 17:51:41 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2CE84BC3; Sat, 13 Jul 2013 17:51:41 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA131AD3; Sat, 13 Jul 2013 17:51:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6DHpej2015520; Sat, 13 Jul 2013 17:51:40 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6DHpdqm015512; Sat, 13 Jul 2013 17:51:39 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201307131751.r6DHpdqm015512@svn.freebsd.org> From: Max Brazhnikov Date: Sat, 13 Jul 2013 17:51:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322954 - in head: . print print/hplip-plugin X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2013 17:51:41 -0000 Author: makc Date: Sat Jul 13 17:51:39 2013 New Revision: 322954 URL: http://svnweb.freebsd.org/changeset/ports/322954 Log: Add new port print/hplip-plugin: Firmware and binary drivers from some HPLIP supported printers. PR: based on ports/173826 Submitted by: Anish Mistry Added: head/print/hplip-plugin/ head/print/hplip-plugin/Makefile (contents, props changed) head/print/hplip-plugin/distinfo (contents, props changed) head/print/hplip-plugin/pkg-descr (contents, props changed) head/print/hplip-plugin/pkg-plist (contents, props changed) Modified: head/LEGAL head/print/Makefile Modified: head/LEGAL ============================================================================== --- head/LEGAL Sat Jul 13 17:50:03 2013 (r322953) +++ head/LEGAL Sat Jul 13 17:51:39 2013 (r322954) @@ -119,6 +119,7 @@ gsview* print/gsview Can only be dist hcwPVRP2.sys multimedia/pvr250 Driver is part of the CD-ROM distribution coming with the TV card hcwPVRP2.sys multimedia/pvrxxx Driver is part of the CD-ROM distribution coming with the TV card homard-* french/homard Only free for use in conjunction with french/aster. For any other purpose, you have to acquire a license +hplip-*-plugin.run print/hplip-plugin License agreement is required httprint_freebsd_*.zip security/httprint No cost for personal, education and non-commercial use huludesktop-i386.rpm multimedia/linux-huludesktop No redistribution allowed, not for commercial use, export controlled HyperSpec-* devel/clisp-hyperspec Commercial redistribution prohibited Modified: head/print/Makefile ============================================================================== --- head/print/Makefile Sat Jul 13 17:50:03 2013 (r322953) +++ head/print/Makefile Sat Jul 13 17:51:39 2013 (r322954) @@ -111,6 +111,7 @@ SUBDIR += hp2xx SUBDIR += hpijs SUBDIR += hplip + SUBDIR += hplip-plugin SUBDIR += hs-hscolour SUBDIR += html2latex SUBDIR += html2ps Added: head/print/hplip-plugin/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/hplip-plugin/Makefile Sat Jul 13 17:51:39 2013 (r322954) @@ -0,0 +1,47 @@ +# Created by: amistry@am-productions.biz +# $FreeBSD$ + +PORTNAME= hplip-plugin +PORTVERSION= 3.13.6 +CATEGORIES= print +MASTER_SITES= http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ +DISTNAME= hplip-${DISTVERSION}-plugin +EXTRACT_SUFX= .run + +MAINTAINER= amistry@am-productions.biz +COMMENT= Binary plugin for some HP Printers and All-in-One devices + +RUN_DEPENDS= hp-plugin:${PORTSDIR}/print/hplip + +USE_PYTHON= yes +NO_BUILD= yes +RESTRICTED= User must accept the license terms +NO_PACKAGE= ${RESTRICTED} +IS_INTERACTIVE= yes +WRKSRC= ${WRKDIR}/plugin_tmp + +ONLY_FOR_ARCHS= amd64 i386 + +.include + +.if ${ARCH} == "i386" +PLIST_SUB+= LINARCH="x86_32" +.elif ${ARCH} == "amd64" +PLIST_SUB+= LINARCH="x86_64" +.endif + +do-extract: + @${MKDIR} ${WRKDIR} + @cd ${WRKDIR} && ${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} --keep --noexec + +post-patch: +# ${REINPLACE_CMD} -e 's|ok, ans = tui.enter_yes_no.*|ok, ans = 1, 1|' \ +# ${WRKSRC}/plugin_install.py + ${REINPLACE_CMD} -e 's|rules,||;s|rules_alt,||' ${WRKSRC}/plugin.spec + ${REINPLACE_CMD} -e 's|/etc/hp|${PREFIX}&|g' \ + ${WRKSRC}/plugin_install.py + +do-install: + cd ${WRKSRC} && ${PYTHON_CMD} -B plugin_install.py + +.include Added: head/print/hplip-plugin/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/hplip-plugin/distinfo Sat Jul 13 17:51:39 2013 (r322954) @@ -0,0 +1,2 @@ +SHA256 (hplip-3.13.6-plugin.run) = 0df59b55df609f5e127988760eef563080563d618fc84f0e0c22b1131b3507fd +SIZE (hplip-3.13.6-plugin.run) = 1831168 Added: head/print/hplip-plugin/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/hplip-plugin/pkg-descr Sat Jul 13 17:51:39 2013 (r322954) @@ -0,0 +1,3 @@ +Firmware and binary drivers from some HPLIP supported printers. + +WWW: http://hplipopensource.com/hplip-web/index.html Added: head/print/hplip-plugin/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/hplip-plugin/pkg-plist Sat Jul 13 17:51:39 2013 (r322954) @@ -0,0 +1,30 @@ +share/hplip/data/firmware/hp_laserjet_1000.fw.gz +share/hplip/data/firmware/hp_laserjet_1005_series.fw.gz +share/hplip/data/firmware/hp_laserjet_1018.fw.gz +share/hplip/data/firmware/hp_laserjet_1020.fw.gz +share/hplip/data/firmware/hp_laserjet_p1005.fw.gz +share/hplip/data/firmware/hp_laserjet_p1006.fw.gz +share/hplip/data/firmware/hp_laserjet_p1007.fw.gz +share/hplip/data/firmware/hp_laserjet_p1008.fw.gz +share/hplip/data/firmware/hp_laserjet_p1009.fw.gz +share/hplip/data/firmware/hp_laserjet_p1505.fw.gz +share/hplip/data/firmware/hp_laserjet_professional_p1102.fw.gz +share/hplip/data/firmware/hp_laserjet_professional_p1102w.fw.gz +share/hplip/data/firmware/hp_laserjet_professional_p1566.fw.gz +share/hplip/data/plugins/license.txt +share/hplip/fax/plugins/fax_marvell-%%LINARCH%%.so +share/hplip/fax/plugins/fax_marvell.so +share/hplip/plugin.spec +share/hplip/prnt/plugins/lj-%%LINARCH%%.so +share/hplip/prnt/plugins/lj.so +share/hplip/scan/plugins/bb_marvell-%%LINARCH%%.so +share/hplip/scan/plugins/bb_marvell.so +share/hplip/scan/plugins/bb_soap-%%LINARCH%%.so +share/hplip/scan/plugins/bb_soap.so +share/hplip/scan/plugins/bb_soapht-%%LINARCH%%.so +share/hplip/scan/plugins/bb_soapht.so +@dirrm share/hplip/scan/plugins +@dirrm share/hplip/prnt/plugins +@dirrm share/hplip/fax/plugins +@dirrm share/hplip/data/plugins +@dirrm share/hplip/data/firmware