mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
9d4e763ba0
With minor cleanups to make things simpler. With hat: portmgr Sponsored by: Absolight
39 lines
965 B
Makefile
39 lines
965 B
Makefile
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bittorrent-libutp
|
|
PORTVERSION= 0.20130514
|
|
PORTREVISION= 1
|
|
CATEGORIES= net devel
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= The uTorrent Transport Protocol library and sample utilities
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ${PORTNAME:C/-.*//}
|
|
GH_PROJECT= ${PORTNAME:C/.*-//}
|
|
GH_TAGNAME= 7c4f19a
|
|
|
|
USES= dos2unix uidfix
|
|
MAKEFILE= ${FILESDIR}/BSDmakefile
|
|
USE_LDCONFIG= yes
|
|
|
|
pre-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/libutp
|
|
|
|
post-build:
|
|
${MAKE} -f ${FILESDIR}/BSDmakefile.utils -C ${WRKSRC}/utp_file PROG_CXX=utp_send
|
|
${MAKE} -f ${FILESDIR}/BSDmakefile.utils -C ${WRKSRC}/utp_file PROG_CXX=utp_recv
|
|
${MAKE} -f ${FILESDIR}/BSDmakefile.utils -C ${WRKSRC}/utp_test PROG_CXX=utp_test
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} \
|
|
${WRKSRC}/utp_file/utp_send \
|
|
${WRKSRC}/utp_file/utp_recv \
|
|
${WRKSRC}/utp_test/utp_test \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|