# -*- 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 67241 2010-05-03 10:18:04Z raimue@macports.org $

PortSystem 1.0

name            epiphany-extensions
version         2.28.1
set branch      [join [lrange [split ${version} .] 0 1] .]
description     Extensions for epiphany, the GNOME web browser
long_description \
    A set of extensions for epiphany, the GNOME web browser
maintainers     nomaintainer
categories      gnome www
platforms       darwin
homepage        http://projects.gnome.org/epiphany/extensions
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       md5     565d32a8b94fd023f11a82dcef2bf634 \
                sha1    9bd08585b3e0937e40f77019797f7ec2a3dca150 \
                rmd160  6f4f1bae74918211f820828a69b6c43a8d00dccf

depends_lib     port:epiphany

configure.args  --with-distributor-name=MacPorts \
                --enable-extensions=all \
                --enable-opensp=no

configure.python ${prefix}/bin/python2.5

variant opensp description {Use OpenSP for SGML validation} {
    depends_lib-append port:opensp
    configure.args-replace s/(--enable-opensp=)no/\1yes/
}
