source: trunk/dports/python/py-pymacs/Portfile

Last change on this file was 126572, checked in by larryv@…, 3 years ago

py{25,26}-pymacs: Replace with py27-pymacs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 126572 2014-10-12 04:14:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7PortGroup           elisp 1.0
8
9github.setup        pinard Pymacs 0.25 v
10name                py-pymacs
11platforms           darwin
12supported_archs     noarch
13license             GPL-2+
14maintainers         nomaintainer
15description         python/emacs integration
16long_description    Pymacs is a powerful tool which, once started from Emacs, \
17allows both-way communication between Emacs Lisp and Python. Pymacs aims Python \
18as an extension language for Emacs rather than the other way around, and this \
19asymmetry is reflected in some design choices. Within Emacs Lisp code, one may \
20load and use Python modules. Python functions may themselves use Emacs services, \
21and handle Emacs Lisp objects kept in Emacs Lisp space.
22
23homepage            http://pymacs.progiciels-bpi.ca/pymacs.html
24
25checksums           rmd160  29ec7709e7dc7a138651bcea85fcc521277c96f8 \
26                    sha256  51dc21b33316e6e244e78e5e88d8ae9a88afc0dcef34ba702ea9be589839bec2
27
28python.versions     27
29
30build.cmd           make
31build.target
32
33if {${name} ne ${subport}} {
34    depends_lib-append   path:${emacs_binary}:${emacs_binary_provider}
35    livecheck.type       none
36
37    post-destroot {
38        system -W ${worksrcpath} "${emacs_binary} -batch -eval '(byte-compile-file \"pymacs.el\")'"
39        xinstall -d ${destroot}${emacs_lispdir}
40        xinstall -W ${worksrcpath} pymacs.el pymacs.elc ${destroot}${emacs_lispdir}
41    }
42}
Note: See TracBrowser for help on using the repository browser.