# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 65061 2010-03-20 17:58:18Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       archcheck 1.0

name            geany
version         0.18.1
license         GPL-2
maintainers     nox openmaintainer
categories      devel
platforms       darwin
description     A fast and lightweight GTK+ IDE

long_description \
    Geany is a small and lightweight integrated development \
    environment. It was developed to provide a small and fast \
    IDE, which has only a few dependencies from other packages. \
    Another goal was to be as independent as possible from a \
    special Desktop Environment like KDE or GNOME.

homepage        http://www.geany.org/
master_sites    http://download.geany.org/
use_bzip2       yes

checksums       md5     e8be4c0918a8b29ef43bf17fa080c11c \
                sha1    cb039ac4c6fe3738afb8d0aa9f4ddb024eebb084 \
                rmd160  56df2c2d41d4dce73d4ecc849e50b3ad4b3a85a8

patchfiles      patch-configure.in.diff

post-patch {
    reinplace "s|libvte\\.so|${prefix}/lib/libvte.dylib|g" \
        ${worksrcpath}/src/vte.c
}

depends_lib \
    port:gettext \
    port:gtk2 \
    port:vte

archcheck.files \
    lib/libgdk_pixbuf-2.0.dylib \
    lib/libintl.dylib \
    lib/libvte.dylib

use_autoconf    yes
