3a39f4c54d
--- 4.1.3 2011/01/27 Update yaz.spec to operate on both SLES11 / Centos 5.5. RPM: Release includes 'indexdata' name. Use indexdata in release name so this package can be distinguished from other vendors. yaz-config: Use exec_prefix, libdir, includedir . Use these variables as determined by configure yaz-config: set YAZ_VERSION env. php_yaz relies on it. GFS: Z_PresentStatus_partial_4 for missing record. If bend_fetch handler returns no error and no record, the present request is considered partial (only a subset of the records could be returned by backend), and so it is appropriate to set Present Status to partial-4.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.39 2011/02/03 12:39:58 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= yaz-4.1.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
|
|
|
|
MAINTAINER= phil@NetBSD.org
|
|
HOMEPAGE= http://indexdata.dk/yaz/
|
|
COMMENT= C/C++ toolkit for the development of Z39.50v3/SRW clients and servers
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_TOOLS+= pkg-config tclsh
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.libiconv}
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
|
CONFIGURE_ARGS+= --with-xml2=${BUILDLINK_PREFIX.libxml2}
|
|
|
|
PTHREAD_OPTS+= native optional
|
|
|
|
# don't depend on tcl, but fix the path to tclsh anyway
|
|
CHECK_INTERPRETER_SKIP= bin/yaz-asncomp
|
|
REPLACE_INTERPRETER+= tclsh
|
|
REPLACE.tclsh.old= .*tclsh
|
|
REPLACE.tclsh.new= ${TCLSH}
|
|
REPLACE_FILES.tclsh= util/yaz-asncomp
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|