Ticket #32150: Portfile.4

File Portfile.4, 2.6 KB (added by vishketan@…, 13 years ago)

Wanderlust 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-wl-devel
6version         devel
7categories      www
8maintainers     vishketan
9platforms       darwin
10supported_archs noarch
11
12description     Wanderlust -- Yet Another Message Interface on Emacsen
13long_description        \
14    Wanderlust is a mail/news management system with IMAP4rev1 support for Emacs.\
15    \
16    Features: \
17    \
18    * Implementation in elisp only.\
19    * Support of IMAP4rev1, NNTP, POP(POP3/APOP), MH and Maildir.\
20    * Integrated access to messages based on Folder Specifications like Mew.\
21    * Key bindings and mark processing like Mew.\
22    * Management of threads and unread messages.\
23    * Folder mode to select and edit subscribed folders.\
24    * Message cache, Disconnected Operation.\
25    * MH-like Fcc (Fcc: %Backup is possible).\
26    * Full support of MIME (by SEMI).\
27    * Draft editing of mail and news as a same interface.\
28    * Icon based interface for the list of Folder (XEmacs and Emacs 21).\
29    * Skip fetching of a large message part of MIME(IMAP4).\
30    * Server side searching (IMAP4), internationalized searching is available.\
31    * Virtual folder.\
32    * Compressed folder.\
33    * Automatic expiration of old messages.\
34    * Automatic refiling.\
35    * Draft templates.\
36   
37homepage    http://www.gohome.org/wl/
38master_sites  ${homepage}
39
40fetch.type          git
41git.url             git://github.com/wanderlust/wanderlust.git
42
43depends_lib     port:emacs \
44    port:emacs-apel\
45    port:emacs-flim\
46    port:emacs-semi
47
48build.cmd make FLAGS="-batch -q" EMACS=${prefix}/bin/emacs PREFIX=${destroot}${prefix} LISPDIR=${prefix}/share/emacs/site-lisp INFODIR=${destroot}${prefix}/share/info
49
50variant emacs_app description "If your Emacs is emacs-app" {
51        depends_lib-append      port:emacs-app
52        depends_lib-delete      port:emacs
53    build.cmd make FLAGS="-batch -q" EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs PREFIX=${destdir}${prefix} LISPDIR=${destroot}${prefix}/share/emacs/site-lisp INFODIR=${destroot}${prefix}/share/info
54}
55
56build.target 
57build.target-append info
58destroot.target install
59destroot.target-append install-info
60
61post-activate   { 
62    system "${prefix}/bin/install-info ${prefix}/share/info/wl.info ${prefix}/share/info/dir"
63    system "${prefix}/bin/install-info ${prefix}/share/info/wl-ja.info ${prefix}/share/info/dir"
64}
65
66use_configure no
67
68pre-deactivate  { 
69    system "${prefix}/bin/install-info --delete ${prefix}/share/info/wl.info ${prefix}/share/info/dir"
70    system "${prefix}/bin/install-info --delete ${prefix}/share/info/wl-ja.info ${prefix}/share/info/dir"
71}