source: trunk/dports/lang/python-mode.el/Portfile

Last change on this file was 87002, checked in by dports@…, 6 years ago

python-mode.el: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 87002 2011-11-08 01:32:43Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            python-mode.el
7set my_name     [lindex [split ${name} .] 0]
8version         1.0
9categories      lang python editors
10license         Permissive
11platforms       darwin
12maintainers     nomaintainer
13description     python-mode is an X/Emacs major mode for editing Python source code
14
15long_description \
16    Python-mode makes a number of editing and debugging features available to Python \
17    programmers who use GNU Emacs or XEmacs. Included in its basic feature set are \
18    syntax coloring, indent/dedent/electric newline support, movement across major \
19    functional sections of code, code execution in inferior Python processes, \
20    class/function marking, integration with pdb, the Python debugger.
21
22homepage        https://launchpad.net/python-mode/
23master_sites    sourceforge:${my_name}
24
25checksums       md5 57fde95d350e010b5a00d98b8ce4a066 \
26                sha1 974a7714000238bd0423c5598d781c9987929b83 \
27                rmd160 6f2abe80b7eae9123da10a3c0f447f7792caedb6
28
29distname        ${my_name}-${version}
30
31depends_build   port:emacs
32depends_run     ${depends_build}
33
34use_configure   no
35
36build {
37    system "cd ${worksrcpath} && \
38        emacs --batch --eval \
39            '(progn (setq load-path (cons \".\" load-path)) \
40                (byte-compile-file \"doctest-mode.el\") \
41                (byte-compile-file \"pycomplete.el\") \
42                (byte-compile-file \"python-mode.el\"))'"
43}
44
45destroot {
46    xinstall -d ${destroot}${prefix}/share/emacs/site-lisp
47    eval xinstall -m 0644 [glob -directory ${worksrcpath} *.el *.elc] \
48        ${destroot}${prefix}/share/emacs/site-lisp
49}
50
51universal_variant   no
52
53livecheck.url   ${homepage}+download
54livecheck.regex {trunk/(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.