Portfile

# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $

PortSystem 1.0
name cvsup
version 16.1h
revision 1
categories net devel
maintainers yeled@macports.org
description General network file distribution system optimized for CVS
platforms darwin
#depends_build bin:cm3:cm3 path:${prefix}/lib/libz.a:zlib
depends_lib bin:cm3:cm3
set cvsup-srcs "/pub/FreeBSD/development/CVSup/sources/"
homepage http://www.cvsup.org/
master_sites freebsd
distname cvsup-snap-${version}
checksums sha1 976439eb09c9e929d3bb2837b5e4db14719393b2

# Mark destroot.target as .PHONY because HFS+ case insensitivity
# screws us over yet again.
patchfiles patch-Makefile

use_configure no
post-patch "reinplace s|/usr/local/lib|${prefix}/lib|g \
${worksrcpath}/suplib/src/m3makefile"

# Disable static building until cm3 is fixed
#build.args PREFIX=${prefix} M3=cm3 M3FLAGS=-DNOGUI\\ -DSTATIC
build.args PREFIX=${prefix} M3=cm3 M3FLAGS=-DNOGUI

# Add ${prefix}/cm3/bin to our path
build.env PATH=$env(PATH):${prefix}/cm3/bin
destroot.env ${build.env}
destroot.args PREFIX=${destroot}/${prefix}/ M3=cm3 \
MANDIR=${destroot}/${prefix}/share/man

livecheck.check regex
livecheck.regex changes in development snapshot (\[0-9\.\]+\[a-z\]*)
livecheck.url ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/sources/ChangeLog

files