aboutsummaryrefslogtreecommitdiffstats
path: root/net/brutecopy/Makefile
blob: 16a29f94659927c0a4a72dc2dacfe97adc3e7e25 (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
28
29
30
31
32
33
34
35
36
37
38
# 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>