diff options
Diffstat (limited to 'net/brutecopy/Makefile')
-rw-r--r-- | net/brutecopy/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/brutecopy/Makefile b/net/brutecopy/Makefile new file mode 100644 index 000000000000..16a29f946599 --- /dev/null +++ b/net/brutecopy/Makefile @@ -0,0 +1,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> |