Changeset 33979 for trunk/dports/news


Ignore:
Timestamp:
Feb 9, 2008, 2:31:35 PM (12 years ago)
Author:
gui_dos@…
Message:

xpn: updated to 1.0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/news/xpn/Portfile

    r32936 r33979  
    33PortSystem 1.0
    44
    5 name            xpn
    6 version         0.7.0
    7 revision        1
    8 categories      news
    9 description     Graphical newsreader written in PyGtk.
    10 long_description        \
    11                 XPN (X Python Newsreader) is a news client written in \
    12                 Python and based on the GTK+ library. It offers a good \
    13                 MIME support, scoring system, filtered views, random \
    14                 tag-lines, external editor support, one-key navigation, \
    15                 ROT13, Face and X-Face headers decoding, spoiler char \
    16                 and many more.
    17 maintainers     guido.soranzio@gmail.com
    18 homepage        http://xpn.altervista.org/
    19 master_sites    ${homepage}codice
    20 checksums       md5 3df054fc7c25f2e579407c1f148b9a27
     5name            xpn
     6version         1.0.0
     7categories      news
     8description     Graphical newsreader written in PyGtk.
     9long_description XPN (X Python Newsreader) is a news client written in \
     10                Python and based on the GTK+ library. It offers a good \
     11                MIME support, scoring system, filtered views, random \
     12                tag-lines, external editor support, one-key navigation, \
     13                ROT13, Face and X-Face headers decoding, spoiler char \
     14                and many more.
     15maintainers     nomaintainer
     16platforms       darwin
     17homepage        http://xpn.altervista.org/
     18master_sites    ${homepage}codice
     19checksums       md5 f9c5c9fb04c46efb9a94f803650dd740
    2120depends_lib     port:py25-gtk
    22 use_configure   no
     21use_configure   no
    2322universal_variant no
    24 build           {}
    25 destroot        {
    26         file copy ${worksrcpath} ${destroot}${prefix}/share
    27         file copy ${filespath}/xpn.sh ${destroot}${prefix}/bin/xpn
    28         system "chmod +x ${destroot}${prefix}/share/xpn-${version}"
    29         system "chmod -R og+rw ${destroot}${prefix}/share/xpn-${version}"
    30         system "chmod +x ${destroot}${prefix}/bin/xpn"
     23build           {}
     24destroot {
     25    file copy ${worksrcpath} ${destroot}${prefix}/share
     26    file copy ${filespath}/xpn.sh ${destroot}${prefix}/bin/xpn
     27    system "chmod +x ${destroot}${prefix}/share/xpn-${version}"
     28    system "chmod -R og+rw ${destroot}${prefix}/share/xpn-${version}"
     29    system "chmod +x ${destroot}${prefix}/bin/xpn"
    3130}
    3231
    3332post-destroot {
    34         reinplace "s|__PREFIX__|${prefix}|g" \
    35                 ${destroot}${prefix}/bin/xpn
    36         reinplace "s|__VERSION__|${version}|g" \
    37                 ${destroot}${prefix}/bin/xpn
     33    reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/xpn
     34    reinplace "s|__VERSION__|${version}|g" ${destroot}${prefix}/bin/xpn
    3835}
    3936
    40 post-activate   {
    41         ui_msg "------------------------------------------------------"
    42         ui_msg "XPN has been installed in ${prefix}/share/xpn-${version}"
    43         ui_msg "and can be launched by calling the script 'xpn'"
    44         ui_msg "that has been created in ${prefix}/bin"
    45         ui_msg "------------------------------------------------------"
     37post-activate {
     38    ui_msg "------------------------------------------------------"
     39    ui_msg "XPN has been installed in ${prefix}/share/xpn-${version}"
     40    ui_msg "and can be launched by calling the script 'xpn'"
     41    ui_msg "that has been created in ${prefix}/bin"
     42    ui_msg "------------------------------------------------------"
    4643}
Note: See TracChangeset for help on using the changeset viewer.