aboutsummaryrefslogtreecommitdiff
path: root/net/libutp/Makefile
blob: 7e6feafa5cc5b388eae5155d1b9b8ff3a0fc6e52 (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
# New ports collection makefile for: libutp
# Date created: July 26, 2012
# Whom:		Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#

PORTNAME=	bittorrent-libutp
PORTVERSION=	0.20120526
DISTVERSION=	d4685a3
CATEGORIES=	net devel
MASTER_SITES=	https://github.com/bittorrent/libutp/tarball/${DISTVERSION}/

MAINTAINER=	mi@aldan.algebra.com
COMMENT=	The uTorrent Transport Protocol library

LICENSE=	MIT

USE_DOS2UNIX=	yes
MAKEFILE=	${FILESDIR}/BSDmakefile
USE_LDCONFIG=	yes
# GitHub will issue a 302 redirect, no way around that, so we
# have to allow fetch(1) to follow the redirect, which is normally
# prevented by the -A flag:
FETCH_ARGS=	-Fpr

pre-su-install:
	${MKDIR} ${PREFIX}/include/libutp

.include <bsd.port.mk>