freebsd-ports/net/libutp/Makefile

27 lines
668 B
Makefile

# 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>