# $Id: Portfile 61888 2009-12-23 02:35:55Z jmr@macports.org $

PortSystem 1.0

name			netclasses-framework
version			1.05
categories		net
platforms		darwin
maintainers     bfulgham
description		Asynchronous networking library
long_description	Netclasses is an asynchronous networking library that \
				works natively on OS X, and any of the various \
				platforms supported by GNUstep.  It greatly \
				simplifies the task of putting together \
				networking applications.

homepage		http://netclasses.sf.net/
master_sites		sourceforge
distfiles       netclasses-${version}${extract.suffix}
checksums		md5 4bb8b3c680b6c7f59f59db552c306bc8
use_bzip2		yes

depends_build		port:gnustep-make-cocoa

build.cmd		. ${prefix}/GNUstep/Cocoa/System/Library/Makefiles/GNUstep.sh && ${build.cmd}

platform darwin 8	{ patchfiles-append patch-Source-GNUmakefile.in }

destroot		{
		xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks/
		file copy ${worksrcpath}/Source/netclasses.framework \
			${destroot}${prefix}/Library/Frameworks/
}

