mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1454562dcc
overloaded and otherwise disgusting lines. It should work well even on lines on which TCP completely chokes. The transmission is performed at user-preprogrammed fixed data rate with no flow control, only with lost-packet retransmits. Brutalcopy always transfers the file without error, even on erroneous lines. It uses a CRC-32 checksum algorithm together with the checksum in the UDP packets. PR: ports/76239 Submitted by: Radim Kolar <hsn@netmag.cz>
39 lines
894 B
Makefile
39 lines
894 B
Makefile
# New ports collection makefile for: brutecopy
|
|
# Date created: 11 Jan 2005
|
|
# Whom: x
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= brutecopy
|
|
PORTVERSION= 20011229
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/bcp/
|
|
DISTNAME= bcp-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Transferring files over Internet via UDP
|
|
|
|
PLIST_FILES= bin/bcpc bin/bcps
|
|
MAN1= bcp.1
|
|
MANCOMPRESSED= yes
|
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
CFLAGS+= -O3 -Wall -fomit-frame-pointer -falign-functions=0
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bcps ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bcpc ${PREFIX}/bin
|
|
${MKDIR} ${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/bcp.1.gz ${MAN1PREFIX}/man/man1
|
|
|
|
pre-everything::
|
|
.ifndef WITH_OPTIMIZED_CFLAGS
|
|
@${ECHO} "Define WITH_OPTIMIZED_CFLAGS for compiling with -O3"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|