openbsd-ports/net/libtorrent/Makefile
2009-03-16 11:05:54 +00:00

37 lines
845 B
Makefile

# $OpenBSD: Makefile,v 1.18 2009/03/16 11:05:54 sthen Exp $
COMMENT= BitTorrent library written in C++
DISTNAME= libtorrent-0.12.4
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += torrent 15.0 # .11.4
CATEGORIES= net devel
HOMEPAGE= http://libtorrent.rakshasa.no/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}downloads/
WANTLIB= crypto
LIB_DEPENDS= sigc-2.0:libsigc++->=2,<3:devel/libsigc++-2
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.62
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-openssl \
--with-kqueue \
--disable-debug
CONFIGURE_ENV= OPENSSL_CFLAGS=-I/usr/include \
OPENSSL_LIBS=-lcrypto
.include <bsd.port.mk>