Ticket #16909: patch-Portfile.diff

File patch-Portfile.diff, 3.1 KB (added by myschizobuddy@…, 16 years ago)
  • Portfile

     
    22
    33PortSystem 1.0
    44
    5 name                    sqlite3
    6 version                 3.6.3
    7 categories              databases
    8 platforms               darwin
    9 maintainers             mww
    10 description             an embedded SQL database engine
    11 long_description        SQLite3 is an SQL database engine in a C library. \
    12                                 Programs that link the SQLite3 library can have SQL \
    13                                 database access without running a separate RDBMS \
    14                                 process. The distribution comes with a standalone \
    15                                 command-line access program (sqlite3) that can be used \
    16                                 to administer an SQLite3 database and which serves as \
    17                                 an example of how to use the SQLite3 library.
    18 
    19 homepage                http://www.sqlite.org/
    20 master_sites    ${homepage}
    21 distname                sqlite-${version}
    22 dist_subdir             ${name}/${version}
    23 checksums               sha1 f1f697777f1d2ca2fbc5dbb7d115ad2da26944c5
     5name            sqlite3
     6version         3.6.4
     7categories      databases
     8platforms       darwin
     9maintainers     mww
     10description     an embedded SQL database engine
     11long_description    SQLite3 is an SQL database engine in a C library. \
     12                Programs that link the SQLite3 library can have SQL \
     13                database access without running a separate RDBMS \
     14                process. The distribution comes with a standalone \
     15                command-line access program (sqlite3) that can be used \
     16                to administer an SQLite3 database and which serves as \
     17                an example of how to use the SQLite3 library.
     18
     19homepage        http://www.sqlite.org/
     20master_sites    ${homepage}
     21distname        sqlite-${version}
     22
     23checksums       md5 b9832cd8734d4568e384e1c60b50c92f \
     24                sha1 af1082c0455aa672a9e1ca700eb53d986f6ac846 \
     25                rmd160 b420b8a196807feb5162f293ea64e7741a633e92
    2426
    25 depends_build           port:gawk port:gmake
    26 depends_lib             port:readline
     27depends_build       port:gawk port:gmake
     28depends_lib     port:readline
    2729
    2830# '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
    29 configure.args  --enable-threadsafe --disable-tcl \
    30                         --with-readline-inc="-I${prefix}/include" \
    31                         --with-readline-lib="-L${prefix}/lib -lreadline -lm"
     31configure.args  --enable-threadsafe --disable-tcl \
     32            --with-readline-inc="-I${prefix}/include" \
     33            --with-readline-lib="-L${prefix}/lib -lreadline -lm"
    3234
    33 configure.awk           "${prefix}/bin/gawk"
     35configure.awk       "${prefix}/bin/gawk"
    3436
    35 use_parallel_build      yes
    36 build.type              gnu
     37use_parallel_build  yes
     38build.type      gnu
    3739
    38 test.run                yes
    39 test.target             test
     40test.run        yes
     41test.target     test
    4042
    41 livecheck.check regex
    42 livecheck.url   http://www.sqlite.org/download.html
    43 livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.
     43livecheck.check regex
     44livecheck.url   http://www.sqlite.org/download.html
     45livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.
    4446
    4547post-destroot {
    46         xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
     48    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
    4749}
    4850
    4951variant loadable_extensions description {Enables experimental loadable extensions} {
    50         configure.args-append --enable-load-extension
     52    configure.args-append --enable-load-extension
    5153}
    52