# -*- 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

PortSystem 1.0
PortGroup       makefile 1.0

name            9e
version         1.0
revision        1
categories      archivers
platforms       darwin
maintainers     {toby @tobypeterson}
description     Plan 9 unarchiver

long_description \
    9e is a program to explode Third Edition Plan 9 \
    and at least some Inferno archives.

homepage        http://web.archive.org/web/20080929004038/http://www.eecs.harvard.edu/~wkj/Software/9e/
master_sites    macports_distfiles
distname        ${name}

checksums       rmd160  bbcdde8d9b4989a12edd935c6156d80aaf5f8f5e \
                sha256  5e9c1b1900f1717adfd932047f224c3dee97bcdb2413fd7ed06f9e17d163e461 \
                size    2019

patchfiles      patch-9e.c patch-Makefile

installs_libs   no

makefile.override-append \
                CFLAGS

destroot {
    xinstall -m 775 ${worksrcpath}/9e ${destroot}${prefix}/bin
}

# This software has no version
livecheck.type  none
