Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1238

Submitted by:   mww@
Reviewed by:    chris.ridd@isode.com

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

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4169 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 8, 2003
1 parent 95d82f5 commit add1c0f4c6110f073a5b0d832b9dd106f3e4c09e
Showing with 23 additions and 4 deletions.
  1. +23 −4 textproc/xercesc/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.2 2003/08/05 09:29:40 jkh Exp $
# $Id: Portfile,v 1.3 2003/12/08 23:34:35 mww Exp $
PortSystem 1.0
name xercesc
version 2.3.0
@@ -12,15 +12,34 @@ long_description Xerces-C++ is a validating XML parser written in \
for parsing, generating, manipulating, and \
validating XML documents.
homepage http://xml.apache.org/xerces-c/
master_sites http://xml.apache.org/dist/xerces-c/stable/
master_sites apache:xml
master_sites.mirror_subdir /xerces-c/
distname xerces-c-src_2_3_0
checksums md5 5167dca8942dd2dd719fa5a8ebe0c18b
platforms darwin
platforms darwin freebsd
configure.dir ${worksrcpath}/src/xercesc
configure.env XERCESCROOT="${worksrcpath}"
configure.pre_args -p macosx -n native -P "${prefix}"
configure.pre_args -P "${prefix}"
configure.cmd ./runConfigure

variant darwin {
configure.pre_args-append -p macosx -n native
}

variant freebsd {
configure.pre_args-append -p freebsd
}

build.dir ${worksrcpath}/src/xercesc
build.env ${configure.env}
build.type gnu
destroot.env ${configure.env}

post-destroot {
file mkdir ${destroot}${prefix}/share/doc
file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/version.incl ${worksrcpath}/LICENSE \
${worksrcpath}/LICENSE.txt ${worksrcpath}/Readme.html \
${worksrcpath}/STATUS ${worksrcpath}/credits.txt \
${destroot}${prefix}/share/doc/${name}
}

0 comments on commit add1c0f

Please sign in to comment.
You can’t perform that action at this time.