Changeset 28880


Ignore:
Timestamp:
Sep 10, 2007, 4:59:39 PM (13 years ago)
Author:
nox@…
Message:

My Ports: Whitespace changes (mainly tabs to spaces).

Location:
trunk/dports
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/AquaLess/Portfile

    r28219 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
    4 PortGroup               xcode 1.0
     3PortSystem      1.0
     4PortGroup       xcode 1.0
    55
    6 name                    AquaLess
    7 version                 1.5
    8 categories              aqua sysutils
    9 maintainers             nox
    10 description             Cocoa pager similar to less
     6name            AquaLess
     7version         1.5
     8categories      aqua sysutils
     9maintainers     nox
     10description     Cocoa pager similar to less
    1111
    1212long_description \
    13         AquaLess is a text pager for Mac OS X. It allows you to browse plain \
    14         text files and -- more importantly -- text output from Unix command \
    15         line tools. AquaLess is a Cocoa replacement for the less command, which \
    16         is constrained to the terminal window. AquaLess opens a separate window \
    17         for each text, so you can keep working in the terminal while you read.
     13    AquaLess is a text pager for Mac OS X. It allows you to browse plain \
     14    text files and -- more importantly -- text output from Unix command \
     15    line tools. AquaLess is a Cocoa replacement for the less command, which \
     16    is constrained to the terminal window. AquaLess opens a separate window \
     17    for each text, so you can keep working in the terminal while you read.
    1818
    19 homepage                http://aqualess.sourceforge.net/
    20 master_sites    sourceforge:aqualess
    21 distname                ${name}-${version}-src
     19homepage        http://aqualess.sourceforge.net/
     20master_sites    sourceforge:aqualess
     21distname        ${name}-${version}-src
    2222
    23 xcode.target                    ${name}
    24 xcode.destroot.settings SKIP_INSTALL=NO
     23xcode.target            ${name}
     24xcode.destroot.settings SKIP_INSTALL=NO
    2525
    26 checksums               md5 7e3d04993dc09c31f1daf09dbb5e2677 \
    27                                 sha1 754681d9bd3e85586d2e50a9697c2ca0dc3b4750 \
    28                                 rmd160 7a574fff89463fa57e0f1a0e49ad790be2e00b93
     26checksums       md5 7e3d04993dc09c31f1daf09dbb5e2677 \
     27                sha1 754681d9bd3e85586d2e50a9697c2ca0dc3b4750 \
     28                rmd160 7a574fff89463fa57e0f1a0e49ad790be2e00b93
    2929
    3030post-patch {
    31         reinplace -E "/@/s|/usr|${prefix}|" \
    32                 ${worksrcpath}/ToolInstaller.m
     31    reinplace -E "/@/s|/usr|${prefix}|" \
     32        ${worksrcpath}/ToolInstaller.m
    3333
    34         reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT)_ppc =/d" \
    35                 ${worksrcpath}/${name}.xcodeproj/project.pbxproj
     34    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT)_ppc =/d" \
     35        ${worksrcpath}/${name}.xcodeproj/project.pbxproj
    3636}
    3737
    3838# Dummy configure to enable universal variant.
    39 use_configure   yes
    40 configure               {}
     39use_configure   yes
     40configure       {}
    4141
    4242if {! [variant_isset universal]} {
    43         set arch ${os.arch}
    44         if {! [string compare ${arch} powerpc]} {
    45                 set arch ppc
    46         }
     43    set arch ${os.arch}
     44    if {! [string compare ${arch} powerpc]} {
     45        set arch ppc
     46    }
    4747
    48         xcode.build.settings-append             ARCHS=${arch}
    49         xcode.destroot.settings-append  ARCHS=${arch}
     48    xcode.build.settings-append     ARCHS=${arch}
     49    xcode.destroot.settings-append  ARCHS=${arch}
    5050}
    5151
    5252post-destroot {
    53         delete ${destroot}/Applications/MacPorts/aless
    54         xinstall -m 0755 ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources/aless \
    55                 ${destroot}${prefix}/bin
     53    delete ${destroot}/Applications/MacPorts/aless
     54    xinstall -m 0755 ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources/aless \
     55        ${destroot}${prefix}/bin
    5656}
    5757
    58 livecheck.distname ${name}
     58livecheck.distname  ${name}
    5959
  • trunk/dports/audio/libsdl_mixer-framework/Portfile

    r28682 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
    4 PortGroup               xcode 1.0
     3PortSystem      1.0
     4PortGroup       xcode 1.0
    55
    6 name                    libsdl_mixer-framework
    7 set my_name             SDL_mixer
    8 version                 1.2.8
    9 categories              audio devel
    10 maintainers             nox
    11 description             Audio mixer library for SDL
     6name            libsdl_mixer-framework
     7set my_name     SDL_mixer
     8version         1.2.8
     9categories      audio devel
     10maintainers     nox
     11description     Audio mixer library for SDL
    1212
    13 long_description        A sample multi-channel audio mixer library.  It supports any number of \
    14                         simultaneously playing channels of 16 bit stereo audio, plus a single \
    15                         channel of music.
     13long_description \
     14    A sample multi-channel audio mixer library.  It supports any number of simultaneously \
     15    playing channels of 16 bit stereo audio, plus a single channel of music.
    1616
    17 homepage                http://www.libsdl.org/projects/${my_name}/
    18 master_sites    ${homepage}release/
    19 distname                ${my_name}-${version}
    20 dist_subdir             [strsed ${name} {/-.*$//}]
     17homepage        http://www.libsdl.org/projects/${my_name}/
     18master_sites    ${homepage}release/
     19distname        ${my_name}-${version}
     20dist_subdir     [strsed ${name} {/-.*$//}]
    2121
    22 depends_lib             port:libsdl-framework
     22depends_libs    port:libsdl-framework
    2323
    24 checksums               md5 0b5b91015d0f3bd9597e094ba67c4d65 \
    25                                 sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
    26                                 rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
     24checksums       md5 0b5b91015d0f3bd9597e094ba67c4d65 \
     25                sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
     26                rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
    2727
    2828post-extract {
    29         cd ${worksrcpath}
    30         system "tar -xzf Xcode.tar.gz"
     29    cd ${worksrcpath}
     30    system "tar -xzf Xcode.tar.gz"
    3131}
    3232
    3333post-patch {
    34         reinplace -E "/(SDKROOT|MACOSX_DEPLOYMENT_TARGET|GCC_VERSION)_ppc =/d" \
    35                 ${worksrcpath}/${xcode.project}/project.pbxproj
     34    reinplace -E "/(SDKROOT|MACOSX_DEPLOYMENT_TARGET|GCC_VERSION)_ppc =/d" \
     35        ${worksrcpath}/${xcode.project}/project.pbxproj
    3636}
    3737
    38 xcode.project           Xcode/SDL_mixer.xcodeproj
    39 xcode.target            Framework
    40 xcode.destroot.type     framework
     38xcode.project       Xcode/SDL_mixer.xcodeproj
     39xcode.target        Framework
     40xcode.destroot.type framework
    4141
    4242variant universal {
    43         set arch ${os.arch}
    44         if {! [string compare ${arch} powerpc]} {
    45                 set arch ppc
    46         }
     43    set arch ${os.arch}
     44    if {! [string compare ${arch} powerpc]} {
     45        set arch ppc
     46    }
    4747
    48         xcode.build.settings    ARCHS=${arch}
    49         xcode.destroot.settings ARCHS=${arch}
     48    xcode.build.settings    ARCHS=${arch}
     49    xcode.destroot.settings ARCHS=${arch}
    5050}
    5151
    52 livecheck.check regex
    53 livecheck.url   ${homepage}
     52livecheck.check regex
     53livecheck.url   ${homepage}
    5454livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    5555
  • trunk/dports/audio/libsdl_mixer/Portfile

    r28599 r28880  
    11# $Id$
    22
    3 PortSystem                      1.0
     3PortSystem          1.0
    44
    5 name                            libsdl_mixer
    6 set my_name                     SDL_mixer
    7 version                         1.2.8
    8 categories                      audio devel
    9 platforms                       macosx
    10 maintainers                     nox
    11 description                     Audio mixer library for SDL
     5name                libsdl_mixer
     6set my_name         SDL_mixer
     7version             1.2.8
     8categories          audio devel
     9platforms           macosx
     10maintainers         nox
     11description         Audio mixer library for SDL
    1212
    1313long_description \
    14         A sample multi-channel audio mixer library. It supports any number of \
    15         simultaneously playing channels of 16 bit stereo audio, plus a single \
    16         channel of music.
     14    A sample multi-channel audio mixer library. It supports any number of \
     15    simultaneously playing channels of 16 bit stereo audio, plus a single \
     16    channel of music.
    1717
    18 homepage                http://www.libsdl.org/projects/${my_name}/
    19 master_sites    ${homepage}release/
    20 distname                ${my_name}-${version}
     18homepage        http://www.libsdl.org/projects/${my_name}/
     19master_sites    ${homepage}release/
     20distname        ${my_name}-${version}
    2121
    22 checksums               md5 0b5b91015d0f3bd9597e094ba67c4d65 \
    23                                 sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
    24                                 rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
     22checksums       md5 0b5b91015d0f3bd9597e094ba67c4d65 \
     23                sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
     24                rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
    2525
    26 depends_lib             port:libsdl port:smpeg port:libvorbis port:libogg
     26depends_lib     port:libsdl \
     27                port:smpeg \
     28                port:libvorbis \
     29                port:libogg
    2730
    28 configure.args  --with-sdl-prefix=${prefix} \
    29                                 --disable-sdltest \
    30                                 --with-smpeg-prefix=${prefix} \
    31                                 --disable-smpegtest
     31configure.args  --with-sdl-prefix=${prefix} \
     32                --disable-sdltest \
     33                --with-smpeg-prefix=${prefix} \
     34                --disable-smpegtest
    3235
    3336post-destroot {
    34         set docdir ${prefix}/share/doc/${name}-${version}
    35         xinstall -d ${destroot}${docdir}
    36         xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
    37                 ${destroot}${docdir}
     37    set docdir ${prefix}/share/doc/${name}-${version}
     38    xinstall -d ${destroot}${docdir}
     39    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
     40        ${destroot}${docdir}
    3841}
    3942
    4043variant mikmod description {Enable use of external libmikmod} {
    41         configure.args-append   --enable-music-libmikmod
    42         depends_lib-append              port:libmikmod
     44    configure.args-append   --enable-music-libmikmod
     45    depends_lib-append      port:libmikmod
    4346}
    4447
    45 livecheck.check regex
    46 livecheck.url   ${homepage}
    47 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
     48livecheck.check regex
     49livecheck.url   ${homepage}
     50livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    4851
  • trunk/dports/audio/libvorbis/Portfile

    r28501 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    libvorbis
    6 version                 1.2.0
    7 categories              audio
    8 platforms               darwin
    9 maintainers             nox openmaintainer
    10 description             The Vorbis General Audio Compression Codec
     5name            libvorbis
     6version         1.2.0
     7categories      audio
     8platforms       darwin
     9maintainers     nox openmaintainer
     10description     The Vorbis General Audio Compression Codec
    1111
    1212long_description \
    13         Ogg Vorbis is a fully open, non-proprietary, \
    14         patent-and-royalty-free, general-purpose compressed audio format for \
    15         audio and music at fixed and variable bitrates from 16 to 128 \
    16         kbps/channel.
     13    Ogg Vorbis is a fully open, non-proprietary, \
     14    patent-and-royalty-free, general-purpose compressed audio format for \
     15    audio and music at fixed and variable bitrates from 16 to 128 \
     16    kbps/channel.
    1717
    18 homepage                http://www.vorbis.com/
    19 master_sites    http://downloads.xiph.org/releases/vorbis/
     18homepage        http://www.vorbis.com/
     19master_sites    http://downloads.xiph.org/releases/vorbis/
    2020
    21 depends_build   port:pkgconfig
    22 depends_lib             port:libogg
    23 depends_run             port:pkgconfig
     21depends_build   port:pkgconfig
     22depends_lib     port:libogg
     23depends_run     port:pkgconfig
    2424
    25 checksums               md5 478646358c49f34aedcce58948793619 \
    26                                 sha1 6ff5f9d9d71cc385ee180171cc21af5653b76a16 \
    27                                 rmd160 54bf2b48943e283f003cd5dfb4bf9e519b6a817d
     25checksums       md5 478646358c49f34aedcce58948793619 \
     26                sha1 6ff5f9d9d71cc385ee180171cc21af5653b76a16 \
     27                rmd160 54bf2b48943e283f003cd5dfb4bf9e519b6a817d
    2828
    29 configure.args  --disable-oggtest
     29configure.args  --disable-oggtest
    3030
    3131post-destroot {
    32         set docdir ${prefix}/share/doc/${name}-${version}
    33         if {! [variant_isset doc]} {
    34                 xinstall -d ${destroot}${docdir}
    35         }
    36         xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README \
    37                 ${destroot}${docdir}
     32    set docdir ${prefix}/share/doc/${name}-${version}
     33    if {! [variant_isset doc]} {
     34        xinstall -d ${destroot}${docdir}
     35    }
     36    xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README \
     37        ${destroot}${docdir}
    3838}
    3939
    4040variant doc description {Install extra documentation} {
    41         configure.args-append --enable-doc
     41    configure.args-append --enable-doc
    4242}
    4343
    44 livecheck.check regex
    45 livecheck.url   http://www.xiph.org/downloads/
    46 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
     44livecheck.check regex
     45livecheck.url   http://www.xiph.org/downloads/
     46livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
    4747
  • trunk/dports/devel/ccache/Portfile

    r27975 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    ccache
    6 version                 2.4
    7 revision                1
    8 categories              devel
    9 maintainers             nox
    10 description             object-file caching compiler wrapper
     5name            ccache
     6version         2.4
     7revision        1
     8categories      devel
     9maintainers     nox
     10description     object-file caching compiler wrapper
    1111
    1212long_description \
    13         ccache is a compiler cache.  It acts as a caching pre-processor to C/C++ \
    14         compilers, using the -E compiler switch and a hash to detect when a \
    15         compilation can be satisfied from cache.  This often results in a 5 to 10 \
    16         times speedup in common compilations.
     13    ccache is a compiler cache.  It acts as a caching pre-processor to C/C++ \
     14    compilers, using the -E compiler switch and a hash to detect when a \
     15    compilation can be satisfied from cache.  This often results in a 5 to 10 \
     16    times speedup in common compilations.
    1717
    18 homepage                http://ccache.samba.org/
    19 platforms               darwin freebsd
    20 master_sites    http://samba.org/ftp/ccache/
     18homepage        http://ccache.samba.org/
     19platforms       darwin freebsd
     20master_sites    http://samba.org/ftp/ccache/
    2121
    22 checksums               md5 73c1ed1e767c1752dd0f548ec1e66ce7 \
    23                                 sha1 9833ec13de9b90d5409e60d679ac681115ef465e \
    24                                 rmd160 43a0647c7faf659121a53a92ec45d245b8140124
     22checksums       md5 73c1ed1e767c1752dd0f548ec1e66ce7 \
     23                sha1 9833ec13de9b90d5409e60d679ac681115ef465e \
     24                rmd160 43a0647c7faf659121a53a92ec45d245b8140124
    2525
    26 configure.args  --mandir=${prefix}/share/man
     26configure.args  --mandir=${prefix}/share/man
    2727
    28 destroot.violate_mtree yes
     28destroot.violate_mtree  yes
    2929
    3030post-destroot {
    31         file mkdir ${destroot}${prefix}/ccache/bin
    32         cd ${destroot}${prefix}/ccache/bin
     31    file mkdir ${destroot}${prefix}/ccache/bin
     32    cd ${destroot}${prefix}/ccache/bin
    3333
    34         foreach {bin} {
    35                 cc
    36                 gcc     gcc2    gcc3    gcc-3.3 gcc-4.0
    37                 c++     c++3    c++-3.3 c++-4.0
    38                 g++     g++2    g++3    g++-3.3 g++-4.0
    39         } {
    40                 ln -sf ../../bin/ccache ${bin}
    41         }
     34    foreach {bin} {
     35            cc
     36            gcc gcc2    gcc3    gcc-3.3 gcc-4.0
     37            c++ c++3    c++-3.3 c++-4.0
     38            g++ g++2    g++3    g++-3.3 g++-4.0
     39    } {
     40        ln -sf ../../bin/ccache ${bin}
     41    }
    4242
    43         cd ${worksrcpath}
    44         set docdir ${prefix}/share/doc/${name}-${version}
    45         xinstall -d ${destroot}${docdir}/html
    46         xinstall -m 0644 COPYING README ${destroot}${docdir}
    47         eval xinstall -m 0644 [glob web/*.html] ${destroot}${docdir}/html
     43    cd ${worksrcpath}
     44    set docdir ${prefix}/share/doc/${name}-${version}
     45    xinstall -d ${destroot}${docdir}/html
     46    xinstall -m 0644 COPYING README ${destroot}${docdir}
     47    eval xinstall -m 0644 [glob web/*.html] ${destroot}${docdir}/html
    4848}
    4949
  • trunk/dports/devel/icu/Portfile

    r28539 r28880  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem      1.0
    44
    5 name            icu
    6 version         3.6
    7 revision    1
    8 categories      devel
    9 platforms       darwin freebsd
    10 maintainers     nox
    11 description     International Components for Unicode
    12 long_description        The International Components for Unicode (ICU) libraries provide robust  and full-featured Unicode services on a wide variety of platforms. ICU  supports the most current version of the Unicode standard, and they provide  support for supplementary Unicode characters (needed for GB 18030  repertoire support).
     5name            icu
     6version         3.6
     7revision        1
     8categories      devel
     9platforms       darwin freebsd
     10maintainers     nox
     11description     International Components for Unicode
     12
     13long_description \
     14    The International Components for Unicode (ICU) libraries provide robust \
     15    and full-featured Unicode services on a wide variety of platforms. ICU \
     16    supports the most current version of the Unicode standard, and they provide \
     17    support for supplementary Unicode characters (needed for GB 18030 repertoire support).
     18
    1319homepage        http://www.icu-project.org/
    1420master_sites    ftp://ftp.software.ibm.com/software/globalization/${name}/${version}/ \
     
    1622
    1723distname        icu4c-[strsed ${version} {/\./_/}]
    18 extract.suffix  .tgz
     24extract.suffix  .tgz
    1925distfiles       [suffix ${distname}-src]
    2026
     
    2834                    rmd160 27d66bd6a6befbf64e3d26cf7bc6897fde05c907
    2935
    30 worksrcdir      ${name}/source
    31 set docdir  ${prefix}/share/doc/${name}-${version}
     36worksrcdir      ${name}/source
     37set docdir      ${prefix}/share/doc/${name}-${version}
    3238
    33 configure.args  --mandir=${prefix}/share/man \
     39configure.args  --mandir=${prefix}/share/man \
    3440                --disable-samples
    35 build.type      gnu
    3641
    3742# Fix bug #11981 that prevents ICU from building when upgrading.
    3843# The default configure flags causes utilisation of outdated ICU headers/libs instead of the right
    3944# ones. Eventually the virtual chroot mechanism will fix that.
    40 configure.cppflags {}
    41 configure.ldflags  {}
     45configure.cppflags  {}
     46configure.ldflags   {}
     47
     48build.type      gnu
    4249
    4350test.run        yes
     
    6471platform darwin {
    6572    post-patch {
    66         reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin
     73        reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin
    6774    }
    6875}
    6976
    7077platform darwin 8 {
    71         configure.compiler      gcc-4.0
     78    configure.compiler  gcc-4.0
    7279}
    7380
    7481platform freebsd {
    75         build.env       MAKE=/usr/local/bin/gmake
    76         destroot.env    MAKE=/usr/local/bin/gmake
     82    build.env       MAKE=/usr/local/bin/gmake
     83    destroot.env    MAKE=/usr/local/bin/gmake
    7784}
    7885
    7986livecheck.distname  ICU4C
     87
  • trunk/dports/devel/libsdl-framework/Portfile

    r28445 r28880  
    55
    66name            libsdl-framework
    7 set my_name             SDL
     7set my_name     SDL
    88version         1.2.12
    99categories      devel multimedia
     
    1212
    1313long_description \
    14                 Simple DirectMedia Layer is a cross-platform \
    15                 multimedia library designed to provide fast access \
    16                 to the graphics framebuffer and audio device. It is \
    17                 used by MPEG playback software, emulators, and many \
    18                 popular games, including the award winning Linux \
    19                 port of \"Civilization: Call To Power.\" Simple \
    20                 DirectMedia Layer supports Linux, Win32, BeOS, \
    21                 Mac OS, Solaris, IRIX, and FreeBSD.
     14    Simple DirectMedia Layer is a cross-platform multimedia library designed to provide \
     15    fast access to the graphics framebuffer and audio device. It is used by MPEG playback \
     16    software, emulators, and many popular games, including the award winning Linux port of \
     17    \"Civilization: Call To Power.\" Simple DirectMedia Layer supports Linux, Win32, BeOS, \
     18    Mac OS, Solaris, IRIX, and FreeBSD.
    2219
    2320# Dummy configure to enable the universal variant.
    24 use_configure   yes
    25 configure               {}
     21use_configure   yes
     22configure       {}
    2623
    2724if {! [variant_isset universal]} {
    28         set arch ${os.arch}
    29         if {! [string compare ${os.arch} powerpc]} {
    30                 set arch ppc
    31         }
     25    set arch ${os.arch}
     26    if {! [string compare ${os.arch} powerpc]} {
     27        set arch ppc
     28    }
    3229
    33         xcode.build.settings-append                     ARCHS=${arch}
    34         xcode.destroot.settings-append          ARCHS=${arch}
     30    xcode.build.settings-append         ARCHS=${arch}
     31    xcode.destroot.settings-append      ARCHS=${arch}
    3532}
    3633
     
    4441                rmd160 3871023c63ea056eba43ce4f55ee8d3a73ff3022
    4542
    46 xcode.project                   Xcode/SDL/SDL.xcodeproj
    47 xcode.target            "Framework Without X11 Stuff (for those who didn't install the X11 headers with Xcode)"
    48 xcode.destroot.type     framework
     43xcode.project       Xcode/SDL/SDL.xcodeproj
     44xcode.target        "Framework Without X11 Stuff (for those who didn't install the X11 headers with Xcode)"
     45xcode.destroot.type framework
    4946
    5047post-extract {
     
    5350
    5451post-patch {
    55         reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" \
    56                 ${worksrcpath}/${xcode.project}/project.pbxproj
     52    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" \
     53        ${worksrcpath}/${xcode.project}/project.pbxproj
    5754}
    5855
    5956variant x11 {
    60     xcode.target Framework
     57    xcode.target    Framework
    6158}
    6259
    63 livecheck.check regex
    64 livecheck.url   ${homepage}download.php
    65 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
     60livecheck.check regex
     61livecheck.url   ${homepage}download.php
     62livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    6663
  • trunk/dports/devel/libsdl_gfx-framework/Portfile

    r27742 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
    4 PortGroup               xcode 1.0
     3PortSystem      1.0
     4PortGroup       xcode 1.0
    55
    6 name                    libsdl_gfx-framework
    7 set my_name             SDL_gfx
    8 version                 2.0.16
    9 categories              devel graphics
    10 platforms               macosx
    11 maintainers             nox openmaintainer
    12 description             graphics primitives SDL extension
     6name            libsdl_gfx-framework
     7set my_name     SDL_gfx
     8version         2.0.16
     9categories      devel graphics
     10platforms       macosx
     11maintainers     nox openmaintainer
     12description     graphics primitives SDL extension
    1313
    14 long_description        The SDL_gfx library evolved out of the \
    15                         SDL_gfxPrimitives code which provided basic drawing \
    16                         routines such as lines, circles or polygons and \
    17                         SDL_rotozoom which implemented a interpolating \
    18                         rotozoomer for SDL surfaces. The current components of \
    19                         the SDL_gfx library are: Graphic Primitives, \
    20                         Rotozoomer, Framerate control, MMX image filters. \
    21                         It is backwards compatible to the above mentioned \
    22                         code. It is written in plain C and can be used in C++ \
    23                         code.
     14long_description \
     15    The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing \
     16    routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating \
     17    rotozoomer for SDL surfaces. The current components of the SDL_gfx library are: Graphic \
     18    Primitives, Rotozoomer, Framerate control, MMX image filters. It is backwards compatible to \
     19    the above mentioned code. It is written in plain C and can be used in C++ code.
    2420
    25 homepage                http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
    26 master_sites            ${homepage}
    27 distname                ${my_name}-${version}
    28 dist_subdir             libsdl_gfx
    29 checksums               md5 22dc2d9d916197829f9342c490d2d02b \
    30                                 sha1 c0277d25daf4b680876ef04a893f64e90d9ce03d \
    31                                 rmd160 1ee1b19f5699b5f3661a9ba461bc44a1e4f135da
     21homepage        http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
     22master_sites    ${homepage}
     23distname        ${my_name}-${version}
     24dist_subdir     libsdl_gfx
    3225
    3326depends_lib             port:libsdl-framework
    3427
    35 xcode.target                    ${my_name}
    36 xcode.destroot.type             framework
     28checksums       md5 22dc2d9d916197829f9342c490d2d02b \
     29                sha1 c0277d25daf4b680876ef04a893f64e90d9ce03d \
     30                rmd160 1ee1b19f5699b5f3661a9ba461bc44a1e4f135da
    3731
    38 universal_variant no
     32xcode.target        ${my_name}
     33xcode.destroot.type framework
     34
     35universal_variant   no
    3936# Dummy configure to enable universal variant.
    4037#use_configure  yes
     
    4239
    4340post-extract {
    44         cd ${worksrcpath}
    45         system "unzip \"Other Builds/OSX-PB-Xcode.zip\""
    46         system "tar -x PB/English.lproj --strip-path 1 -zvf \"Other Builds/OSX-PB.tgz\""
     41    cd ${worksrcpath}
     42    system "unzip \"Other Builds/OSX-PB-Xcode.zip\""
     43    system "tar -x PB/English.lproj --strip-path 1 -zvf \"Other Builds/OSX-PB.tgz\""
    4744}
    4845
    4946post-patch {
    50         reinplace -E "/SKIP_INSTALL/d" ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
     47    reinplace -E "/SKIP_INSTALL/d" ${worksrcpath}/SDL_gfx.pbproj/project.pbxproj
    5148}
    5249
     
    5754#}
    5855
    59 livecheck.check regex
    60 livecheck.url   http://www.ferzkopp.net/joomla/content/view/19/14/
    61 livecheck.regex "${my_name}-(\\d+\\.\\d+(?:\\.\\d+)+)"
     56livecheck.check regex
     57livecheck.url   http://www.ferzkopp.net/joomla/content/view/19/14/
     58livecheck.regex "${my_name}-(\\d+\\.\\d+(?:\\.\\d+)+)"
  • trunk/dports/devel/libsdl_image-framework/Portfile

    r27748 r28880  
    11# $Id$
    2 PortSystem              1.0
    3 PortGroup               xcode 1.0
    42
    5 name                    libsdl_image-framework
    6 set my_name             SDL_image
    7 version                 1.2.6
    8 categories              devel graphics
    9 maintainers             nox openmaintainer
    10 description             Add on library for libSDL handling several image formats
    11 long_description        This is a simple library to load images of various \
    12                         formats as SDL surfaces. This library supports BMP, \
    13                         PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
     3PortSystem      1.0
     4PortGroup       xcode 1.0
    145
     6name            libsdl_image-framework
     7set my_name     SDL_image
     8version         1.2.6
     9categories      devel graphics
    1510platforms               macosx
    16 homepage                http://www.libsdl.org/projects/SDL_image/
     11maintainers     nox openmaintainer
     12description     Add on library for libSDL handling several image formats
     13
     14long_description \
     15    This is a simple library to load images of various formats as SDL surfaces.
     16    This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
     17
     18homepage        http://www.libsdl.org/projects/SDL_image/
    1719master_sites    ${homepage}release/
    18 distname                ${my_name}-${version}
    19 dist_subdir             [strsed ${name} {/-.*$//}]
     20distname        ${my_name}-${version}
     21dist_subdir     [strsed ${name} {/-.*$//}]
    2022
    21 checksums               md5 b866dc4f647517bdaf57f6ffdefd013e \
    22                                 sha1 5045df31e4db29d8890110fd18024c9d08efca30 \
    23                                 rmd160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93
     23checksums       md5 b866dc4f647517bdaf57f6ffdefd013e \
     24                sha1 5045df31e4db29d8890110fd18024c9d08efca30 \
     25                rmd160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93
    2426
    25 depends_lib             port:libpng \
    26                                 port:jpeg \
    27                                 port:zlib \
    28                                 port:libsdl-framework
     27depends_lib     port:libpng \
     28                port:jpeg \
     29                port:zlib \
     30                port:libsdl-framework
    2931
    30 xcode.project           Xcode/${my_name}.xcodeproj
    31 xcode.target            Framework
     32xcode.project       Xcode/${my_name}.xcodeproj
     33xcode.target        Framework
    3234xcode.destroot.type framework
    3335
    3436# Dummy configure to enable +universal variant.
    35 use_configure   yes
    36 configure               {}
     37use_configure   yes
     38configure       {}
    3739
    3840if {! [variant_isset universal]} {
    39         set arch ${os.arch}
    40         if {! [string compare ${os.arch} powerpc]} {
    41                 set arch ppc
    42         }
     41    set arch ${os.arch}
     42    if {! [string compare ${os.arch} powerpc]} {
     43        set arch ppc
     44    }
    4345
    44         xcode.build.settings-append                     ARCHS=${arch}
    45         xcode.destroot.settings-append          ARCHS=${arch}
     46    xcode.build.settings-append     ARCHS=${arch}
     47    xcode.destroot.settings-append  ARCHS=${arch}
    4648}
    4749
    4850post-extract {
    49         cd ${worksrcpath}
    50         system "tar -x Xcode/{exports/SDL_image.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
     51    cd ${worksrcpath}
     52    system "tar -x Xcode/{exports/SDL_image.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
    5153}
    5254
    5355post-patch {
    54         set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
     56    set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
    5557
    56         reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" ${pbxproj}
    57         reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
    58         reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
    59         reinplace "s|graphics/include| ${prefix}/include|g" ${pbxproj}
    60         reinplace "s|graphics/lib|${prefix}/lib|g" ${pbxproj}
     58    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" ${pbxproj}
     59    reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
     60    reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
     61    reinplace "s|graphics/include| ${prefix}/include|g" ${pbxproj}
     62    reinplace "s|graphics/lib|${prefix}/lib|g" ${pbxproj}
    6163}
    6264
    6365pre-destroot {
    64         xcode.destroot.settings ${xcode.build.settings}
     66    xcode.destroot.settings ${xcode.build.settings}
    6567}
    6668
    67 livecheck.check regex
    68 livecheck.url   ${homepage}
    69 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     69livecheck.check regex
     70livecheck.url   ${homepage}
     71livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    7072
  • trunk/dports/devel/libsdl_image/Portfile

    r27633 r28880  
    11# $Id$
    22
    3 PortSystem 1.0
    4 name                    libsdl_image
    5 set my_name             SDL_image
    6 version                 1.2.6
    7 categories              devel graphics
    8 maintainers             nox openmaintainer
    9 description             Add on library for libSDL handling several image formats
     3PortSystem      1.0
    104
    11 long_description        This is a simple library to load images of various \
    12                         formats as SDL surfaces. This library supports BMP, \
    13                         PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
     5name            libsdl_image
     6set my_name     SDL_image
     7version         1.2.6
     8categories      devel graphics
     9platforms       macosx
     10maintainers     nox openmaintainer
     11description     Add on library for libSDL handling several image formats
    1412
    15 platforms               macosx
    16 homepage                http://www.libsdl.org/projects/SDL_image/
    17 master_sites    ${homepage}release/
    18 distname                ${my_name}-${version}
     13long_description \
     14    This is a simple library to load images of various formats as SDL surfaces.
     15    This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
    1916
    20 checksums               md5 b866dc4f647517bdaf57f6ffdefd013e \
    21                                 sha1 5045df31e4db29d8890110fd18024c9d08efca30 \
    22                                 rmd160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93
     17homepage        http://www.libsdl.org/projects/SDL_image/
     18master_sites    ${homepage}release/
     19distname        ${my_name}-${version}
    2320
    24 depends_lib             port:libsdl port:libpng port:jpeg port:tiff port:zlib
     21checksums       md5 b866dc4f647517bdaf57f6ffdefd013e \
     22                sha1 5045df31e4db29d8890110fd18024c9d08efca30 \
     23                rmd160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93
    2524
    26 configure.args  --disable-sdltest
     25depends_lib     port:libsdl port:libpng port:jpeg port:tiff port:zlib
    2726
    28 post-destroot   {
    29         xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
    30         xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
    31                 ${destroot}${prefix}/share/doc/${name}
     27configure.args  --disable-sdltest
     28
     29post-destroot {
     30    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
     31    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
     32        ${destroot}${prefix}/share/doc/${name}
    3233}
    3334
    34 livecheck.check regex
    35 livecheck.url   ${homepage}
    36 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     35livecheck.check regex
     36livecheck.url   ${homepage}
     37livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
     38
  • trunk/dports/devel/libsdl_net-framework/Portfile

    r28440 r28880  
    11# $Id$
    2 PortSystem              1.0
    3 PortGroup               xcode 1.0
    42
    5 name                    libsdl_net-framework
    6 set my_name             SDL_net
    7 version                 1.2.7
    8 platforms               macosx
    9 categories              devel net
    10 maintainers             nox openmaintainer
    11 description             cross-platform networking library
     3PortSystem      1.0
     4PortGroup       xcode 1.0
    125
    13 long_description        This is a small sample cross-platform networking \
    14                         library, with a sample chat client and server \
    15                         application. The chat client uses the GUIlib GUI \
    16                         framework library.
     6name            libsdl_net-framework
     7set my_name     SDL_net
     8version         1.2.7
     9platforms       macosx
     10categories      devel net
     11maintainers     nox openmaintainer
     12description     cross-platform networking library
    1713
    18 homepage                http://www.libsdl.org/projects/SDL_net/
    19 master_sites            ${homepage}/release/
    20 distname                ${my_name}-${version}
    21 dist_subdir             libsdl_net
     14long_description \
     15    This is a small sample cross-platform networking library, with a sample chat client and server \
     16    application. The chat client uses the GUIlib GUI framework library.
    2217
    23 checksums               md5 6bd4662d1423810f3140d4da21b6d912 \
    24                                 sha1 b46c7e3221621cc34fec1238f1b5f0ce8972274d \
    25                                 rmd160 5c95cf28f35ceb796188323666b92cafa60fba25
     18homepage        http://www.libsdl.org/projects/SDL_net/
     19master_sites    ${homepage}/release/
     20distname        ${my_name}-${version}
     21dist_subdir     libsdl_net
    2622
    27 depends_lib             port:libsdl-framework
     23checksums       md5 6bd4662d1423810f3140d4da21b6d912 \
     24                sha1 b46c7e3221621cc34fec1238f1b5f0ce8972274d \
     25                rmd160 5c95cf28f35ceb796188323666b92cafa60fba25
    2826
    29 xcode.project           Xcode/${my_name}.xcodeproj
    30 xcode.target            Framework
    31 xcode.destroot.type     framework
     27depends_lib     port:libsdl-framework
     28
     29xcode.project       Xcode/${my_name}.xcodeproj
     30xcode.target        Framework
     31xcode.destroot.type framework
    3232
    3333# Dummy configure to enable +universal variant.
    34 use_configure   yes
    35 configure               {}
     34use_configure   yes
     35configure       {}
    3636
    3737if {! [variant_isset universal]} {
    38         set arch ${os.arch}
    39         if {! [string compare ${os.arch} powerpc]} {
    40                 set arch ppc
    41         }
     38    set arch ${os.arch}
     39    if {! [string compare ${os.arch} powerpc]} {
     40        set arch ppc
     41    }
    4242
    43         xcode.build.settings-append                     ARCHS=${arch}
    44         xcode.destroot.settings-append          ARCHS=${arch}
     43    xcode.build.settings-append                 ARCHS=${arch}
     44    xcode.destroot.settings-append              ARCHS=${arch}
    4545}
    4646
    4747post-extract {
    48         cd ${worksrcpath}
    49         system "tar -x Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
     48    cd ${worksrcpath}
     49    system "tar -x Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
    5050}
    5151
    5252post-patch {
    53         set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
     53    set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
    5454
    55         reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)(_ppc)? =/d" ${pbxproj}
    56         reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
    57         reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
     55    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)(_ppc)? =/d" ${pbxproj}
     56    reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
     57    reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
    5858}
    5959
    60 livecheck.check regex
    61 livecheck.url   ${homepage}
    62 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     60livecheck.check regex
     61livecheck.url   ${homepage}
     62livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    6363
  • trunk/dports/devel/libsdl_net/Portfile

    r27634 r28880  
    11# $Id$
    22
    3 PortSystem      1.0
     3PortSystem      1.0
    44
    5 name                    libsdl_net
    6 set my_name             SDL_net
    7 version                 1.2.7
    8 platforms               macosx
    9 categories              devel net
    10 maintainers             nox openmaintainer
    11 description             cross-platform networking library
     5name            libsdl_net
     6set my_name     SDL_net
     7version         1.2.7
     8platforms       macosx
     9categories      devel net
     10maintainers     nox openmaintainer
     11description     cross-platform networking library
    1212
    13 long_description        This is a small sample cross-platform networking \
    14                                         library, with a sample chat client and server \
    15                                         application. The chat client uses the GUIlib GUI \
    16                                         framework library.
     13long_description \
     14    This is a small sample cross-platform networking library, with a sample chat client and server \
     15    application. The chat client uses the GUIlib GUI framework library.
    1716
    18 homepage                http://www.libsdl.org/projects/SDL_net/
    19 master_sites    ${homepage}release/
    20 distname                ${my_name}-${version}
     17homepage        http://www.libsdl.org/projects/SDL_net/
     18master_sites    ${homepage}release/
     19distname        ${my_name}-${version}
    2120
    22 checksums               md5 6bd4662d1423810f3140d4da21b6d912 \
    23                                 sha1 b46c7e3221621cc34fec1238f1b5f0ce8972274d \
    24                                 rmd160 5c95cf28f35ceb796188323666b92cafa60fba25
     21checksums       md5 6bd4662d1423810f3140d4da21b6d912 \
     22                sha1 b46c7e3221621cc34fec1238f1b5f0ce8972274d \
     23                rmd160 5c95cf28f35ceb796188323666b92cafa60fba25
    2524
    26 depends_lib             port:libsdl
     25depends_lib     port:libsdl
    2726
    28 configure.args  --disable-sdltest
     27configure.args  --disable-sdltest
    2928
    30 post-destroot   {
    31         xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
    32         xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
    33                 ${destroot}${prefix}/share/doc/${name}
     29post-destroot {
     30    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
     31    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
     32        ${destroot}${prefix}/share/doc/${name}
    3433}
    3534
    36 livecheck.check regex
    37 livecheck.url   ${homepage}
    38 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     35livecheck.check regex
     36livecheck.url   ${homepage}
     37livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
     38
  • trunk/dports/devel/libsdl_ttf-framework/Portfile

    r27750 r28880  
    11# $Id$
    22
    3 PortSystem      1.0
    4 PortGroup       xcode 1.0
     3PortSystem      1.0
     4PortGroup       xcode 1.0
    55
    6 name            libsdl_ttf-framework
    7 set my_name     SDL_ttf
    8 version         2.0.9
    9 categories      devel graphics
    10 maintainers     nox openmaintainer
    11 platforms       macosx
    12 description     add on library for libSDL for rendering TrueType fonts
     6name            libsdl_ttf-framework
     7set my_name     SDL_ttf
     8version         2.0.9
     9categories      devel graphics
     10platforms       macosx
     11maintainers     nox openmaintainer
     12description     add on library for libSDL for rendering TrueType fonts
    1313
    14 long_description        This library is a wrapper around the excellent \
    15                         FreeType 2.0 library allowing to render TrueType fonts \
    16                         in SDL applications.
     14long_description \
     15    This library is a wrapper around the excellent FreeType 2.0 library allowing \
     16    to render TrueType fonts in SDL applications.
    1717       
    18 homepage        http://www.libsdl.org/projects/SDL_ttf/
    19 master_sites    ${homepage}release/
    20 distname        ${my_name}-${version}
    21 dist_subdir     libsdl_ttf
     18homepage        http://www.libsdl.org/projects/SDL_ttf/
     19master_sites    ${homepage}release/
     20distname        ${my_name}-${version}
     21dist_subdir     libsdl_ttf
    2222
    23 checksums       md5 6dd5a85e4924689a35a5fb1cb3336156 \
    24                         sha1 6bc3618b08ddbbf565fe8f63f624782c15e1cef2 \
    25                         rmd160 4e0b0f727f73b5d8a579e3e615ab4f50ec992b82
     23checksums       md5 6dd5a85e4924689a35a5fb1cb3336156 \
     24                sha1 6bc3618b08ddbbf565fe8f63f624782c15e1cef2 \
     25                rmd160 4e0b0f727f73b5d8a579e3e615ab4f50ec992b82
    2626
    27 depends_lib     port:libsdl-framework \
    28                         port:freetype \
    29                         port:zlib
     27depends_lib     port:libsdl-framework \
     28                port:freetype \
     29                port:zlib
    3030
    31 xcode.project           Xcode/${my_name}.xcodeproj
    32 xcode.target            Framework
    33 xcode.destroot.type     framework
     31xcode.project       Xcode/${my_name}.xcodeproj
     32xcode.target        Framework
     33xcode.destroot.type framework
    3434
    3535# Dummy configure to enable +universal variant.
    36 use_configure   yes
    37 configure               {}
     36use_configure   yes
     37configure       {}
    3838
    3939if {! [variant_isset universal]} {
    40         set arch ${os.arch}
    41         if {! [string compare ${os.arch} powerpc]} {
    42                 set arch ppc
    43         }
     40    set arch ${os.arch}
     41    if {! [string compare ${os.arch} powerpc]} {
     42        set arch ppc
     43    }
    4444
    45         xcode.build.settings-append                     ARCHS=${arch}
    46         xcode.destroot.settings-append          ARCHS=${arch}
     45    xcode.build.settings-append     ARCHS=${arch}
     46    xcode.destroot.settings-append  ARCHS=${arch}
    4747}
    4848
    4949post-extract {
    50         cd ${worksrcpath}
    51         system "tar -x Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
     50    cd ${worksrcpath}
     51    system "tar -x Xcode/{exports/${my_name}.x,Info-Framework__Upgraded_.plist,${my_name}.xcodeproj} -vzf Xcode.tar.gz"
    5252}
    5353
    5454post-patch {
    55         set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
     55    set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj
    5656
    57         reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)(_ppc)? =/d" ${pbxproj}
    58         reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
    59         reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
    60         reinplace "s|freetype/include|${prefix}/include,${prefix}/include/freetype2|g" ${pbxproj}
    61         reinplace "s|freetype/lib|${prefix}/lib|g" ${pbxproj}
     57    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)(_ppc)? =/d" ${pbxproj}
     58    reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
     59    reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbxproj}
     60    reinplace "s|freetype/include|${prefix}/include,${prefix}/include/freetype2|g" ${pbxproj}
     61    reinplace "s|freetype/lib|${prefix}/lib|g" ${pbxproj}
    6262}
    6363
    64 livecheck.check regex
    65 livecheck.url   ${homepage}
    66 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     64livecheck.check regex
     65livecheck.url   ${homepage}
     66livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    6767
  • trunk/dports/devel/libsdl_ttf/Portfile

    r28496 r28880  
    11# $Id$
    22
    3 PortSystem                      1.0
     3PortSystem      1.0
    44
    5 name                libsdl_ttf
    6 set my_name                     SDL_ttf
    7 version             2.0.9
    8 categories          devel graphics
    9 maintainers         nox
    10 platforms           macosx
    11 description         add on library for libSDL for rendering TrueType fonts
     5name            libsdl_ttf
     6set my_name         SDL_ttf
     7version         2.0.9
     8categories      devel graphics
     9platforms       macosx
     10maintainers     nox
     11description     add on library for libSDL for rendering TrueType fonts
    1212
    13 long_description    This library is a wrapper around the excellent \
    14                     FreeType 2.0 library allowing to render TrueType fonts \
    15                     in SDL applications.
     13long_description \
     14    This library is a wrapper around the excellent FreeType 2.0 library allowing \
     15    to render TrueType fonts in SDL applications.
    1616   
    17 homepage            http://www.libsdl.org/projects/SDL_ttf/
    18 master_sites        ${homepage}release/
    19 distname            ${my_name}-${version}
     17homepage        http://www.libsdl.org/projects/SDL_ttf/
     18master_sites    ${homepage}release/
     19distname        ${my_name}-${version}
    2020
    21 checksums                       md5 6dd5a85e4924689a35a5fb1cb3336156 \
    22                                         sha1 6bc3618b08ddbbf565fe8f63f624782c15e1cef2 \
    23                                         rmd160 4e0b0f727f73b5d8a579e3e615ab4f50ec992b82
     21checksums       md5 6dd5a85e4924689a35a5fb1cb3336156 \
     22                sha1 6bc3618b08ddbbf565fe8f63f624782c15e1cef2 \
     23                rmd160 4e0b0f727f73b5d8a579e3e615ab4f50ec992b82
    2424
    25 depends_lib         port:libsdl port:freetype
     25depends_lib     port:libsdl \
     26                port:freetype
    2627
    27 configure.args      --disable-sdltest
     28configure.args  --disable-sdltest
    2829
    29 post-destroot   {
    30         set docdir ${prefix}/share/doc/${name}-${version}
    31         xinstall -d ${destroot}${docdir}
     30post-destroot {
     31    set docdir ${prefix}/share/doc/${name}-${version}
     32    xinstall -d ${destroot}${docdir}
    3233    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
    3334        ${destroot}${docdir}
    3435}
    3536
    36 livecheck.check regex
    37 livecheck.url   ${homepage}
    38 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     37livecheck.check regex
     38livecheck.url   ${homepage}
     39livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
    3940
  • trunk/dports/devel/pcre/Portfile

    r28441 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    pcre
    6 version                 7.3
    7 categories              devel
    8 platforms               darwin freebsd
    9 maintainers             nox
    10 description             Perl Compatible Regular Expressions Library
     5name            pcre
     6version         7.3
     7categories      devel
     8platforms       darwin freebsd
     9maintainers     nox
     10description     Perl Compatible Regular Expressions Library
    1111
    1212long_description \
     
    1616    functions that correspond to the POSIX regular expression API.
    1717
    18 homepage                http://www.pcre.org/
    19 master_sites    ftp://ftp.fu-berlin.de/unix/misc/${name}/ \
    20                                 ftp://ftp.tin.org/pub/libs/${name}/ \
    21                                 ftp://ftp.csx.cam.ac.uk/pub/software/programming/${name}/ \
    22                                 sourceforge
     18homepage        http://www.pcre.org/
     19master_sites    ftp://ftp.fu-berlin.de/unix/misc/${name}/ \
     20                ftp://ftp.tin.org/pub/libs/${name}/ \
     21                ftp://ftp.csx.cam.ac.uk/pub/software/programming/${name}/ \
     22                sourceforge
    2323
    24 use_bzip2               yes
    25 checksums               md5 08b48bf97ff84a9dea07d6be518f0046 \
    26                                 sha1 a9867a2c9980005aed07be022f07a61eb4135780 \
    27                                 rmd160 a4f2293cfe1a56a518f025a7a088ea772a2a0b51
     24use_bzip2       yes
     25checksums       md5 08b48bf97ff84a9dea07d6be518f0046 \
     26                sha1 a9867a2c9980005aed07be022f07a61eb4135780 \
     27                rmd160 a4f2293cfe1a56a518f025a7a088ea772a2a0b51
    2828
    29 configure.args  --docdir=${prefix}/share/doc/${name}-${version} \
    30                                 --enable-unicode-properties
     29configure.args  --docdir=${prefix}/share/doc/${name}-${version} \
     30                --enable-unicode-properties
    3131
    32 test.run                yes
     32test.run        yes
    3333
  • trunk/dports/devel/poco/Portfile

    r27577 r28880  
    77categories      devel
    88maintainers     nox
     9platforms       darwin
    910description     POCO C++ Libraries
    1011
    1112long_description \
    12                 POCO aims to be for network-centric, cross-platform C++ software development \
    13                 what Apple's Cocoa is for Mac development, or Ruby on Rails is for Web \
    14                 development -- a powerful, yet easy to use platform to build your applications upon.
     13    POCO aims to be for network-centric, cross-platform C++ software development \
     14    what Apple's Cocoa is for Mac development, or Ruby on Rails is for Web \
     15    development -- a powerful, yet easy to use platform to build your applications upon.
    1516
    1617homepage        http://pocoproject.org/
     
    3536                    sha1 912de8e62ae264408b130c760e08b6867d674f00 \
    3637                    rmd160 2de13a5c8f93364730da685c201ef1a894b2da4c
    37 
    38 platforms       darwin
    3938
    4039configure.args  --no-samples
     
    161160
    162161livecheck.regex "<title>sources ${name}-(.*) released.*</title>"
     162
  • trunk/dports/editors/nano/Portfile

    r28442 r28880  
    11# $Id$
    22
    3 PortSystem 1.0
    4 name             nano
    5 version          2.0.6
    6 revision         1
    7 categories       editors
    8 maintainers      nox
    9 description      Nano's ANOther editor - enhanced free Pico Clone
     3PortSystem      1.0
     4
     5name            nano
     6version         2.0.6
     7revision        1
     8categories      editors
     9platforms       darwin freebsd
     10maintainers     nox
     11description     Nano's ANOther editor - enhanced free Pico Clone
     12
    1013long_description \
    1114    GNU nano is a small and friendly text editor. Besides basic text \
     
    1417    internationalization support, and filename tab completion.
    1518
    16 homepage         http://www.nano-editor.org/
    17 master_sites     ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
    18 checksums        md5 619107f0fc3c4383d668cef15aa3ca32 \
    19                  sha1 00102580404cdb1c8594e5f6193000d5acac2249 \
    20                  rmd160 858dc7cf7137cc2b19e9084a503fe508ef734381
     19homepage        http://www.nano-editor.org/
     20master_sites    ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
    2121
    22 platforms        darwin freebsd
    23 depends_lib      port:ncurses
     22checksums       md5 619107f0fc3c4383d668cef15aa3ca32 \
     23                sha1 00102580404cdb1c8594e5f6193000d5acac2249 \
     24                rmd160 858dc7cf7137cc2b19e9084a503fe508ef734381
    2425
    25 configure.args   --enable-nanorc \
    26                  --disable-nls \
    27                  --disable-wrapping-as-root \
    28                  --disable-mouse \
    29                  --disable-wrapping \
    30                  --disable-speller \
    31                  --disable-utf8
     26depends_lib     port:ncurses
    3227
    33 destroot.target  install-strip
     28configure.args  --enable-nanorc \
     29                --disable-nls \
     30                --disable-wrapping-as-root \
     31                --disable-mouse \
     32                --disable-wrapping \
     33                --disable-speller \
     34                --disable-utf8
    3435
    35 set docdir       ${prefix}/share/doc/${name}-${version}
     36destroot.target install-strip
     37
     38set docdir      ${prefix}/share/doc/${name}-${version}
    3639
    3740post-destroot {
     
    9497livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
    9598livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)
     99
  • trunk/dports/editors/scite/Portfile

    r28690 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    scite
    6 version                 1.74
    7 categories              editors
    8 platforms               darwin
    9 maintainers             nox
    10 description             SciTE is a SCIntilla based Text Editor.
     5name            scite
     6version         1.74
     7categories      editors
     8platforms       darwin
     9maintainers     nox
     10description     SciTE is a SCIntilla based Text Editor.
    1111
    1212long_description \
    13         Originally built to demonstrate Scintilla, it has grown to be a generally \
    14         useful editor with facilities for building and running programs. It is best \
    15         used for jobs with simple configurations.
     13    Originally built to demonstrate Scintilla, it has grown to be a generally \
     14    useful editor with facilities for building and running programs. It is best \
     15    used for jobs with simple configurations.
    1616
    17 homepage                http://scintilla.sourceforge.net/SciTE.html
    18 master_sites    sourceforge:scintilla
    19 distname                ${name}[strsed ${version} {g/\.//}]
    20 extract.suffix  .tgz
     17homepage        http://scintilla.sourceforge.net/SciTE.html
     18master_sites    sourceforge:scintilla
     19distname        ${name}[strsed ${version} {g/\.//}]
     20extract.suffix  .tgz
    2121
    22 depends_build   port:pkgconfig
    23 depends_lib             port:gtk2
     22depends_build   port:pkgconfig
     23depends_lib     port:gtk2
    2424
    25 checksums               md5 09ad25f1fa6dab3feec41dba2480047f \
    26                                 sha1 64066ed557c15821a50955b86acdda0d32e0a472 \
    27                                 rmd160 a4547865bf2884108fbfbc8eaae1c7d1200ddd47
     25checksums       md5 09ad25f1fa6dab3feec41dba2480047f \
     26                sha1 64066ed557c15821a50955b86acdda0d32e0a472 \
     27                rmd160 a4547865bf2884108fbfbc8eaae1c7d1200ddd47
    2828
    29 worksrcdir              ${name}/gtk
     29worksrcdir      ${name}/gtk
    3030
    31 patchfiles              patch-scintilla-gtk-makefile \
    32                                 patch-scite-gtk-makefile
     31patchfiles      patch-scintilla-gtk-makefile \
     32                patch-scite-gtk-makefile
    3333
    3434post-patch {
    35         cd ${workpath}/scintilla
    36         reinplace -E "s/#ifdef (PLAT_MACOSX|__APPLE__)/#if PLAT_MACOSX/" include/Platform.h src/Editor.cxx
     35    cd ${workpath}/scintilla
     36    reinplace -E "s/#ifdef (PLAT_MACOSX|__APPLE__)/#if PLAT_MACOSX/" include/Platform.h src/Editor.cxx
    3737}
    3838
    39 use_configure   no
     39use_configure   no
    4040
    41 build.args              prefix=${prefix} GTK2=yes
     41build.args      prefix=${prefix} GTK2=yes
    4242
    4343pre-build {
    44         cd ${workpath}/scintilla/gtk
     44    cd ${workpath}/scintilla/gtk
    4545       
    46         if {[variant_isset universal]} {
    47                 foreach {arch} {i386 ppc} {
    48                         system "make GTK2=yes UNIVERSAL_CFLAGS=\"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ${arch}\""
     46    if {[variant_isset universal]} {
     47        foreach {arch} {i386 ppc} {
     48                    system "make GTK2=yes UNIVERSAL_CFLAGS=\"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ${arch}\""
    4949
    50                         file mkdir ../bin/${arch}
    51                         move ../bin/scintilla.a ../bin/${arch}/scintilla.a
     50            file mkdir ../bin/${arch}
     51            move ../bin/scintilla.a ../bin/${arch}/scintilla.a
    5252
    53                         system "make clean"
    54                 }
     53            system "make clean"
     54        }
    5555
    56                 cd ../bin
    57                 system "lipo -create -arch i386 i386/scintilla.a -arch ppc ppc/scintilla.a -output scintilla.a"
    58         } else {
    59                 system "make GTK2=yes"
    60         }
     56        cd ../bin
     57        system "lipo -create -arch i386 i386/scintilla.a -arch ppc ppc/scintilla.a -output scintilla.a"
     58    } else {
     59        system "make GTK2=yes"
     60    }
    6161}
    6262
    63 destroot.destdir prefix=${destroot}${prefix}
     63destroot.destdir    prefix=${destroot}${prefix}
    6464
    6565post-destroot {
    66         xinstall -m 0444 ${worksrcpath}/../doc/scite.1 ${destroot}${prefix}/share/man/man1
     66    xinstall -m 0444 ${worksrcpath}/../doc/scite.1 ${destroot}${prefix}/share/man/man1
    6767}
    6868
    6969variant universal {
    70         post-patch {
    71                 cd ${workpath}
     70    post-patch {
     71        cd ${workpath}
    7272
    73                 reinplace -E "/^CXXBASEFLAGS/s|\$| \$(UNIVERSAL_CFLAGS)|" scintilla/gtk/makefile
    74                 reinplace -E "/^CXXBASEFLAGS/s|\$| ${configure.universal_cflags}|" \
    75                         scite/gtk/makefile
    76         }
     73        reinplace -E "/^CXXBASEFLAGS/s|\$| \$(UNIVERSAL_CFLAGS)|" scintilla/gtk/makefile
     74        reinplace -E "/^CXXBASEFLAGS/s|\$| ${configure.universal_cflags}|" \
     75            scite/gtk/makefile
     76    }
    7777
    78         build.args-append "UNIVERSAL_LDFLAGS=\"${configure.universal_ldflags}\""
     78    build.args-append  "UNIVERSAL_LDFLAGS=\"${configure.universal_ldflags}\""
    7979}
    8080
    81 livecheck.distname SciTE
     81livecheck.distname  SciTE
    8282
  • trunk/dports/games/kanatest/Portfile

    r28367 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    kanatest
    6 version                 0.4.3
    7 categories              games education
    8 platforms               darwin
    9 maintainers             nox
    10 description             Kanatest is a Japanese kana (Hiragana and Katakana) simple flashcard tool.
     5name            kanatest
     6version         0.4.3
     7categories      games education
     8platforms       darwin
     9maintainers     nox
     10description     Kanatest is a Japanese kana (Hiragana and Katakana) simple flashcard tool.
    1111
    1212long_description \
    13         Kanatest is a Japanese kana (hiragana and katakana) simple flashcard tool. It offers fourteen \
    14         lessons and three drill modes: hiragana, katakana, and mixed mode. The tool displays randomly \
    15         selected kana characters (respecting mode and lesson) and waits for the user answer (expected \
    16         as the romaji equivalent). This process continues until all questions are answered or all \
    17         questions are answered correctly (depending on options). At the end of test, information about \
    18         drilling time and correctness ratio is displayed. The results are stored, and a user can review \
    19         his performance at any time.
     13    Kanatest is a Japanese kana (hiragana and katakana) simple flashcard tool. It offers fourteen \
     14    lessons and three drill modes: hiragana, katakana, and mixed mode. The tool displays randomly \
     15    selected kana characters (respecting mode and lesson) and waits for the user answer (expected \
     16    as the romaji equivalent). This process continues until all questions are answered or all \
     17    questions are answered correctly (depending on options). At the end of test, information about \
     18    drilling time and correctness ratio is displayed. The results are stored, and a user can review \
     19    his performance at any time.
    2020
    21 homepage                http://clay.ll.pl/kanatest/
    22 master_sites    ${homepage}
     21homepage        http://clay.ll.pl/kanatest/
     22master_sites    ${homepage}
    2323
    24 checksums               md5 f41b133b4cc0bc05c6fec4a5692e2686 \
    25                                 sha1 96e8f4b8f84f014b41113daf85c81b8a50f73c6a \
    26                                 rmd160 7b8052ff0ef492b4f5a84ee3a72bd7e0f811cfc3
     24checksums       md5 f41b133b4cc0bc05c6fec4a5692e2686 \
     25                sha1 96e8f4b8f84f014b41113daf85c81b8a50f73c6a \
     26                rmd160 7b8052ff0ef492b4f5a84ee3a72bd7e0f811cfc3
    2727
    28 depends_lib             port:gettext \
    29                                 port:glib2 \
    30                                 port:gtk2 \
    31                                 port:libiconv \
    32                                 port:libxml2 \
    33                                 port:pkgconfig
     28depends_lib     port:gettext \
     29                port:glib2 \
     30                port:gtk2 \
     31                port:libiconv \
     32                port:libxml2 \
     33                port:pkgconfig
    3434
    3535post-destroot {
    36         set docdir ${prefix}/share/doc/${name}-${version}
    37         xinstall -d ${destroot}${docdir}
    38         xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
    39                 ${destroot}${docdir}
     36    set docdir ${prefix}/share/doc/${name}-${version}
     37    xinstall -d ${destroot}${docdir}
     38    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
     39        ${destroot}${docdir}
    4040}
    4141
  • trunk/dports/multimedia/XviD/Portfile

    r28449 r28880  
    11# $Id$
    22
    3 PortSystem                      1.0
     3PortSystem          1.0
    44
    5 name                            XviD
    6 version                         1.1.3
    7 categories                      multimedia devel
    8 platforms                       darwin sunos
    9 maintainers                     nox
    10 description                     High performance and high quality MPEG-4 video library
     5name                XviD
     6version             1.1.3
     7categories          multimedia devel
     8platforms           darwin sunos
     9maintainers         nox
     10description         High performance and high quality MPEG-4 video library
    1111
    12 long_description        The Xvid video codec implements MPEG-4 Simple Profile and Advanced \
    13                                         Simple Profile standards. It permits compressing and decompressing \
    14                                         digital video in order to reduce the required bandwidth of video \
    15                                         data for transmission over computer networks or efficient storage on \
    16                                         CDs or DVDs. Due to its unrivalled quality Xvid has gained great \
    17                                         popularity and is used in many other GPLed applications, like e.g. \
    18                                         Transcode, MEncoder, MPlayer, Xine and many more.
     12long_description    The Xvid video codec implements MPEG-4 Simple Profile and Advanced \
     13                    Simple Profile standards. It permits compressing and decompressing \
     14                    digital video in order to reduce the required bandwidth of video \
     15                    data for transmission over computer networks or efficient storage on \
     16                    CDs or DVDs. Due to its unrivalled quality Xvid has gained great \
     17                    popularity and is used in many other GPLed applications, like e.g. \
     18                    Transcode, MEncoder, MPlayer, Xine and many more.
    1919
    20 homepage                        http://www.xvid.org/
    21 master_sites            http://downloads.xvid.org/downloads/
    22 distname                        xvidcore-${version}
    23 use_bzip2                       yes
     20homepage            http://www.xvid.org/
     21master_sites        http://downloads.xvid.org/downloads/
     22distname            xvidcore-${version}
     23use_bzip2           yes
    2424
    25 checksums                       md5 29c60d4d991ac18f687a8fd13cfe64b7 \
    26                                         sha1 7a945c245851e115bc107aa621f72d775a5d1adb \
    27                                         rmd160 f890a2ef58be5362aa1d2894e748ef11a0c7bba8
     25checksums           md5 29c60d4d991ac18f687a8fd13cfe64b7 \
     26                    sha1 7a945c245851e115bc107aa621f72d775a5d1adb \
     27                    rmd160 f890a2ef58be5362aa1d2894e748ef11a0c7bba8
    2828
    29 worksrcdir                      ${distname}/build/generic
     29worksrcdir          ${distname}/build/generic
    3030
    3131platform darwin i386 {
    32         configure.args-append --disable-assembly
     32    configure.args-append --disable-assembly
    3333}
    3434
    3535post-destroot {
    36         set docdir ${prefix}/share/doc/${name}-${version}
    37         xinstall -m 0755 -d ${destroot}${docdir}
    38         xinstall -m 0644 -W ${worksrcpath}/../.. AUTHORS ChangeLog LICENSE TODO \
    39                 ${destroot}${docdir}
     36    set docdir ${prefix}/share/doc/${name}-${version}
     37    xinstall -m 0755 -d ${destroot}${docdir}
     38    xinstall -m 0644 -W ${worksrcpath}/../.. AUTHORS ChangeLog LICENSE TODO \
     39        ${destroot}${docdir}
    4040}
    4141
  • trunk/dports/multimedia/libogg/Portfile

    r28546 r28880  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    libogg
    6 version                 1.1.3
    7 revision                2
    8 categories              multimedia
    9 platforms               darwin
    10 maintainers             nox openmaintainer
    11 description             Ogg Bitstream Library
     5name            libogg
     6version         1.1.3
     7revision        2
     8categories      multimedia
     9platforms       darwin
     10maintainers     nox openmaintainer
     11description     Ogg Bitstream Library
    1212
    1313long_description \
     
    1515    making ogg bitstreams and getting packets from ogg bitstreams.
    1616
    17 homepage                http://www.vorbis.com/
    18 master_sites    http://downloads.xiph.org/releases/ogg/
     17homepage        http://www.vorbis.com/
     18master_sites    http://downloads.xiph.org/releases/ogg/
    1919
    20 checksums               md5 eaf7dc6ebbff30975de7527a80831585 \
    21                                 sha1 a3e495a8baf6939efad7e0bd11cc0e466838c3db \
    22                                 rmd160 2dc0ab120416441a007cf1017f461372eab03c0d
     20checksums       md5 eaf7dc6ebbff30975de7527a80831585 \
     21                sha1 a3e495a8baf6939efad7e0bd11cc0e466838c3db \
     22                rmd160 2dc0ab120416441a007cf1017f461372eab03c0d
    2323
    2424post-patch {
    25         reinplace "s/__MACOSX__/__APPLE__/" ${worksrcpath}/include/ogg/os_types.h
     25    reinplace "s/__MACOSX__/__APPLE__/" ${worksrcpath}/include/ogg/os_types.h
    2626}
    2727
    2828post-configure {
    29         cd ${worksrcpath}
     29    cd ${worksrcpath}
    3030
    31         if {[variant_isset universal]} {
    32                 reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" libtool
    33         }
     31    if {[variant_isset universal]} {
     32        reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" libtool
     33    }
    3434
    35         if {! [variant_isset doc]} {
    36                 reinplace -E "/^install:/s/install-recursive//" doc/Makefile
    37         }
     35    if {! [variant_isset doc]} {
     36        reinplace -E "/^install:/s/install-recursive//" doc/Makefile
     37    }
    3838}
    3939
    4040post-destroot {
    41         set docdir ${prefix}/share/doc/${name}-${version}
    42         if {! [variant_isset doc]} {
    43                 xinstall -d ${destroot}${docdir}
    44         }
    45         xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README ${destroot}${docdir}
     41    set docdir ${prefix}/share/doc/${name}-${version}
     42    if {! [variant_isset doc]} {
     43        xinstall -d ${destroot}${docdir}
     44    }
     45    xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README ${destroot}${docdir}
    4646}
    4747
  • trunk/dports/shells/zsh-devel/Portfile

    r28532 r28880  
    11# $Id$
    22
    3 PortSystem 1.0
    4 name            zsh-devel
    5 set my_name [strsed ${name} {s/-.*//}]
    6 version         4.3.4
    7 revision    1
    8 categories shells
    9 maintainers     nox
    10 description     Zsh is a UNIX command interpreter (shell)
    11 long_description        Zsh is a UNIX command interpreter (shell) which of \
    12                         the standard shells most resembles the Korn shell \
    13                         (ksh), although it is not completely compatible. \
    14                         It includes enhancements of many types, notably in \
    15                         the command-line editor, options for customising its \
    16                         behaviour, filename globbing, features to make \
    17                         C-shell (csh) users feel more at home and extra \
    18                         features drawn from tcsh (another `custom' shell).
    19 homepage        http://www.zsh.org/
    20 platforms       darwin
    21 use_bzip2       yes
     3PortSystem      1.0
     4
     5name            zsh-devel
     6set my_name     [strsed ${name} {s/-.*//}]
     7version         4.3.4
     8revision        1
     9categories      shells
     10platforms       darwin
     11maintainers     nox
     12description     Zsh is a UNIX command interpreter (shell)
     13
     14long_description \
     15    Zsh is a UNIX command interpreter (shell) which of the standard shells most resembles the Korn shell \
     16    (ksh), although it is not completely compatible. It includes enhancements of many types, notably in \
     17        the command-line editor, options for customising its behaviour, filename globbing, features to make \
     18    C-shell (csh) users feel more at home and extra features drawn from tcsh (another `custom' shell).
     19
     20homepage        http://www.zsh.org/
     21use_bzip2       yes
     22dist_subdir     ${my_name}
     23distname        ${my_name}-${version}
    2224master_sites    ${homepage}pub/ \
    2325                ftp://ftp.zsh.org/${my_name} \
     
    3335                http://deb.grml.org/pool/main/z/${my_name}-lovers/:love
    3436
    35 dist_subdir     ${my_name}
    36 distname        ${my_name}-${version}
    3737set love_distname   zsh-lovers_0.6-5
    3838set love_distfile       ${love_distname}.tar.gz
     
    5353                    rmd160 485d430fa31d3451258f42e8e188e00eeb72ae6a
    5454
    55 depends_lib     port:libiconv port:ncurses
    56 configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
    57                 --with-curses-terminfo \
    58                 --enable-etcdir=${prefix}/etc
     55depends_lib     port:libiconv \
     56                port:ncurses
     57
     58configure.args  --mandir=${prefix}/share/man \
     59                --infodir=${prefix}/share/info \
     60                --with-curses-terminfo \
     61                --enable-etcdir=${prefix}/etc
    5962
    6063test.run        yes
     
    8689platform darwin {
    8790    # Dynamic loadable libraries' extension is `bundle` on Darwin
    88     configure.env-append DL_EXT=bundle
     91    configure.env-append    DL_EXT=bundle
    8992}
    9093
    9194platform darwin 8 {
    92         configure.compiler      gcc-4.0
     95        configure.compiler  gcc-4.0
     96
    9397        post-configure {
    9498        # poll(2) is broken on Darwin 8.
     
    115119
    116120variant doc description {Install extra documentation} {
    117     distfiles-append        [suffix ${distname}-doc]
     121    distfiles-append    [suffix ${distname}-doc]
    118122
    119123    post-destroot {
     
    128132
    129133variant examples description {Install configuration examples} {
    130     distfiles-append        ${love_distfile}:love
    131     extract.only-delete     ${love_distfile}
     134    distfiles-append    ${love_distfile}:love
     135    extract.only-delete ${love_distfile}
    132136
    133137    post-extract {
     
    156160
    157161livecheck.distname  ${my_name}-dev
     162
  • trunk/dports/textproc/gsed/Portfile

    r28443 r28880  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem      1.0
     4
    45name            gsed
    56set my_name     sed
    67version         4.1.5
    78revision        1
    8 distname        ${my_name}-${version}
    99categories      textproc
     10platforms       darwin
    1011maintainers     nox
    11 platforms       darwin
    12 master_sites    gnu:${my_name}
    13 homepage        http://www.gnu.org/software/${my_name}/
    14 checksums       md5 7a1cbbbb3341287308e140bd4834c3ba \
    15                 sha1 8e575e8a44568392d5b6e089eab5da5cdbd45885 \
    16                 rmd160 49b12e99a55c6d2e78ad236f0205e63e46444173
     12description     GNU version of the stream editor, sed
    1713
    18 description     GNU version of the stream editor, sed
    1914long_description \
    2015    Sed (streams editor) isn't really a true text editor or text        \
     
    2419    of a file using pattern matching or substituting multiple occurances\
    2520    of a string within a file.
     21
     22homepage        http://www.gnu.org/software/${my_name}/
     23master_sites    gnu:${my_name}
     24distname        ${my_name}-${version}
     25
     26checksums       md5 7a1cbbbb3341287308e140bd4834c3ba \
     27                sha1 8e575e8a44568392d5b6e089eab5da5cdbd45885 \
     28                rmd160 49b12e99a55c6d2e78ad236f0205e63e46444173
    2629
    2730patchfiles      patch-configure
  • trunk/dports/textproc/most/Portfile

    r28020 r28880  
    11# $Id$
    22
    3 PortSystem 1.0
    4 name             most
    5 version          4.10.2
    6 categories       textproc
    7 maintainers      nox openmaintainer
    8 description      powerful paging program
     3PortSystem      1.0
     4name            most
     5version         4.10.2
     6categories      textproc
     7platforms        darwin
     8maintainers     nox openmaintainer
     9description     powerful paging program
     10
    911long_description \
    1012    MOST is a powerful paging program for Unix, VMS, MSDOS, and \
     
    1214    most supports multiple windows and can scroll left and right. \
    1315    Why settle for less?
    14 homepage         http://www.jedsoft.org/${name}/
    15 platforms        darwin
    16 master_sites     ftp://space.mit.edu/pub/davis/${name}/
    17 use_bzip2        yes
    18 checksums        md5 99a24b6989ac81f436791b957b2e171a \
    19                  sha1 ae0f271d9a0bc1db9944cced78cc9f76818aabf3 \
    20                  rmd160 5fca40fad3455bbaea9949268f53496055359b49
    21 depends_lib      port:slang
     16
     17homepage        http://www.jedsoft.org/${name}/
     18master_sites    ftp://space.mit.edu/pub/davis/${name}/
     19use_bzip2       yes
     20
     21checksums       md5 99a24b6989ac81f436791b957b2e171a \
     22                sha1 ae0f271d9a0bc1db9944cced78cc9f76818aabf3 \
     23                rmd160 5fca40fad3455bbaea9949268f53496055359b49
     24
     25depends_lib     port:slang
    2226
    2327post-patch {
    24         cd ${worksrcpath}/src
     28    cd ${worksrcpath}/src
    2529
    26         reinplace -E "/MAN_DIR/s|man|share/man|" Makefile.in
    27         reinplace -E "/DOC_DIR/s|doc.*\$|share/doc/${name}-${version}|" Makefile.in
     30    reinplace -E "/MAN_DIR/s|man|share/man|" Makefile.in
     31    reinplace -E "/DOC_DIR/s|doc.*\$|share/doc/${name}-${version}|" Makefile.in
    2832}
    2933
Note: See TracChangeset for help on using the changeset viewer.