Ticket #32150: Portfile.3

File Portfile.3, 1.4 KB (added by vishketan@…, 13 years ago)

Semi Portfile

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$
3
4PortSystem 1.0
5name            emacs-semi
6version         1.14
7categories      www
8maintainers     vishketan
9platforms       darwin
10supported_archs noarch
11
12description     SEMI is a library to provide MIME feature for GNU Emacs.
13long_description        \
14    SEMI is a library to provide MIME feature for GNU Emacs.  MIME is a \
15    proposed internet standard for including content and headers other \
16    than (ASCII) plain text in messages. \
17   
18homepage   http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/SEMI/index.html.ja.iso-2022-jp
19master_sites  ${homepage}
20
21fetch.type          git
22git.url             https://github.com/wanderlust/semi.git
23
24depends_lib     port:emacs \
25    port:emacs-apel\
26    port:emacs-flim
27
28build.cmd make EMACS=${prefix}/bin/emacs PREFIX=${destroot}${prefix} LISPDIR=${destroot}${prefix}/share/emacs/site-lisp
29
30variant emacs_app description "If your Emacs is emacs-app" {
31        depends_lib-append      port:emacs-app
32        depends_lib-delete      port:emacs
33    build.cmd make EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs PREFIX=${destroot}${prefix} LISPDIR=${prefix}/share/emacs/site-lisp
34}
35
36build.target 
37
38use_configure no
39
40destroot {
41    xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/semi
42    eval xinstall -m 640 [glob ${worksrcpath}/*.el*] \
43        ${destroot}${prefix}/share/emacs/site-lisp/semi
44}