Ticket #32150: Portfile.2

File Portfile.2, 1.3 KB (added by vishketan@…, 13 years ago)

Flim 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-flim
6version         1.14
7categories      www
8maintainers     vishketan
9platforms       darwin
10supported_archs noarch
11
12description     FLIM is a library to provide basic features about message \
13    representation or encoding.
14long_description        \
15    FLIM is a library to provide basic features about message \
16    representation or encoding.
17   
18homepage   http://kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/FLIM/index.html.ja.iso-2022-jp
19master_sites  ${homepage}
20
21fetch.type          git
22git.url             https://github.com/wanderlust/flim.git
23
24depends_lib     port:emacs \
25    port:emacs-apel
26
27build.cmd make EMACS=${prefix}/bin/emacs PREFIX=${destroot}${prefix} LISPDIR=${prefix}/share/emacs/site-lisp
28
29variant emacs_app description "If your Emacs is emacs-app" {
30        depends_lib-append      port:emacs-app
31        depends_lib-delete      port:emacs
32    build.cmd make EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs PREFIX=${destroot}${prefix} LISPDIR=${prefix}/share/emacs/site-lisp
33}
34
35build.target 
36
37use_configure no
38
39destroot {
40    xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/flim
41    eval xinstall -m 640 [glob ${worksrcpath}/*.el*] \
42        ${destroot}${prefix}/share/emacs/site-lisp/flim
43}