34 lines
888 B
Makefile
34 lines
888 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/06/06 15:58:26 jwise Exp $
|
|||
#
|
|||
|
|||
DISTNAME= yaz-2.1.6
|
|||
CATEGORIES= net
|
|||
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
|
|||
|
|||
MAINTAINER= jwise@NetBSD.org
|
|||
HOMEPAGE= http://indexdata.dk/yaz
|
|||
COMMENT= C/C++ toolkit for the development of Z39.50v3/SRW clients and servers
|
|||
|
|||
USE_LIBTOOL= YES
|
|||
GNU_CONFIGURE= YES
|
|||
|
|||
yaz installs libyazthread on systems with native threads. tweak PLIST
accordingly.
bump PKGREVISION.
|
PTHREAD_OPTS+= native optional
|
||
|
|||
.include "../../textproc/libxml2/buildlink3.mk"
|
|||
CONFIGURE_ARGS+= --with-xml2=${BUILDLINK_PREFIX.libxml2}
|
|||
|
|||
.include "../../security/openssl/buildlink3.mk"
|
|||
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
|||
|
|||
.include "../../converters/libiconv/buildlink3.mk"
|
|||
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.libiconv}
|
|||
|
|||
|
.include "../../mk/pthread.buildlink3.mk"
|
||
yaz installs libyazthread on systems with native threads. tweak PLIST
accordingly.
bump PKGREVISION.
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
|
||
PLIST_SUBST+= YAZTHREAD="@comment "
|
|||
.else
|
|||
PLIST_SUBST+= YAZTHREAD=""
|
|||
.endif
|
|||
|
|||
.include "../../mk/bsd.pkg.mk"
|