aboutsummaryrefslogtreecommitdiffstats
path: root/net/libutp/Makefile
blob: daefbf94dd894134fb9092001d262fd359a2ad87 (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
# Created by: 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
NO_STAGE=   yes
# prevented by the -A flag:
FETCH_ARGS= -Fpr

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

.include <bsd.port.mk>