diff options
author | jhale <jhale@FreeBSD.org> | 2012-10-08 07:05:24 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2012-10-08 07:05:24 +0800 |
commit | b9b0fc67101d4c21939d60a398f895c5edbc8c9c (patch) | |
tree | 21317b19b9e285a18eec5fd5f20feef6586bce98 | |
parent | ff3a8ed47ad90f1fceb7dd9c4fa01cdd58ecacbe (diff) | |
download | freebsd-ports-gnome-b9b0fc67101d4c21939d60a398f895c5edbc8c9c.tar.gz freebsd-ports-gnome-b9b0fc67101d4c21939d60a398f895c5edbc8c9c.tar.zst freebsd-ports-gnome-b9b0fc67101d4c21939d60a398f895c5edbc8c9c.zip |
- 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)
-rw-r--r-- | www/validator/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/www/validator/Makefile b/www/validator/Makefile index 49d6d8ad135b..9711fe823446 100644 --- a/www/validator/Makefile +++ b/www/validator/Makefile @@ -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 |