# Created by: nectar@FreeBSD.org # $FreeBSD$ PORTNAME= xml PORTVERSION= 0.8.4 PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyXML-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= PyXML: Python XML library enhancements USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= PyXML NO_STAGE= yes .include CPIOARGS= --quiet -pdum -R DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PLIST_SUB+= PACKAGE_DIR=_xmlplus # PyXML's XPath support for minidom (xml.xpath) is functional and is # installed by default, unless WITHOUT_XPATH is defined. # # PyXML's XSLT support for minidom (xml.xslt) is experimental, and may # render PyXML incompatible with modern versions of 4Suite. Therefore, # this port will not install it by default, unless WITH_XSLT is defined. # These defaults are the same as when PyXML is installed independently. # # WITHOUT_XPATH is ignored if WITH_XSLT is defined. # # There are no mature XSLT processors that can operate directly on # minidom documents, but such documents can be converted to formats # that are supported. 4Suite, for example, can convert a DOM directly # to a Domlette, and other processors can make use of the serialized # form of the document. # .if defined(WITH_XSLT) PYDISTUTILS_BUILDARGS+= --with-xslt PYDISTUTILS_INSTALLARGS+= --with-xslt PLIST_SUB+= XPATH="" PLIST_SUB+= XSLT="" .elif defined(WITHOUT_XPATH) PYDISTUTILS_BUILDARGS+= --without-xpath --without-xslt PYDISTUTILS_INSTALLARGS+= --without-xpath --without-xslt PLIST_SUB+= XPATH="@comment " PLIST_SUB+= XSLT="@comment " .else PYDISTUTILS_BUILDARGS+= --with-xpath --without-xslt PYDISTUTILS_INSTALLARGS+= --with-xpath --without-xslt PLIST_SUB+= XPATH="" PLIST_SUB+= XSLT="@comment " .endif post-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} .for docfile in ANNOUNCE CREDITS LICENCE README* TODO @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor @ cd ${WRKSRC}/doc && ${FIND} * \ | ${CPIO} ${CPIOARGS} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} @ ${MKDIR} ${EXAMPLESDIR} @ cd ${WRKSRC} && ${FIND} demo test \ | ${CPIO} ${CPIOARGS} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif .include ption value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Sync to new bsd.autotools.mkade2010-12-041-1/+1
* Punt autoconf267->autoconf268ade2010-10-161-1/+1
* - Optionalize gtk1/2fluffy2010-10-052-13/+22
* Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-2/+2
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - Add option to install GUI configuretion utility for librccfluffy2010-01-153-3/+45
* - devel/librcc: update to 0.2.9 release, add some optional componentsfluffy2010-01-094-27/+52
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1
* - Unbreak after strnlen additionmiwi2009-03-101-0/+15
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1
* - Update to 0.2.6miwi2008-01-223-154/+4
* The Abilities of LibRCC Librarypav2008-01-20