0d5e39c89e
Approved by: pgollucci (mentor)
46 lines
943 B
Makefile
46 lines
943 B
Makefile
# New ports collection makefile for: tidyp
|
|
# Date created: 2010-05-14
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tidyp
|
|
PORTVERSION= 1.02
|
|
CATEGORIES= textproc www
|
|
MASTER_SITES= http://cloud.github.com/downloads/petdance/tidyp/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
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
|
|
|
|
PLIST_SUB+= TIDYP_VER="${PORTVERSION}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ACCESS)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.if defined(WITH_ASIAN)
|
|
CONFIGURE_ARGS+= --enable-asian
|
|
.endif
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.if defined(WITH_UTF16)
|
|
CONFIGURE_ARGS+= --enable-utf16
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|