1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/neon/Makefile
2021-04-06 16:31:07 +02:00

67 lines
1.7 KiB
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
PORTNAME= neon
PORTVERSION= 0.31.2
CATEGORIES= www
MASTER_SITES= https://notroj.github.io/neon/
MAINTAINER= lev@FreeBSD.org
COMMENT= HTTP and WebDAV client library for Unix systems
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/src/COPYING.LIB
USES= libtool localbase:ldflags pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
OPTIONS_DEFINE= CA_BUNDLE DOCS GSSAPI NLS PROXY
OPTIONS_DEFAULT= CA_BUNDLE EXPAT GSSAPI OPENSSL
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
OPTIONS_SINGLE= XML
OPTIONS_SINGLE_XML= EXPAT LIBXML2
CA_BUNDLE_DESC= Enable CA bundle for GnuTLS/OpenSSL
LIBXML2_DESC= libxml2 XML parser support
PROXY_DESC= libproxy support
XML_DESC= XML parser library
CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2
EXPAT_CONFIGURE_WITH= expat
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls
GSSAPI_CONFIGURE_WITH= gssapi
LIBXML2_CONFIGURE_WITH= libxml2
LIBXML2_USES= gnome
LIBXML2_USE= GNOME=libxml2
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ENV= ne_cv_libsfor_SSL_library_init=-lssl
OPENSSL_CONFIGURE_ON= --with-ssl=openssl
PROXY_CONFIGURE_WITH= libproxy
PROXY_LIB_DEPENDS= libproxy.so:net/libproxy
OPTIONS_SUB= yes
DOCSDIR= ${PREFIX}/share/doc/neon
post-patch:
${REINPLACE_CMD} -e 's|-@NEON_VERSION@$$||' ${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libneon.so.27.*
.include <bsd.port.mk>