# $Id: Portfile,v 1.3 2006/04/28 21:19:39 yves Exp $

PortSystem 1.0

name			netclasses
version			1.05
categories		net
platforms		darwin
maintainers		bfulgham@mac.com
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
checksums		md5 4bb8b3c680b6c7f59f59db552c306bc8
use_bzip2		yes

depends_build		port:gnustep-make-cocoa

configure.args		--prefix=${prefix}
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/
}

