svn commit: r305450 - head/textproc/tidyp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Oct 7 10:14:55 UTC 2012
Author: sunpoet
Date: Sun Oct 7 10:14:54 2012
New Revision: 305450
URL: http://svn.freebsd.org/changeset/ports/305450
Log:
- Convert to new options framework
- Cleanup Makefile header
Modified:
head/textproc/tidyp/Makefile (contents, props changed)
head/textproc/tidyp/pkg-descr (contents, props changed)
Modified: head/textproc/tidyp/Makefile
==============================================================================
--- head/textproc/tidyp/Makefile Sun Oct 7 10:14:16 2012 (r305449)
+++ head/textproc/tidyp/Makefile Sun Oct 7 10:14:54 2012 (r305450)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tidyp
-# Date created: 2010-05-14
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
# $FreeBSD$
-#
PORTNAME= tidyp
PORTVERSION= 1.04
@@ -17,10 +13,9 @@ COMMENT= A library and program to valida
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
Modified: head/textproc/tidyp/pkg-descr
==============================================================================
--- head/textproc/tidyp/pkg-descr Sun Oct 7 10:14:16 2012 (r305449)
+++ head/textproc/tidyp/pkg-descr Sun Oct 7 10:14:54 2012 (r305450)
@@ -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/
More information about the svn-ports-all
mailing list