Ignore:
Timestamp:
Feb 8, 2008, 8:16:13 PM (12 years ago)
Author:
narf_tm@…
Message:

Fixed whitespace and lint errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-dbd-pg/Portfile

    r33740 r33969  
    11# $Id$
    22
    3 PortSystem 1.0
    4 PortGroup perl5 1.0
     3PortSystem            1.0
     4PortGroup             perl5 1.0
    55
    6 perl5.setup     DBD-Pg 1.49
    7 categories      perl databases
    8 maintainers     narf_tm openmaintainer
    9 description     Perl DBI module to provide access to PostgreSQL databases
    10 long_description        DBD::Pg is a Perl module which works with the DBI \
    11                         module to provide access to PostgreSQL databases
    12 platforms       darwin
    13 checksums       sha1 37c1c37a02afa00d48f8dd739d5d8502a7c40045
     6perl5.setup           DBD-Pg 1.49
     7categories            perl databases
     8maintainers           narf_tm openmaintainer
     9description           Perl DBI module to provide access to PostgreSQL databases
     10long_description      DBD::Pg is a Perl module which works with the DBI \
     11                      module to provide access to PostgreSQL databases
    1412
    15 depends_lib-append      port:postgresql83 port:openssl port:p5-dbi
     13platforms             darwin
    1614
    17 configure.env   PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
    18                         POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
    19                         POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
     15checksums             sha1 37c1c37a02afa00d48f8dd739d5d8502a7c40045
    2016
    21 variant postgresql7 conflicts postgresql80 postgresql81 postgresql82 {
    22         depends_lib-delete port:postgresql83
    23         depends_lib-append port:postgresql7
    24         configure.env-delete PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
    25                         POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
    26                         POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
    27         configure.env-append PATH=${prefix}/lib/pgsql7/bin:$env(PATH) \
    28                                 POSTGRES_INCLUDE="${prefix}/include/pgsql7" \
    29                                 POSTGRES_LIB="${prefix}/lib/pgsql7 -lssl"
     17depends_lib-append    port:postgresql83 \
     18                      port:openssl \
     19                      port:p5-dbi
     20
     21configure.env         PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
     22                      POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
     23                      POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
     24
     25variant postgresql7 conflicts postgresql80 postgresql81 postgresql82 description {build with postgresql7 port} {
     26    depends_lib-delete      port:postgresql83
     27    depends_lib-append      port:postgresql7
     28
     29    configure.env-delete    PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
     30                            POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
     31                            POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
     32
     33    configure.env-append    PATH=${prefix}/lib/pgsql7/bin:$env(PATH) \
     34                            POSTGRES_INCLUDE="${prefix}/include/pgsql7" \
     35                            POSTGRES_LIB="${prefix}/lib/pgsql7 -lssl"
    3036}
    3137
    32 variant postgresql80 conflicts postgresql7 postgresql81 postgresql82 {
    33         depends_lib-delete port:postgresql83
    34         depends_lib-append port:postgresql80
    35         configure.env-delete PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
    36                         POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
    37                         POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
    38         configure.env-append PATH=${prefix}/lib/pgsql8/bin:$env(PATH) \
    39                                 POSTGRES_INCLUDE="${prefix}/include/pgsql8" \
    40                                 POSTGRES_LIB="${prefix}/lib/pgsql8 -lssl"
     38variant postgresql80 conflicts postgresql7 postgresql81 postgresql82 description {build with postgresql80 port} {
     39    depends_lib-delete      port:postgresql83
     40    depends_lib-append      port:postgresql80
     41
     42    configure.env-delete    PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
     43                            POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
     44                            POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
     45
     46    configure.env-append    PATH=${prefix}/lib/pgsql8/bin:$env(PATH) \
     47                            POSTGRES_INCLUDE="${prefix}/include/pgsql8" \
     48                            POSTGRES_LIB="${prefix}/lib/pgsql8 -lssl"
    4149}
    4250
    43 variant postgresql81 conflicts postgresql7 postgresql80 postgresql82 {
    44         depends_lib-delete port:postgresql83
    45         depends_lib-append port:postgresql81
    46         configure.env-delete PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
    47                         POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
    48                         POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
    49         configure.env-append PATH=${prefix}/lib/postgresql81/bin:$env(PATH) \
    50                                 POSTGRES_INCLUDE="${prefix}/include/postgresql81" \
    51                                 POSTGRES_LIB="${prefix}/lib/postgresql81 -lssl"
     51variant postgresql81 conflicts postgresql7 postgresql80 postgresql82 description {build with postgresql81 port} {
     52    depends_lib-delete      port:postgresql83
     53    depends_lib-append      port:postgresql81
     54
     55    configure.env-delete    PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
     56                            POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
     57                            POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
     58
     59    configure.env-append    PATH=${prefix}/lib/postgresql81/bin:$env(PATH) \
     60                            POSTGRES_INCLUDE="${prefix}/include/postgresql81" \
     61                            POSTGRES_LIB="${prefix}/lib/postgresql81 -lssl"
    5262}
    5363
    54 variant postgresql82 conflicts postgresql7 postgresql80 postgresql81 {
    55         depends_lib-delete port:postgresql83
    56         depends_lib-append port:postgresql82
    57         configure.env-delete PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
    58                         POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
    59                         POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
    60         configure.env-append PATH=${prefix}/lib/postgresql82/bin:$env(PATH) \
    61                                 POSTGRES_INCLUDE="${prefix}/include/postgresql82" \
    62                                 POSTGRES_LIB="${prefix}/lib/postgresql82 -lssl"
     64variant postgresql82 conflicts postgresql7 postgresql80 postgresql81 description {build with postgresql82 port} {
     65    depends_lib-delete      port:postgresql83
     66    depends_lib-append      port:postgresql82
     67
     68    configure.env-delete    PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \
     69                            POSTGRES_INCLUDE="${prefix}/include/postgresql83" \
     70                            POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl"
     71
     72    configure.env-append    PATH=${prefix}/lib/postgresql82/bin:$env(PATH) \
     73                            POSTGRES_INCLUDE="${prefix}/include/postgresql82" \
     74                            POSTGRES_LIB="${prefix}/lib/postgresql82 -lssl"
    6375}
Note: See TracChangeset for help on using the changeset viewer.