Ticket #19965: Portfile-mnogosearch.2.diff

File Portfile-mnogosearch.2.diff, 5.6 KB (added by dbraband@…, 15 years ago)
  • www/mnogosearch/Portfile

    old new  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    12# $Id: Portfile 30257 2007-10-23 02:28:30Z jmpp@macports.org $
    23
    3 PortSystem                      1.0
    4 name                            mnogosearch
    5 version                         3.3.3
    6 categories                      www
    7 maintainers                     nomaintainer
    8 description                     Full-featured SQL-based web search engine
    9 long_description \
    10         mnoGoSearch is a full-featured SQL-based web search engine. \
    11         mnoGoSearch consists of two parts. The first part is the indexing \
    12         mechanism (indexer).  indexer walks over html hypertext references and \
    13         stores found words and new references into a database. The second part \
    14         is the web CGI front-end to provide searching using data collected by \
    15         indexer.
    16 
    17 platforms                       darwin
    18 
    19 homepage                        http://www.mnogosearch.org/
    20 master_sites            ${homepage}Download/
    21 
    22 checksums                       md5 aaac63ef71fbee7890f09bcf5a41f3d4
    23 
    24 depends_lib                     port:openssl port:zlib
    25 
    26 patchfiles                      patch-doc_Makefile.in
    27 
    28 configure.args          --sysconfdir=${prefix}/etc/mnogosearch \
    29                                         --localstatedir=${prefix}/var/mnogosearch \
    30                                         --datadir=${prefix}/share/mnogosearch \
    31                                         --mandir=${prefix}/share/man --disable-static \
    32                                         --with-openssl --with-zlib
     4PortSystem          1.0
     5
     6name                mnogosearch
     7version             3.3.8
     8categories          www
     9platforms           darwin
     10maintainers         gmail.com:dbraband openmaintainer
     11description         Full-featured SQL-based web search engine
     12long_description    mnoGoSearch is a full-featured SQL-based web search \
     13                    engine. mnoGoSearch consists of two parts. The first \
     14                    part is the indexing mechanism (indexer).  indexer walks \
     15                    over html hypertext references and stores found words \
     16                    and new references into a database. The second part is \
     17                    the web CGI front-end to provide searching using data \
     18                    collected by indexer.
     19
     20homepage            http://www.mnogosearch.org/
     21master_sites        ${homepage}Download/
     22checksums           md5 4c561e3f7fb4c7328e2aa242474d7836 \
     23                    sha1 c0195aed87476296172884c2adbcfeb6f67d9bc4 \
     24                    rmd160 f28ede3c9eae4ae9a0351900a1cbf5a519b989a8
     25depends_lib         port:openssl port:zlib
     26patchfiles          patch-doc_Makefile.in
     27
     28configure.args      --sysconfdir=${prefix}/etc/mnogosearch \
     29                    --localstatedir=${prefix}/var/mnogosearch \
     30                    --datadir=${prefix}/share/mnogosearch \
     31                    --mandir=${prefix}/share/man --disable-static \
     32                    --with-openssl --with-zlib
    3333
    3434post-configure {
    35         ui_msg "\n\n-------------------------------------------------------------"
    36         ui_msg "Note:  if you did not select any database variants, mnogosearch"
    37         ui_msg "will be built without the indexer (which may not be what you"
    38         ui_msg "wanted)."
    39         ui_msg "-------------------------------------------------------------\n\n"
     35    ui_msg "\n\n-------------------------------------------------------------"
     36    ui_msg "Note:  if you did not select any database variants, mnogosearch"
     37    ui_msg "will be built without the indexer (which may not be what you"
     38    ui_msg "wanted)."
     39    ui_msg "-------------------------------------------------------------\n\n"
    4040}
    4141
    4242destroot.keepdirs       ${destroot}${prefix}/var/mnogosearch
    4343
    4444post-destroot {
    45         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    46         xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
    47                 NEWS README README.CVS README.XML TODO \
    48                 ${destroot}${prefix}/share/doc/${name}
     45    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     46    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
     47        NEWS README README.CVS README.XML TODO \
     48        ${destroot}${prefix}/share/doc/${name}
    4949}
    5050
    5151variant mysql3 {
    52         depends_lib-append              port:mysql3
    53         configure.args-append   --with-mysql=${prefix}
     52    depends_lib-append      port:mysql3
     53    configure.args-append   --with-mysql=${prefix}
    5454}
    5555
    5656variant mysql4 {
    57         depends_lib-append              port:mysql4
    58         configure.args-append   --with-mysql=${prefix}
     57    depends_lib-append      port:mysql4
     58    configure.args-append   --with-mysql=${prefix}
    5959}
    6060
    6161variant mysql5 {
    62         use_autoconf yes
    63         patchfiles-append       patch-locations_configure.in
    64         depends_lib-append              port:mysql5
    65         configure.args-append   --with-mysql=${prefix}
     62    use_autoconf yes
     63    patchfiles-append       patch-locations_configure.in
     64    depends_lib-append      port:mysql5
     65    configure.args-append   --with-mysql=${prefix}
    6666}
    6767
    6868variant postgresql7 {
    69         depends_lib-append              port:postgresql7
    70         configure.args-append   --with-pgsql=${prefix}/lib/pgsql7
     69    depends_lib-append      port:postgresql7
     70    configure.args-append   --with-pgsql=${prefix}/lib/pgsql7
    7171}
    7272
    7373variant postgresql81 {
    74         depends_lib-append              port:postgresql81
    75         configure.args-append   --with-pgsql=${prefix}/lib/postgresql81
     74    depends_lib-append      port:postgresql81
     75    configure.args-append   --with-pgsql=${prefix}/lib/postgresql81
     76}
     77
     78variant postgresql83 {
     79    use_autoconf yes
     80    patchfiles-append       patch-locations_configure.in
     81    depends_lib-append      port:postgresql83
     82    configure.args-append   --with-pgsql=${prefix}
    7683}
    7784
     85
    7886# Other database variants would go here
    7987
    8088variant nosyslog {
    81         configure.args-append   --disable-syslog
     89    configure.args-append   --disable-syslog
    8290}
    8391