Changeset 34208 for trunk/dports/games


Ignore:
Timestamp:
Feb 17, 2008, 5:40:32 PM (11 years ago)
Author:
simon@…
Message:

games/glob2: Updated to version 0.9.1. Added me as maintainer.

Location:
trunk/dports/games/glob2
Files:
3 added
1 edited

Legend:

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

    r34205 r34208  
    44
    55name                glob2
    6 version             0.8.23
     6version             0.9.1
    77categories          games
    88platforms           darwin
    9 maintainers         nomaintainer
     9maintainers         simon
    1010description         Globulation 2 - a free and innovative strategy game
    1111long_description    Globulation 2 is an innovative high quality Real-Time \
     
    2323homepage            http://globulation2.org/
    2424master_sites        http://dl.sv.nongnu.org/releases/glob2/${version}/
    25 checksums           md5 d8807da21fc32db1727dd62b8d5c786a \
    26                     sha1 910a6a4af7ff21e768aa525cda61cbd7ae675a7b
     25checksums           md5 507da29c310f199f9b1a9a5f335b7a7a \
     26                    sha1 edfc49f3b06933783518afeeb670c5119694267a \
     27                    rmd160 1b1ba987c696a857b74f33e8ff9dbbddc71bf9ec
    2728
    2829depends_lib         port:boost \
     
    4142                    port:zlib
    4243
    43 post-configure {
    44     reinplace "s|\${datarootdir}|${prefix}/share|" ${worksrcpath}/config.h
     44patchfiles          patch-SConstruct.diff \
     45                    patch-libgag_src_FileManager.cpp.diff
     46
     47post-patch {
     48    reinplace "s|__PREFIX__|${prefix}|g" \
     49        ${worksrcpath}/libgag/src/FileManager.cpp
    4550}
     51
     52use_configure       no
     53
     54build.cmd           scons
     55build.target        {}
     56
     57destroot {
     58    # Make sure the files are installed in destroot. As I know no way to
     59    # specify a DESTDIR to scons the patch for "FileManager.cpp" is necessary
     60    # so the data files are found after the installation.
     61    system "cd ${worksrcpath} && scons install \
     62        BINDIR=\"${destroot}${prefix}/bin\" \
     63        INSTALLDIR=\"${destroot}${prefix}/share\""
     64}
Note: See TracChangeset for help on using the changeset viewer.