1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- Convert to new options framework

- Cleanup Makefile header
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-10-07 10:14:54 +00:00
parent 5fc3de70d0
commit 973cc23070
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305450
2 changed files with 9 additions and 14 deletions

View File

@ -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

View File

@ -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/