svn commit: r362249 - head/print/hplip-plugin

Max Brazhnikov makc at FreeBSD.org
Sat Jul 19 10:26:20 UTC 2014


Author: makc
Date: Sat Jul 19 10:26:19 2014
New Revision: 362249
URL: http://svnweb.freebsd.org/changeset/ports/362249
QAT: https://qat.redports.org/buildarchive/r362249/

Log:
  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

Modified:
  head/print/hplip-plugin/Makefile

Modified: head/print/hplip-plugin/Makefile
==============================================================================
--- head/print/hplip-plugin/Makefile	Sat Jul 19 10:25:16 2014	(r362248)
+++ head/print/hplip-plugin/Makefile	Sat Jul 19 10:26:19 2014	(r362249)
@@ -8,22 +8,17 @@ MASTER_SITES=	http://www.openprinting.or
 DISTNAME=	hplip-${DISTVERSION}-plugin
 EXTRACT_SUFX=	.run
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	makc at 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


More information about the svn-ports-all mailing list