jca 9d2b6c08ba Mirror a bunch of samba.org distfiles
download.samba.org now rejects the HTTP/1.0 requests sent by our ftp(1).
Changing ftp(1) now is asking for trouble so work around it.

distfiles hosting courtesy of kmos@, thanks!
2019-10-07 13:35:48 +00:00

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2019/10/07 13:35:48 jca Exp $
COMMENT= hierarchical memory pool system with destructors
# Keep in sync with the version bundled in net/samba
DISTNAME= talloc-2.1.14
PKGNAME= lib${DISTNAME}
SHARED_LIBS+= talloc 1.1
SHARED_LIBS+= pytalloc-util 0.1
CATEGORIES= devel
HOMEPAGE= https://talloc.samba.org/
MAINTAINER= Jeremie Courreges-Anglas <jca@wxcvbn.org>
# LGPLv3+
PERMIT_PACKAGE= Yes
WANTLIB += m pthread util ${MODPY_WANTLIB}
MASTER_SITES= https://filedump.se.rit.edu/pub/distfiles/ \
https://download.samba.org/pub/talloc/
MODULES= lang/python
MODPY_RUNDEP= No
MODPY_ADJ_FILES= buildtools/bin/waf
BUILD_DEPENDS= textproc/docbook-xsl \
textproc/libxslt
LIB_DEPENDS= ${MODPY_LIB_DEPENDS}
WAF_ARGS= -v -j ${MAKE_JOBS}
MAKE_FLAGS= WAF_ARGS="${WAF_ARGS}"
.for _l _v in ${SHARED_LIBS}
MAKE_ENV += LIB${_l:S/-/_/g}_VERSION=${_v}
.endfor
TEST_ENV= LD_LIBRARY_PATH="${WRKSRC}/bin/default"
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix='${PREFIX}' --mandir="${PREFIX}/man" \
--disable-rpath
.include <bsd.port.mk>