Changeset 143425


Ignore:
Timestamp:
Dec 12, 2015, 10:38:32 AM (4 years ago)
Author:
mojca@…
Message:

postgrey: switch to perl5.22 using the perl5 portgroup (#48365, untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/postgrey/Portfile

    r143424 r143425  
    33
    44PortSystem          1.0
     5PortGroup           perl5 1.0
    56
    67name                postgrey
    78version             1.35
     9revision            1
    810categories          mail
    911license             GPL-2
     
    2628                    sha256  f6a6956630803e6f79ebff6ad0cc0d46ba32046ed6cc260e38e6f591de7bbdcf
    2729
    28 depends_lib-append  port:p5.16-berkeleydb \
    29                     port:p5.16-io-multiplex \
    30                     port:p5.16-net-server
     30perl5.branches      5.22
     31depends_lib-append  port:p${perl5.major}-berkeleydb \
     32                    port:p${perl5.major}-io-multiplex \
     33                    port:p${perl5.major}-net-server
    3134
    32 
    33 startupitem.create      yes
    34 startupitem.start       "${prefix}/share/postgrey/postgrey.sh start"
    35 startupitem.stop        "${prefix}/share/postgrey/postgrey.sh stop"
     35startupitem.create  yes
     36startupitem.start   "${prefix}/share/postgrey/postgrey.sh start"
     37startupitem.stop    "${prefix}/share/postgrey/postgrey.sh stop"
    3638
    3739configure {
    3840    system "echo all: > ${worksrcpath}/Makefile"
    39     reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
     41    reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
    4042        ${worksrcpath}/postgrey \
    4143        ${worksrcpath}/contrib/postgreyreport
     
    6971        ${destroot}${prefix}/var/run/postgrey \
    7072        ${destroot}${prefix}/etc/postgrey
    71     system "${prefix}/bin/pod2man-5.16 --section=8 ${worksrcpath}/postgrey > \
     73    system "${prefix}/bin/pod2man-${perl5.major} --section=8 ${worksrcpath}/postgrey > \
    7274        ${destroot}${prefix}/share/man/man8/postgrey.8"
    73     system "${prefix}/bin/pod2man-5.16 --section=1 ${worksrcpath}/contrib/postgreyreport > \
     75    system "${prefix}/bin/pod2man-${perl5.major} --section=1 ${worksrcpath}/contrib/postgreyreport > \
    7476        ${destroot}${prefix}/share/man/man1/postgreyreport.1"
    7577    xinstall -m 755 -c ${worksrcpath}/contrib/postgreyreport \
Note: See TracChangeset for help on using the changeset viewer.