aboutsummaryrefslogtreecommitdiffstats
path: root/print/hplip-plugin
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-07-19 18:26:19 +0800
committermakc <makc@FreeBSD.org>2014-07-19 18:26:19 +0800
commit739315e4a7730ddd7efac86ec4c6db0ef8a317c3 (patch)
treee4534580b94f60e34285d8e35288dcbb02370b29 /print/hplip-plugin
parenteed758743073a228ef17f2d4a632771f061f4cf2 (diff)
downloadfreebsd-ports-gnome-739315e4a7730ddd7efac86ec4c6db0ef8a317c3.tar.gz
freebsd-ports-gnome-739315e4a7730ddd7efac86ec4c6db0ef8a317c3.tar.zst
freebsd-ports-gnome-739315e4a7730ddd7efac86ec4c6db0ef8a317c3.zip
print/hplip-plugin:
- Take maintainership - Make the port non-interactive, undeprecate - Remove NO_PACKAGE, the port is already marked as RESTRICTED - Remove now needless MAKE_ENV
Diffstat (limited to 'print/hplip-plugin')
-rw-r--r--print/hplip-plugin/Makefile15
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