1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/net/yaz/Makefile
Mathieu Arnold 7acca7e902 Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
2016-07-06 22:10:14 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Dmitry Sivachenko <dima@Chg.RU>
# $FreeBSD$
PORTNAME= yaz
PORTVERSION= 5.16.0
PORTREVISION= 2
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:devel/icu
USES= execinfo iconv libtool pathfix pkgconfig shebangfix tcl
SHEBANG_FILES= util/yaz-asncomp
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS+=--enable-shared --with-openssl=${OPENSSLBASE} \
--with-iconv=${ICONV_PREFIX} --with-xml2=${LOCALBASE} \
--with-xslt=${LOCALBASE} --with-icu=${LOCALBASE} \
--enable-tcpd
LDFLAGS+= -L${LOCALBASE}/lib
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 |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.*
.include <bsd.port.mk>