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

PortSystem      1.0
PortGroup       github 1.0

github.setup    magit magit 1.2.2
categories      devel editors
license         GPL-3+
maintainers     gmail.com:xuchunyang56 openmaintainer
platforms       darwin
supported_archs noarch

description     Magit is an interface to Git for Emacs
long_description \
    Magit is an interface to Git for Emacs. Unlike Emacs's native \
    version control support, Magit can take advantage of Git's \
    native features without breaking compatibility with other \
    systems. \
    \
    With Magit, you can inspect and modify your Git repositories with \
    Emacs. You can review and commit the changes you have made to the \
    tracked files, for example, and you can browse the history of past \
    changes. There is support for cherry picking, reverting, merging, \
    rebasing, and other common Git operations.

homepage        http://magit.github.io/
github.tarball_from releases
checksums       rmd160  2ebf49d60d8894cb36c0206b758e3dcfc71da09d \
                sha256  8ed300887909d0990cf17b1f4a3b902944db2471ca93dbf0202724b3f44e5d0c

depends_lib     port:emacs
depends_build   port:texinfo
depends_run     bin:git:git

use_configure   no

destroot.args   PREFIX=${prefix} SYSCONFDIR=${prefix}/etc