#!/bin/bash


echo -n "PortSystem          1.0
PortGroup           python26 1.0

name                canto
version             "
echo $1
echo -n "categories          net
maintainers         jack@codezen.org
description         flexible ncurses Atom/RSS newsreader for the console
long_description    Canto is an Atom/RSS feed reader for the console that is meant to be quick, concise, and colorful. It provides a minimal, yet information packed interface with almost infinite customization and extensibility
homepage            http://codezen.org/canto
platforms           darwin
master_sites        http://codezen.org/static/

"
echo "checksums           md5 `md5sum $2 | cut -d \" \" -f 1` \\"
echo "                    sha1 `sha1sum $2 | cut -d \" \" -f 1`"

echo "
depends_lib         port:ncursesw \\"
echo "                    port:py26-feedparser \\"
echo "                    port:py26-chardet"
echo "

post-destroot {
ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/canto /opt/local/bin/canto
}"
