Changeset 31257


Ignore:
Timestamp:
Nov 19, 2007, 5:24:03 AM (12 years ago)
Author:
takanori@…
Message:

gnushogi: Linted.

Location:
trunk/dports/games/gnushogi
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/gnushogi/Portfile

    r19815 r31257  
    11# $Id$
    22
    3 PortSystem              1.0
    4 name                    gnushogi
    5 version                 1.3.2
    6 categories              games   
    7 maintainers             takanori@macports.org
    8 description             GNU version of Shogi, a game of Japanese chess.
    9 long_description        ${description}
    10 platforms               darwin
    11 homepage                http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html
    12 master_sites            http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/
    13 checksums               md5 a18eae93afc89bfd368ed5f6768be791 \
    14                         sha1 6135ec3eb84917d0dc2cab9ac982818ed41aad87 \
    15                         rmd160 b177d2843f42490d33665f3a167068c64bc64214
    16 patchfiles              patch-gnushogi.h
    17 depends_lib             lib:libncurses:ncurses \
    18                         lib:libX11:XFree86
     3PortSystem      1.0
    194
    20 configure.args  --with-x --with-xshogi
     5name            gnushogi
     6version         1.3.2
     7categories      games
     8maintainers     takanori
     9description     GNU version of Shogi, a game of Japanese chess.
     10long_description \
     11                ${description}
     12platforms       darwin
     13homepage        http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html
     14master_sites    http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/
     15patchfiles      patch-gnushogi_gnushogi.h.diff
     16checksums       md5 a18eae93afc89bfd368ed5f6768be791 \
     17                sha1 6135ec3eb84917d0dc2cab9ac982818ed41aad87 \
     18                rmd160 b177d2843f42490d33665f3a167068c64bc64214
    2119
    22 destroot        {
    23                 xinstall -m 755 -d ${destroot}${prefix}/lib/gnushogi
     20depends_lib     lib:libncurses:ncurses \
     21                lib:libX11:XFree86
    2422
    25                 xinstall -m 755 -s ${worksrcpath}/gnushogi/gnushogi ${destroot}${prefix}/bin
    26                 xinstall -m 644 ${worksrcpath}/gnushogi/gnushogi.bbk ${destroot}${prefix}/lib/gnushogi
    27                 xinstall -m 644 ${worksrcpath}/doc/gnushogi.6 ${destroot}${prefix}/share/man/man6
    28                 eval xinstall -m 644 [glob ${worksrcpath}/doc/gnushogi.info*] ${destroot}${prefix}/share/info
     23configure.args  --with-x --with-xshogi
    2924
    30                 xinstall -m 755 -s ${worksrcpath}/xshogi/xshogi ${destroot}${prefix}/bin
    31                 xinstall -m 644 ${worksrcpath}/doc/xshogi.6 ${destroot}${prefix}/share/man/man6
     25destroot {
     26    xinstall -m 755 -d ${destroot}${prefix}/lib/gnushogi
     27
     28    xinstall -m 755 -s ${worksrcpath}/gnushogi/gnushogi ${destroot}${prefix}/bin
     29    xinstall -m 644 ${worksrcpath}/gnushogi/gnushogi.bbk ${destroot}${prefix}/lib/gnushogi
     30    xinstall -m 644 ${worksrcpath}/doc/gnushogi.6 ${destroot}${prefix}/share/man/man6
     31    eval xinstall -m 644 [glob ${worksrcpath}/doc/gnushogi.info*] ${destroot}${prefix}/share/info
     32
     33    xinstall -m 755 -s ${worksrcpath}/xshogi/xshogi ${destroot}${prefix}/bin
     34    xinstall -m 644 ${worksrcpath}/doc/xshogi.6 ${destroot}${prefix}/share/man/man6
    3235}
    3336
Note: See TracChangeset for help on using the changeset viewer.