blob: b993b4199c7ee6a62d8e595fae4408ed834e3b4f (
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
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: tidyp
# Date created: 2010-05-14
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
#
# $FreeBSD$
#
PORTNAME= tidyp
PORTVERSION= 1.04
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
WITH_FBSD10_FIX=yes
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_FILES= bin/${PORTNAME} \
include/${PORTNAME}/buffio.h \
include/${PORTNAME}/platform.h \
include/${PORTNAME}/tidyp.h \
include/${PORTNAME}/tidypenum.h \
lib/lib${PORTNAME}-${PORTVERSION}.so \
lib/lib${PORTNAME}-${PORTVERSION}.so.0 \
lib/lib${PORTNAME}.a \
lib/lib${PORTNAME}.la \
lib/lib${PORTNAME}.so
PLIST_DIRS= include/${PORTNAME}
.include <bsd.port.options.mk>
.if defined(WITH_ACCESS)
CONFIGURE_ARGS+=--enable-access
.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.mk>
|