aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/unworkable/Makefile
blob: d317f555f18f8b04b71915dac5c7882694234ad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   unworkable
PORTVERSION=    0.53
PORTREVISION=   1
CATEGORIES= net-p2p
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= ports@FreeBSD.org
COMMENT=    Free BitTorrent Implementation

LICENSE=    MIT

BROKEN=     Unfetchable (google code has gone away)

LIB_DEPENDS=    libevent.so: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>