aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/unworkable/Makefile
blob: dbfe77107fc49ce8760447aba6cac6ee1416d9b4 (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
# New ports collection makefile for:    unworkable
# Date created:             06 Oct 2008
# Whom:                 Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   unworkable
PORTVERSION=    0.52
CATEGORIES= net-p2p
MASTER_SITES=   http://p2presearch.com/unworkable/dist/

MAINTAINER= wenheping@gmail.com
COMMENT=    A Free BitTorrent Implementation

LIB_DEPENDS=    event:${PORTSDIR}/devel/libevent

USE_SCONS=  yes
USE_OPENSSL=    yes
SCONS_BUILDENV= ${SCONS_ENV}
WRKSRC=     ${WRKDIR}/${PORTNAME}
PLIST_FILES=    bin/unworkable

MAN1=   unworkable.1

post-extract:
    ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
        ${WRKSRC}/SConstruct

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${MANPREFIX}/man/man1/

.include <bsd.port.mk>