blob: 088936ef889f92ec4b6fc61b21cdad675a1499c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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/ \
http://sunpoet.net/distfiles/
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>
|