1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/textproc/py-xml/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# Ports collection Makefile for: PyXML
# Date created: 04/17/1999
# Whom: nectar@FreeBSD.org
#
1999-08-31 02:11:56 +00:00
# $FreeBSD$
#
PORTNAME= xml
PORTVERSION= 0.8.3
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyxml
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2000-05-05 09:14:59 +00:00
DISTNAME= PyXML-${PORTVERSION}
MAINTAINER= wjv@FreeBSD.org
COMMENT= The Python XML package, including parser, SAX, DOM, and Expat
2000-09-13 12:23:31 +00:00
USE_PYTHON= yes
2002-04-29 19:08:55 +00:00
USE_PYDISTUTILS= yes
2000-09-13 12:23:31 +00:00
.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)
2001-08-07 10:25:19 +00:00
@ ${MKDIR} ${DOCSDIR}
.for docfile in ANNOUNCE CREDITS LICENCE README* TODO
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
@ cd ${WRKSRC}/doc && ${FIND} * \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
2001-08-07 10:25:19 +00:00
@ ${MKDIR} ${EXAMPLESDIR}
@ cd ${WRKSRC} && ${FIND} demo test \
2001-08-07 10:25:19 +00:00
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
2000-09-13 12:23:31 +00:00
.include <bsd.port.post.mk>