Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 23:05:24 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305511 - head/www/validator
Message-ID:  <201210072305.q97N5OAe086568@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sun Oct  7 23:05:24 2012
New Revision: 305511
URL: http://svn.freebsd.org/changeset/ports/305511

Log:
  - Convert to new options framework
  - Trim Makefile header
  
  PR:		ports/172460
  Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
  Approved by:	makc, avilla (mentors implicit)

Modified:
  head/www/validator/Makefile   (contents, props changed)

Modified: head/www/validator/Makefile
==============================================================================
--- head/www/validator/Makefile	Sun Oct  7 22:02:06 2012	(r305510)
+++ head/www/validator/Makefile	Sun Oct  7 23:05:24 2012	(r305511)
@@ -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$
-#
 
 PORTNAME=	validator
 PORTVERSION=	1.3
@@ -34,11 +30,13 @@ USE_PERL5_RUN=	5.8.0+
 
 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
 



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