aboutsummaryrefslogtreecommitdiff
path: root/textproc/html-xml-utils/Makefile
blob: 389085ddcde65e713a21f67ca5fbc3b89005cdce (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
PORTNAME=	html-xml-utils
PORTVERSION=	8.6
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	https://www.w3.org/Tools/HTML-XML-utils/

MAINTAINER=	takefu@airport.fm
COMMENT=	Utilities for manipulating HTML and XML files
WWW=		https://www.w3.org/Status.html#HTML-XML-utils

LICENSE=	W3C
LICENSE_GROUPS=	FSF GPL OSI
LICENSE_NAME=	W3C Software Notice and License (2002-12-31)
LICENSE_FILE=	${WRKSRC}/COPYING
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=		gmake iconv localbase shebangfix

SHEBANG_FILES=	${WRKSRC}/hxcite-mkbib
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	LDFLAGS=${ICONV_LIB}

OPTIONS_DEFINE=		CURL IDN IDN2 DOCS
OPTIONS_SUB=		yes

IDN2_DESC=		Use dns/libidn2 (IDNA2008 library)
CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
CURL_CONFIGURE_WITH=	libcurl=${LOCALBASE}
IDN2_LIB_DEPENDS=	libidn2.so:dns/libidn2
IDN2_CONFIGURE_WITH=	libidn2=${LOCALBASE}
IDN_LIB_DEPENDS=	libidn.so:dns/libidn
IDN_CONFIGURE_WITH=	libidn=${LOCALBASE}

.include <bsd.port.mk>