Moreover, add options CURL IDN and IDN2 PR: 222887 Submitted by: takefu@airport.fm (maintainer) Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D12681
34 lines
957 B
Makefile
34 lines
957 B
Makefile
# Created by: Takefu <takefu@airport.fm>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= html-xml-utils
|
|
PORTVERSION= 7.2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.w3.org/Tools/HTML-XML-utils/
|
|
|
|
MAINTAINER= takefu@airport.fm
|
|
COMMENT= Utilities for manipulating HTML and XML files
|
|
|
|
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
|
|
GNU_CONFIGURE= yes
|
|
|
|
SHEBANG_FILES= ${WRKSRC}/hxcite-mkbib
|
|
CONFIGURE_ARGS= LDFLAGS=${ICONV_LIB}
|
|
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFINE= CURL IDN IDN2
|
|
CURL_CONFIGURE_WITH= libcurl=${LOCALBASE}
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
|
IDN_CONFIGURE_WITH= libidn=${LOCALBASE}
|
|
IDN_LIB_DEPENDS= libidn.so:dns/libidn
|
|
IDN2_CONFIGURE_WITH= libidn2=${LOCALBASE}
|
|
IDN2_DESC= Use dns/libidn2 (IDNA2008 library)
|
|
IDN2_LIB_DEPENDS= libidn2.so:dns/libidn2
|
|
|
|
.include <bsd.port.mk>
|