svn commit: r305511 - head/www/validator
Jason E. Hale
jhale at FreeBSD.org
Sun Oct 7 23:05:24 UTC 2012
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 at 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 at cyberbotx.com>
-#
+# Created by: Naram Qashat <cyberbotx at 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
More information about the svn-ports-all
mailing list