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

PORTNAME=	unworkable
PORTVERSION=	0.53
CATEGORIES=	net-p2p
MASTER_SITES=	http://p2presearch.com/unworkable/dist/\
		http://unworkable.googlecode.com/files/

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>