mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
cbc186ec84
benchmarks/vegeta devel/busybee devel/git-lfs devel/gnu-efi devel/hub devel/libe devel/py-fabric3 devel/py-fabric3 dns/dhisd dns/dnscrypt-proxy2 dns/go-geodns emulators/hatari irc/weechat-otr lang/coffeescript net-mgmt/cacti88 net-mgmt/cacti88-spine net-p2p/libbt net/py-iplib net/py-iplib net/py-libfte net/py-sbws security/obfs4proxy-tor security/onionscan security/openvpn-admin security/py-fteproxy security/py-yubikey-manager security/super sysutils/intel-pcm-devel sysutils/openipmi sysutils/shim sysutils/xbatt textproc/multimarkdown textproc/regex2dfa www/onionshare Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D18434
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Florent Thoumie <flz@xbsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libbt
|
|
DISTVERSION= 1.06
|
|
CATEGORIES= net-p2p devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= egypcio@FreeBSD.org
|
|
COMMENT= C library implementing the core BitTorrent protocol
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libuuid.so:misc/e2fsprogs-libuuid
|
|
|
|
USES= gmake localbase ssl
|
|
GNU_CONFIGURE= yes
|
|
|
|
DOCS= docs/protocol.txt docs/protocol-ext.txt \
|
|
CHANGELOG CREDITS README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|-lssl|-lcrypto|' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${STAGEDIR}${PREFIX}/lib
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/libbt
|
|
cd ${WRKSRC}/src && ${INSTALL_PROGRAM} btcheck btget btlist ${STAGEDIR}${PREFIX}/bin
|
|
cd ${WRKSRC}/include && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/libbt
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|