Changeset 78600 for trunk/dports/editors


Ignore:
Timestamp:
May 13, 2011, 8:18:01 PM (9 years ago)
Author:
saispo@…
Message:

fix conflicts with emacs ports and change binary name and man name
remove glib2 depends
fix building errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/emacs-snapshot/Portfile

    r78566 r78600  
    66name            emacs-snapshot
    77version         20110512
    8 revision        1
     8revision        2
    99
    1010categories      editors
    11 maintainers     dports openmaintainer
     11maintainers     dports saispo openmaintainer
    1212description     The GNU Emacs text editor
    1313long_description \
     
    2727                    sha1    4dbdabbd97c309b3f821573261ca260ef2d01ef1 \
    2828                    rmd160  3b11f98bc3b66b34e10215079658a8090c585929
     29
     30set major       24.0.50
     31set suffix      ".${name}"
    2932
    3033pre-configure {
     
    4851                port:dbus \
    4952                port:texinfo
    50 
    5153post-destroot {
    5254    xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim
     55    # avoid conflict with ctags installed by the ctags port
    5356    delete ${destroot}${prefix}/bin/ctags
    54     delete ${destroot}${prefix}/share/man/man1/ctags.1
     57
     58    # remove non-version-specific site-lisp dir
     59    delete ${destroot}${prefix}/share/emacs/site-lisp
     60    delete ${destroot}${prefix}/var/games/emacs/snake-scores
     61    delete ${destroot}${prefix}/var/games/emacs/tetris-scores
     62
     63    # give the emacs binary (and its manpage) a more sane name
     64    move ${destroot}${prefix}/bin/emacs \
     65         ${destroot}${prefix}/bin/${name}
     66    move ${destroot}${prefix}/bin/emacsclient \
     67         ${destroot}${prefix}/bin/emacsclient-snapshot
     68    move ${destroot}${prefix}/share/man/man1/emacs.1.gz \
     69         ${destroot}${prefix}/share/man/man1/${name}.1.gz
    5570}
    5671
     
    98113    configure.args-append   --with-rsvg
    99114    depends_lib-append      port:gtk2 \
    100                             port:glib2 \
    101115                            port:gconf \
    102116                            port:librsvg
Note: See TracChangeset for help on using the changeset viewer.