# $Id: Portfile 69520 2010-07-08 20:19:52Z jmr@macports.org $

PortSystem 1.0

name			csup
version			20060318
revision        1
categories		net devel
platforms		darwin
maintainers		nomaintainer
description		Csup is a rewrite of CVSup in C.
long_description	\
	Csup is a rewrite of CVSup in C. \
	CVSup(R) is a software for distributing and updating collections of files \
	accross a network. It can efficiently and accurately mirror all types of \
	files, including sources, binaries, hard links, symbolic links, and even \
	device nodes. In addition to being a great general-purpose mirroring tool, \
	CVSup includes special features and optimizations specifically tailored to \
	CVS repositories. It is being used as the preferred way to update sources \
	within the FreeBSD, NetBSD and OpenBSD projects and more.

homepage		http://mu.org/~mux/csup.html
master_sites	http://mu.org/~mux/
distfiles		csup-snap-${version}.tgz
checksums		sha1 209c53137245e3e5e2cea98151115043d993ce35

depends_lib		port:zlib port:openssl

worksrcdir		csup

use_configure	no

build.args		-f GNUmakefile PREFIX=${prefix} \
				CC=${configure.cc}
destroot.args	-f GNUmakefile GROUP=`id -g` OWNER=`id -u`
destroot.destdir	PREFIX=${destroot}${prefix}

platform darwin 10 {
	build.env-append CFLAGS="${configure.cc_archflags}"
}

