Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 Oct 2012 14:50:53 -0400 (EDT)
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172460: [MAINTAINER] www/validator: Update to OptionsNG
Message-ID:  <20121007185053.845CA2845D@kirby.cyberbotx.com>
Resent-Message-ID: <201210071900.q97J0OBN089094@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@cyberbotx.com>
-#
+# Created by: Naram Qashat <cyberbotx@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121007185053.845CA2845D>