1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net/yaz/Makefile
Pawel Pekala 4cd08a2a23 - Update to version 5.0.9
- Port needs tcl now
- Use shebangfix to fix tclsh path
- Strip libraries

--- 5.0.9 2013/12/20
ZOOM/yaz-client: allow SRU searchRetrieveResponse with incorrect
namespace.
--- 5.0.8 2013/12/20
Make cs_parse_host public.A
Fix double HTTP dump (-a log would show HTTP packages twice). Bug
introduced in YAZ 5.0.6.
--- 5.0.7 2013/12/17
Fix buffer corruption for yaz-ztest record fetch.
--- 5.0.6 2013/12/17
Allow yaz-ztest to return user-defined records (one record per file).
This is enabled by defining environment variable YAZ_ZTEST_XML_FETCH.
Prevent early truncatin of HTTP log. (ODR_PRINT for HTTP streams).
Use the stream write instead of odr_printf which has a 4K tmp buffer.
Fix encoding of 0x00a4 (unicode to danmarc) YAZ-713
2013-12-26 19:16:33 +00:00

43 lines
983 B
Makefile

# Created by: Dmitry Sivachenko <dima@Chg.RU>
# $FreeBSD$
PORTNAME= yaz
PORTVERSION= 5.0.9
CATEGORIES= net
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
MAINTAINER= pawel@FreeBSD.org
COMMENT= Z39.50/SR client and API library
LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu
USES= iconv pathfix pkgconfig shebangfix tcl
SHEBANG_FILES= util/yaz-asncomp
SHEBANG_LANG= tcl
tcl_OLD_CMD= /usr/bin/tclsh
tcl_CMD= ${TCLSH}
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--enable-shared --with-openssl=${OPENSSLBASE} \
--with-iconv=${ICONV_PREFIX} --with-xml2=${LOCALBASE} \
--with-xslt=${LOCALBASE} --with-icu=${LOCALBASE} \
--enable-tcpd
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} 's|tclsh |tclsh8.6 |' ${WRKSRC}/configure
post-configure:
@${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/man,' \
${WRKSRC}/doc/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.5
.include <bsd.port.mk>