diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-10-07 10:14:54 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-10-07 10:14:54 +0000 |
commit | 973cc23070f73583f0623eb72e8e973360b864c8 (patch) | |
tree | d533a68e12565154f49de020c68235fb0e49d011 /textproc/tidyp | |
parent | 5fc3de70d017bebe771287b25337d7ed6f29b0c2 (diff) |
- Convert to new options framework
- Cleanup Makefile header
Notes
Notes:
svn path=/head/; revision=305450
Diffstat (limited to 'textproc/tidyp')
-rw-r--r-- | textproc/tidyp/Makefile | 21 | ||||
-rw-r--r-- | textproc/tidyp/pkg-descr | 2 |
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/ |