svn commit: r322954 - in head: . print print/hplip-plugin
Max Brazhnikov
makc at FreeBSD.org
Sat Jul 13 17:51:41 UTC 2013
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 <amistry at am-productions.biz>
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 at 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 at 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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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
+ at dirrm share/hplip/scan/plugins
+ at dirrm share/hplip/prnt/plugins
+ at dirrm share/hplip/fax/plugins
+ at dirrm share/hplip/data/plugins
+ at dirrm share/hplip/data/firmware
More information about the svn-ports-head
mailing list