# $Id: Portfile,v 1.7 2005/08/02 08:57:53 gwright Exp $

PortSystem 1.0
name		lisp-hyperspec
version		7.0
categories	lang
maintainers	gwright@opendarwin.org
platforms	darwin
description	The Common Lisp HyperSpec
long_description	\
		This is an HTML document derived from the ANSI Common \
		Lisp standard (X3.226-1994), with permission from ANSI \
		and NCITS (previously known as X3). \
		The Common Lisp HyperSpec was prepared by Kent Pitman at \
		Harlequin, who as Project Editor of X3J13 managed the \
		completion of the document which became the ANSI Common \
		Lisp Standard. \
		In hardcopy, the ANSI Common Lisp standard is nearly \
		1100 printed pages describing nearly a thousand functions \
		and variables in sufficient detail to accommodate hosting \
		of the language on a wide variety of hardware and operating \
		system platforms. \
		While the paper version remains the official standard, \
		we think that in practice you'll find the Common Lisp \
		HyperSpec much easier to navigate and use than its paper \
		alternative. \
		In addition to the Common Lisp standard itself, the Common \
		Lisp HyperSpec also incorporates interesting and useful \
		cross references to other materials of the Common Lisp \
		committee, J13 (formerly X3J13).

#user_notes	See the homepage for conditions on distribution. The \
#		terms cover (in part) maintaining the integrity of the \
#		document and exclude commercial redistribution. \
#								\
#		To view, point your browser to \
#			<darwinports installation dir>/share/doc/lisp/${name}-${version}/HyperSpec/Front/index.htm \
#								\
#		Usually, <darwinports installation dir> is /opt/local. \
#

homepage	http://www.lispworks.com/reference/HyperSpec/index.html
master_sites	ftp://ftp.lispworks.com/pub/software_tools/reference/
regsub -all	"\\." $version "-" distVersion
distname	HyperSpec-${distVersion}

checksums	md5 8df440c9f1614e2acfa5e9a360c8969a

# Do nothing for extract, configuration and build:

extract		{ }
configure	{ }
build		{ }

destroot	{ file mkdir ${destroot}/${prefix}/share/doc/lisp/${distname}
		  cd ${destroot}/${prefix}/share/doc/lisp/${distname}
		  system "${extract.cmd} ${extract.pre_args} ${distpath}/${distfile} ${extract.post_args}"
		  cd ${destroot}/${prefix}/share/doc
		  system "chown -R root.admin lisp"
		}
