# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 78224 2011-04-29 01:22:05Z ryandesign@macports.org $

PortSystem              1.0

name                    pure-mode.el
# Keep the versions of pure, pure-mode.el, and pure-docs in sync.
version                 0.47
categories              lang editors
platforms               darwin
maintainers             ryandesign
license                 GPL-3+
supported_archs         noarch

description             Emacs mode for editing Pure files

long_description        ${name} is an ${description}.

homepage                http://pure-lang.googlecode.com/
master_sites            ${homepage}files/
distname                pure-${version}
dist_subdir             pure

checksums               sha1    f47915ffa9fd0c7dee40f364a5751bfd4f945bf1 \
                        rmd160  58267f5e876775f9a1af5e4990c51d9061e60d70

depends_lib             port:emacs

build {}

destroot.target         install-el install-elc

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 ${worksrcpath}/COPYING ${docdir}
}

livecheck.type          regex
livecheck.url           http://code.google.com/p/pure-lang/downloads/list
livecheck.regex         pure-(\[0-9.\]+\[a-z\]*)\\.tar
