1 # $NetBSD: Makefile,v 1.51 2013/02/22 19:59:07 shattered Exp $
7 MASTER_SITES
= http
://ftp.indexdata.dk
/pub
/yaz
/
9 MAINTAINER
= phil@NetBSD.org
10 HOMEPAGE
= https
://www.indexdata.com
/yaz
/
11 COMMENT
= C
/C
++ toolkit for the development of Z39.50v3
/SRW clients and servers
16 USE_TOOLS
+= pkg-config tclsh
17 CONFIGURE_ARGS
+= --with-iconv
=${BUILDLINK_PREFIX.libiconv
}
18 CONFIGURE_ARGS
+= --with-openssl
=${BUILDLINK_PREFIX.openssl
}
19 CONFIGURE_ARGS
+= --with-xml2
=${BUILDLINK_PREFIX.libxml2
}
21 PTHREAD_OPTS
+= native optional
23 # don't depend on tcl, but fix the path to tclsh anyway
24 CHECK_INTERPRETER_SKIP
= bin
/yaz-asncomp
25 REPLACE_INTERPRETER
+= tclsh
26 REPLACE.tclsh.old
= .
*tclsh
27 REPLACE.tclsh.new
= ${TCLSH}
28 REPLACE_FILES.tclsh
= util
/yaz-asncomp
30 .
include "../../converters/libiconv/buildlink3.mk"
31 .
include "../../devel/readline/buildlink3.mk"
32 .
include "../../security/openssl/buildlink3.mk"
33 .
include "../../textproc/icu/buildlink3.mk"
34 .
include "../../textproc/libxslt/buildlink3.mk"
35 .
include "../../textproc/libxml2/buildlink3.mk"
36 .
include "../../mk/pthread.buildlink3.mk"
37 .
include "../../mk/bsd.pkg.mk"