aboutsummaryrefslogtreecommitdiff
path: root/textproc/tidyp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-10-07 10:14:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-10-07 10:14:54 +0000
commit973cc23070f73583f0623eb72e8e973360b864c8 (patch)
treed533a68e12565154f49de020c68235fb0e49d011 /textproc/tidyp
parent5fc3de70d017bebe771287b25337d7ed6f29b0c2 (diff)
downloadports-973cc23070f73583f0623eb72e8e973360b864c8.tar.gz
ports-973cc23070f73583f0623eb72e8e973360b864c8.zip
Notes
Diffstat (limited to 'textproc/tidyp')
-rw-r--r--textproc/tidyp/Makefile21
-rw-r--r--textproc/tidyp/pkg-descr2
2 files changed, 9 insertions, 14 deletions
diff --git a/textproc/tidyp/Makefile b/textproc/tidyp/Makefile
index ec374f00aae5..130aefeb71ed 100644
--- a/textproc/tidyp/Makefile
+++ b/textproc/tidyp/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tidyp
-# Date created: 2010-05-14
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
# $FreeBSD$
-#
PORTNAME= tidyp
PORTVERSION= 1.04
@@ -17,10 +13,9 @@ COMMENT= A library and program to validate and fix HTML
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-OPTIONS= ACCESS "Support Accessibility checks" off \
- ASIAN "Support Asian encoding" off \
- DEBUG "Enable debugging" off \
- UTF16 "Support UTF-16 encoding" off
+OPTIONS_DEFINE= ACCESS ASIAN DEBUG UTF16
+ACCESS_DESC= Accessibility checks
+ASIAN_DESC= Asian encodings
PLIST_FILES= bin/${PORTNAME} \
include/${PORTNAME}/buffio.h \
@@ -36,19 +31,19 @@ PLIST_DIRS= include/${PORTNAME}
.include <bsd.port.options.mk>
-.if defined(WITH_ACCESS)
+.if ${PORT_OPTIONS:MACCESS}
CONFIGURE_ARGS+=--enable-access
.endif
-.if defined(WITH_ASIAN)
+.if ${PORT_OPTIONS:MASIAN}
CONFIGURE_ARGS+=--enable-asian
.endif
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.endif
-.if defined(WITH_UTF16)
+.if ${PORT_OPTIONS:MUTF16}
CONFIGURE_ARGS+=--enable-utf16
.endif
diff --git a/textproc/tidyp/pkg-descr b/textproc/tidyp/pkg-descr
index 82b0b2f727d0..48850b6a6d1f 100644
--- a/textproc/tidyp/pkg-descr
+++ b/textproc/tidyp/pkg-descr
@@ -4,4 +4,4 @@ but all internal API stays the same.
tidyp will validate your HTML, and output cleaned-up HTML.
-WWW: http://tidyp.com/
+WWW: http://tidyp.com/