diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-07-19 10:26:19 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-07-19 10:26:19 +0000 |
commit | b2f445d0d76d414d2076b6c92138c5eb859ef9b1 (patch) | |
tree | e4534580b94f60e34285d8e35288dcbb02370b29 /print | |
parent | 48b69327f47425277fa328385db20b7a83508c1c (diff) |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/hplip-plugin/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile index e81f052bac85..30e6ea43f75e 100644 --- a/print/hplip-plugin/Makefile +++ b/print/hplip-plugin/Makefile @@ -8,22 +8,17 @@ MASTER_SITES= http://www.openprinting.org/download/printdriver/auxfiles/HP/plugi DISTNAME= hplip-${DISTVERSION}-plugin EXTRACT_SUFX= .run -MAINTAINER= ports@FreeBSD.org +MAINTAINER= makc@FreeBSD.org COMMENT= Binary plugin for some HP Printers and All-in-One devices -DEPRECATED= Unmaintained interactive port -EXPIRATION_DATE=2014-08-20 - RUN_DEPENDS= hp-plugin:${PORTSDIR}/print/hplip +RESTRICTED= User must accept the license terms + USE_PYTHON= yes NO_BUILD= yes -RESTRICTED= User must accept the license terms -NO_PACKAGE= ${RESTRICTED} -IS_INTERACTIVE= yes WRKSRC= ${WRKDIR}/plugin_tmp HPLIP_FAKEDIR= ${WRKDIR}/hplip_fakedir -MAKE_ENV= HOME=/dev/null ONLY_FOR_ARCHS= amd64 i386 @@ -55,8 +50,8 @@ do-extract: @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|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|${HPLIP_FAKEDIR}|g' \ ${WRKSRC}/plugin_install.py |