Changeset 143423


Ignore:
Timestamp:
Dec 12, 2015, 10:31:21 AM (3 years ago)
Author:
mojca@…
Message:

postgresql_autodoc: switch to perl5.22 using the perl5 portgroup (#48365), checksums, lib->run dependencies, change the patch for prefix

Location:
trunk/dports/databases/postgresql_autodoc
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/postgresql_autodoc/Portfile

    r116120 r143423  
    33
    44PortSystem          1.0
     5PortGroup           perl5 1.0
    56
    67name                postgresql_autodoc
     
    1819                    DocBook and DIA formats.
    1920
     21# doesn't work
    2022homepage            http://www.rbt.ca/autodoc/
    2123master_sites        http://www.rbt.ca/autodoc/binaries/
    2224
    23 checksums           md5    a23ae4a49bfd0c14375b3ea6e04cd5b9 \
    24                     sha1   66ef9804854bbec54bba7788fe3ba90e5a47abe2 \
    25                     rmd160 c588ef93e955b5c41b6175f3f2762c35accbb567
     25checksums           rmd160  c588ef93e955b5c41b6175f3f2762c35accbb567 \
     26                    sha256  8fd8300a1913bd60be7b8214aadc8e193575c1fabe7797cbb6dcaed2b90eb8e9
    2627
    27 depends_lib         port:perl5.16 \
    28                     port:p5.16-dbi \
    29                     port:p5.16-dbd-pg \
    30                     port:p5.16-html-template \
    31                     port:p5.16-term-readkey
     28perl5.branches      5.22
     29
     30depends_lib         port:perl${perl5.major}
     31depends_run         port:p${perl5.major}-dbi \
     32                    port:p${perl5.major}-dbd-pg \
     33                    port:p${perl5.major}-html-template \
     34                    port:p${perl5.major}-term-readkey
    3235worksrcdir          ${name}
    3336
    34 patchfiles          patch-make.diff
     37patchfiles          patch-Makefile.diff
     38
     39post-patch {
     40    reinplace -W ${worksrcpath} "s|__PREFIX__|${prefix}|" Makefile
     41}
    3542
    3643use_configure       no
    3744
    38 build {
    39     reinplace -E "s#/usr/local#${prefix}#g" \
    40         Makefile
    41 }
     45build               {}
    4246
    43 destroot.args       PERL=${prefix}/bin/perl5.16
     47destroot.args       PERL=${perl5.bin}
    4448destroot.destdir    DESTDIR=${destroot}
    4549
  • trunk/dports/databases/postgresql_autodoc/files/patch-Makefile.diff

    r143422 r143423  
    1 --- Makefile.orig       2012-01-05 17:31:42.000000000 +0200
    2 +++ Makefile    2013-07-26 19:19:21.000000000 +0300
     1--- Makefile.orig
     2+++ Makefile
     3@@ -2,7 +2,7 @@
     4 
     5 # install configuration
     6 DESTDIR =
     7-PREFIX = /usr/local
     8+PREFIX = __PREFIX__
     9 BINDIR = ${PREFIX}/bin
     10 DATADIR = ${PREFIX}/share/postgresql_autodoc
     11 MANDIR = ${PREFIX}/share/man/man1
    312@@ -13,7 +13,6 @@
    413 BINARY = postgresql_autodoc
Note: See TracChangeset for help on using the changeset viewer.