freebsd-ports/net/yaz/Makefile
Jan Beich e55b80195e devel/icu: update to 74.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by:	GitHub (watch releases)
PR:		274317
Exp-run by:	antoine (incomplete)
Approved by:	fluffy
2023-11-17 12:46:00 +01:00

50 lines
1.2 KiB
Makefile

PORTNAME= yaz
DISTVERSION= 5.31.1
PORTREVISION= 6
CATEGORIES= net
MASTER_SITES= https://ftp.indexdata.dk/pub/yaz/
MAINTAINER= nc@FreeBSD.org
COMMENT= Z39.50/SR client and API library
WWW= https://www.indexdata.com/resources/software/yaz/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libicuuc.so:devel/icu \
libgnutls.so:security/gnutls
USES= gnome iconv libtool ncurses pathfix localbase:ldflags \
pkgconfig readline shebangfix tcl
SHEBANG_FILES= src/yaz-asncomp
GNU_CONFIGURE= yes
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS= --enable-shared --with-iconv=${ICONV_PREFIX} \
--with-xml2 --with-xslt --with-icu --enable-tcpd
LIBS+= -lexecinfo
PORTDOCS= *
OPTIONS_DEFINE= DOCS MEMCACHED REDIS
MEMCACHED_DESC= Memcached distributed cache system support
MEMCACHED_CONFIGURE_WITH= memcached
MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached
REDIS_CONFIGURE_WITH= redis
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
post-patch:
@${REINPLACE_CMD} 's|tclsh |tclsh${TCL_VER} |' ${WRKSRC}/configure
post-configure:
@${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/man,' \
${WRKSRC}/doc/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
.include <bsd.port.mk>