freebsd-ports/net-p2p/unworkable/Makefile
Baptiste Daroussin b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00

30 lines
671 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= unworkable
PORTVERSION= 0.53
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= GOOGLE_CODE
MAINTAINER= wenheping@gmail.com
COMMENT= Free BitTorrent Implementation
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
USES= scons
USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/unworkable man/man1/unworkable.1.gz
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/SConstruct
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>