openbsd-ports/devel/libbt/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

2006-08-01 18:55:52 -04:00
# $OpenBSD: Makefile,v 1.6 2006/08/01 22:55:52 espie Exp $
COMMENT= "C reimplementation of the BitTorrent core protocols"
2004-07-12 02:16:49 -04:00
DISTNAME= libbt-1.03
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libbt/}
HOMEPAGE= http://libbt.sourceforge.net/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2004-11-23 16:34:27 -05:00
WANTLIB= c crypto m ssl z
NO_REGRESS= Yes
USE_X11= Yes # for makedepend
2006-08-01 18:55:52 -04:00
LIB_DEPENDS= curl.>=2.2::net/curl
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/libbt
${INSTALL_DATA} ${WRKBUILD}/src/libbt.a ${PREFIX}/lib
.for p in btcheck btget btlist
${INSTALL_PROGRAM} ${WRKBUILD}/src/${p} ${PREFIX}/bin
.endfor
2004-07-12 02:16:49 -04:00
.for i in benc bitset bterror btmessage bts context peer random segmenter \
strbuf stream types util
${INSTALL_DATA} ${WRKSRC}/include/${i}.h ${PREFIX}/include/libbt
.endfor
${INSTALL_MAN} ${WRKSRC}/man/*.1 ${PREFIX}/man/man1
.include <bsd.port.mk>