ports/172460: [MAINTAINER] www/validator: Update to OptionsNG

Naram Qashat cyberbotx at cyberbotx.com
Sun Oct 7 19:00:25 UTC 2012


>Number:         172460
>Category:       ports
>Synopsis:       [MAINTAINER] www/validator: Update to OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 19:00:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Naram Qashat
>Release:        FreeBSD 8.3-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #4: Mon Oct  1 19:56:21 EDT
>Description:
Update to OptionsNG.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- validator-1.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/validator/Makefile ./Makefile
--- /usr/ports/www/validator/Makefile	2012-07-19 22:57:30.000000000 -0400
+++ ./Makefile	2012-10-07 14:49:55.000000000 -0400
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	w3c-validator
-# Date created:				13 September 2005
-# Whom:					Naram Qashat <cyberbotx at cyberbotx.com>
-#
+# Created by: Naram Qashat <cyberbotx at cyberbotx.com>
 # $FreeBSD: ports/www/validator/Makefile,v 1.29 2012/06/30 14:31:05 az Exp $
-#
 
 PORTNAME=	validator
 PORTVERSION=	1.3
@@ -34,11 +30,13 @@
 
 SUB_FILES=	pkg-message validator.conf.sample
 
-OPTIONS=	HTML_TIDY "Enable HTML Markup Cleaning" On
+OPTIONS_DEFINE=	HTML_TIDY
+OPTIONS_DEFAULT=	HTML_TIDY
+HTML_TIDY_DESC=	Enable HTML Markup Cleaning
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_HTML_TIDY)
+.if ${PORT_OPTIONS:MHTML_TIDY}
 RUN_DEPENDS+=	p5-HTML-Tidy>=0:${PORTSDIR}/textproc/p5-HTML-Tidy
 .endif
 
--- validator-1.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list