Changeset 99124


Ignore:
Timestamp:
Oct 27, 2012, 7:39:14 PM (12 years ago)
Author:
ryandesign@…
Message:

sgml-common: fix master_sites (#36760); simplify destroot; noarch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/sgml-common/Portfile

    r97546 r99124  
    66name                sgml-common
    77version             0.6.3
     8set openjade_version 1.3.2
    89categories          textproc
    910platforms           darwin
    1011license             GPL-2+
    1112maintainers         fourpalms.org:lockhart openmaintainer
     13supported_archs     noarch
     14
    1215# Actually - there is no homepage of this project, on that URL
    1316# page you could get complete ISO 8879 listing as was on the
     
    2225                    Tim Waugh <twaugh@redhat.com> based on work by Eric Bischoff \
    2326                    and with recent maintenance by Ondrej Vasik <ovasik@redhat.com>.
    24 master_sites        ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/
     27
     28master_sites        ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/:redhat \
     29                    sourceforge:project/openjade/openjade/${openjade_version}:openjade
    2530
    2631extract.suffix      .tgz
     32set openjade        openjade-${openjade_version}
    2733
    28 checksums           [lindex $distfiles 0] \
     34distfiles           ${distname}${extract.suffix}:redhat \
     35                    ${openjade}.tar.gz:openjade
     36
     37checksums           ${distname}${extract.suffix} \
    2938                    rmd160  246d01272f70cd8382a7d596392e61d7dc0eec78 \
    30                     sha256  7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959
    31 
    32 set openjade        openjade-1.3.2
    33 distfiles-append    ${openjade}.tar.gz:openjade
    34 master_sites        sourceforge:openjade
    35 checksums-append    ${openjade}.tar.gz \
     39                    sha256  7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959 \
     40                    ${openjade}.tar.gz \
    3641                    rmd160  3b12f6596a42c49a60cc07cd9b8f4c5fdf3bafd2 \
    3742                    sha256  1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
     
    124129    xinstall -d ${destroot}${sgmldir}
    125130    # Following 4 from openjade/pubtext - same maintainer as in SGML-common, so up2date:
    126     xinstall ${workpath}/${openjade}/pubtext/xml.dcl ${destroot}${sgmldir}/
    127     xinstall ${workpath}/${openjade}/pubtext/xml.soc ${destroot}${sgmldir}/
    128     xinstall ${workpath}/${openjade}/pubtext/html.dcl ${destroot}${sgmldir}/
    129     xinstall ${workpath}/${openjade}/pubtext/html.soc ${destroot}${sgmldir}/
     131    xinstall -W ${workpath}/${openjade}/pubtext xml.dcl xml.soc html.dcl html.soc ${destroot}${sgmldir}
    130132}
Note: See TracChangeset for help on using the changeset viewer.