Changeset 4169 for trunk/dports


Ignore:
Timestamp:
Dec 8, 2003, 11:34:35 PM (20 years ago)
Author:
mww
Message:

Bug: #1238
Submitted by: mww@
Reviewed by: chris.ridd@…

-platform variants for darwin & freebsd
-use 'apache' mirrors
-add docs to install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/xercesc/Portfile

    r3173 r4169  
    1 # $Id: Portfile,v 1.2 2003/08/05 09:29:40 jkh Exp $
     1# $Id: Portfile,v 1.3 2003/12/08 23:34:35 mww Exp $
    22PortSystem 1.0
    33name                    xercesc
     
    1313                        validating XML documents.
    1414homepage                http://xml.apache.org/xerces-c/
    15 master_sites            http://xml.apache.org/dist/xerces-c/stable/
     15master_sites            apache:xml
     16master_sites.mirror_subdir      /xerces-c/
    1617distname                xerces-c-src_2_3_0
    1718checksums               md5 5167dca8942dd2dd719fa5a8ebe0c18b
    18 platforms               darwin
     19platforms               darwin freebsd
    1920configure.dir           ${worksrcpath}/src/xercesc
    2021configure.env           XERCESCROOT="${worksrcpath}"
    21 configure.pre_args      -p macosx -n native -P "${prefix}"
     22configure.pre_args      -P "${prefix}"
    2223configure.cmd           ./runConfigure
     24
     25variant darwin  {
     26        configure.pre_args-append       -p macosx -n native
     27}
     28
     29variant freebsd {
     30        configure.pre_args-append       -p freebsd
     31}
     32
    2333build.dir               ${worksrcpath}/src/xercesc
    2434build.env               ${configure.env}
    2535build.type              gnu
    2636destroot.env            ${configure.env}
     37
     38post-destroot   {
     39        file mkdir ${destroot}${prefix}/share/doc
     40        file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
     41        file copy ${worksrcpath}/version.incl ${worksrcpath}/LICENSE \
     42                ${worksrcpath}/LICENSE.txt ${worksrcpath}/Readme.html \
     43                ${worksrcpath}/STATUS ${worksrcpath}/credits.txt \
     44                ${destroot}${prefix}/share/doc/${name}
     45}
Note: See TracChangeset for help on using the changeset viewer.