1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= yaz |
4 |
PORTVERSION= 4.2.65 |
5 |
PORTREVISION= 1 |
6 |
CATEGORIES= net |
7 |
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/ |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Z39.50/SR client and API library |
11 |
|
12 |
LICENSE= bsd3 |
13 |
|
14 |
LIB_DEPENDS= icuuc:${PORTSDIR}/devel/icu |
15 |
|
16 |
GNU_CONFIGURE= yes |
17 |
USES= pathfix pkgconfig iconv ssl |
18 |
USE_GNOME= libxml2 libxslt |
19 |
USE_LDCONFIG= yes |
20 |
|
21 |
CONFIGURE_ARGS+=--enable-shared --with-openssl=${OPENSSLBASE} \ |
22 |
--with-iconv=${LOCALBASE} --with-xml2=${LOCALBASE} \ |
23 |
--with-xslt=${LOCALBASE} --with-icu=${LOCALBASE} \ |
24 |
--enable-tcpd |
25 |
|
26 |
MAN1= yaz-asncomp.1 yaz-client.1 yaz-config.1 yaz-iconv.1 \ |
27 |
yaz-json-parse.1 yaz-marcdump.1 \ |
28 |
zoomsh.1 yaz-icu.1 yaz-illclient.1 yaz-url.1 |
29 |
MAN7= bib1-attr.7 yaz-log.7 yaz.7 |
30 |
MAN8= yaz-ztest.8 |
31 |
|
32 |
OPTIONS_DEFINE= DOCS |
33 |
|
34 |
.include <bsd.mport.options.mk> |
35 |
|
36 |
.if !${PORT_OPTIONS:MDOCS} |
37 |
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-doc__Makefile.in |
38 |
.endif |
39 |
|
40 |
post-configure: |
41 |
@${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/man,' \ |
42 |
${WRKSRC}/doc/Makefile |
43 |
|
44 |
.include <bsd.port.mk> |