diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-07-13 17:51:39 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-07-13 17:51:39 +0000 |
commit | b70462df1863b600070992a2f35fcbd9a128acd8 (patch) | |
tree | b914ac71b81bb6afd9edd90baf8a93cefb8555e5 /print/hplip-plugin | |
parent | 6b184e8052cbecf62c2333b851970311b1ea5cc0 (diff) | |
download | ports-b70462df1863b600070992a2f35fcbd9a128acd8.tar.gz ports-b70462df1863b600070992a2f35fcbd9a128acd8.zip |
Notes
Diffstat (limited to 'print/hplip-plugin')
-rw-r--r-- | print/hplip-plugin/Makefile | 47 | ||||
-rw-r--r-- | print/hplip-plugin/distinfo | 2 | ||||
-rw-r--r-- | print/hplip-plugin/pkg-descr | 3 | ||||
-rw-r--r-- | print/hplip-plugin/pkg-plist | 30 |
4 files changed, 82 insertions, 0 deletions
diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile new file mode 100644 index 000000000000..f217d1d8f831 --- /dev/null +++ b/print/hplip-plugin/Makefile @@ -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 <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> diff --git a/print/hplip-plugin/distinfo b/print/hplip-plugin/distinfo new file mode 100644 index 000000000000..4014c9049454 --- /dev/null +++ b/print/hplip-plugin/distinfo @@ -0,0 +1,2 @@ +SHA256 (hplip-3.13.6-plugin.run) = 0df59b55df609f5e127988760eef563080563d618fc84f0e0c22b1131b3507fd +SIZE (hplip-3.13.6-plugin.run) = 1831168 diff --git a/print/hplip-plugin/pkg-descr b/print/hplip-plugin/pkg-descr new file mode 100644 index 000000000000..8d1ebebb4f1f --- /dev/null +++ b/print/hplip-plugin/pkg-descr @@ -0,0 +1,3 @@ +Firmware and binary drivers from some HPLIP supported printers. + +WWW: http://hplipopensource.com/hplip-web/index.html diff --git a/print/hplip-plugin/pkg-plist b/print/hplip-plugin/pkg-plist new file mode 100644 index 000000000000..79a22e17d95f --- /dev/null +++ b/print/hplip-plugin/pkg-plist @@ -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 |