1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/textproc/py-xml/Makefile
Hye-Shik Chang 0450cec5b6 Mike Brown (a co-developer of 4Suite) takes over the maintainership
of py-xml and py-4suite. The original maintainer (wjv) have been
too busy to manage these ports for last half year.

Submitted by:	Mike Brown <mike@skew.org>
2004-06-14 06:04:30 +00:00

48 lines
1.2 KiB
Makefile

# Ports collection Makefile for: PyXML
# Date created: 04/17/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= xml
PORTVERSION= 0.8.3
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyxml
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyXML-${PORTVERSION}
MAINTAINER= mike@skew.org
COMMENT= The Python XML package, including parser, SAX, DOM, and Expat
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.include <bsd.port.pre.mk>
CPIO= cpio --quiet -pdum -R
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PLIST_SUB+= PACKAGE_DIR=_xmlplus
PYDISTUTILS_BUILDARGS+= --with-xslt
PYDISTUTILS_INSTALLARGS+= --with-xslt
pre-install:
@ ${SH} ${PKGREQ} INSTALL
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} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
@ ${MKDIR} ${EXAMPLESDIR}
@ cd ${WRKSRC} && ${FIND} demo test \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>