# $Id: Portfile,v 1.3 2004/06/16 18:19:57 olegb Exp $
PortSystem          1.0
name                onlisp
version             0.0.1
revision            2
categories          lang
maintainers         kogule@opendarwin.org
description         Lytha Ayth\'s texinfo version of Paul Graham\'s book On Lisp.
homepage            http://t2100cdt.kippona.net/linux/lisp/
master_sites        ${homepage}
distname            onlisp.texi
checksums           md5 220a3d8df850d03478686c36ead42db6 
pre-extract         { system "mkdir ${workpath}/${distname}" }
extract.suffix        .gz
extract.post_args   > ${distname}/${distname}
use_configure       no
build.cmd           { makeinfo }
build.target        ${distname}
destroot.cmd        {}
destroot.target     {}
post-destroot        { system "\ cd ${workpath}/${distname} && \
                        for i in onlisp.info onlisp.info-\[0-9\]*; do \
                            gzip -c \$i > ${destroot}${prefix}/share/info/\$i.gz; \
                        done" }

