# $Id$ PNAME="xsd" PVER="4.0.0" PBUILD="r1" PLEVEL="" PCAT="dev-cpp" DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler." HOMEPAGE="http://www.codesynthesis.com/products/xsd/" DEPEND=">= dev-libs/boost-filesystem-1.56 >= dev-libs/boost-regex-1.56 >= dev-libs/boost-system-1.56 >= dev-util/xerces-c-3.1 >= sys-libs/libstdc++-4.8" SDEPEND=">= dev-libs/boost-1.56" if [[ -z ${PLEVEL} ]] then __myPVER="${PVER}" UP2PVER="${PVER}" else __myPVER="${PVER}-${PLEVEL}" UP2PVER="${PVER}.${PLEVEL}" fi SRCFILE="${PNAME}-${__myPVER}+dep.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${__myPVER}+dep" sminclude mbuild # no check target in Makefile msetfeature "!check" SRC_URI=( http://codesynthesis.com/download/xsd/${PVER%.*}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE='updatecmd $(updatecmd http://codesynthesis.com/download/xsd/ | grep "/[0-9].*/$" | sed -n "s:.*\(http.*\):\1:;$ p")"/?M=A" | sed "s:-:.:2" | lasttarball | sed "s:+dep::"' src_install() { cd ${SRCDIR} mmake install_prefix=${BINDIR}/usr install || die minstalldocs xsd/{README,LICENSE,NEWS} || die }