# $Id: Portfile,v 1.3 2005/10/19 08:10:13 blb Exp $

PortSystem		1.0
name			nslint
version			2.1a3
categories		net
maintainers		blb@opendarwin.org
description		Lint program for dns files

long_description	${description}

platforms		darwin sunos

master_sites	ftp://ftp.ee.lbl.gov/
checksums		md5 87f78dd8680a4abbc480d814172a468e

# Many files are read-only...
post-extract {
	system "chmod -R u+w ${worksrcpath}/"
}

patchfiles		patch-Makefile.in

variant darwin {
	pre-configure {
		file copy -force /usr/share/libtool/config.guess ${worksrcpath}
		file copy -force /usr/share/libtool/config.sub ${worksrcpath}
	}
}

configure.args	--mandir=${prefix}/share/man

build.target	

destroot.target	install install-man

