| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net/udt/ |
Upload File : |
PORTNAME= udt
PORTVERSION= 4.11
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
DISTNAME= udt.sdk.${PORTVERSION}
MAINTAINER= mi@aldan.algebra.com
COMMENT= C++ library containing the UDT API implementation
WWW= http://udt.sourceforge.net/
PATCH_WRKSRC= ${WRKDIR}/udt${PORTVERSION:R}
WRKSRC= ${PATCH_WRKSRC}/src
MAKEFILE= ${FILESDIR}/BSDmakefile
EXTRACT_AFTER_ARGS= --exclude '*md5*' \
--exclude udt${PORTVERSION:R}/win
USE_LDCONFIG= yes
UDT_APPS= appclient appserver recvfile sendfile test
USES= uidfix
OPTIONS_DEFINE= DOCS
DOCS_VARS_OFF= EXTRACT_AFTER_ARGS+="--exclude udt${PORTVERSION:R}/doc"
post-build:
# Building sample applications:
.for a in ${UDT_APPS}
${CXX} ${CXXFLAGS} ${WRKSRC:H}/app/$a.cpp -o ${WRKSRC:H}/app/udt-$a \
-I${WRKSRC} -L${WRKSRC} -ludt -pthread
.endfor
post-install:
# Installing sample applications:
${INSTALL_PROGRAM} ${UDT_APPS:S|^|${WRKSRC:H}/app/udt-|} ${STAGEDIR}${PREFIX}/bin/
post-install-DOCS-on:
# Installing documentation tree into ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC:H}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>