# $Id$

PortSystem 1.0

name			csup
version			20060318
revision        2
categories		net devel
license			BSD
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 path:lib/libssl.dylib:openssl

worksrcdir		csup

use_configure	no

build.args		-f GNUmakefile PREFIX=${prefix} \
				CC=${configure.cc}
build.env		CFLAGS="${configure.cc_archflags}"

destroot.args	-f GNUmakefile GROUP=`id -g` OWNER=`id -u`
destroot.destdir	PREFIX=${destroot}${prefix}