1999-04-17 17:34:02 +00:00
|
|
|
# Ports collection Makefile for: PyXML
|
|
|
|
# Date created: 04/17/1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1999-04-17 17:34:02 +00:00
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1999-04-17 17:34:02 +00:00
|
|
|
#
|
|
|
|
|
2000-11-16 14:06:51 +00:00
|
|
|
PORTNAME= xml
|
2003-08-06 09:26:03 +00:00
|
|
|
PORTVERSION= 0.8.3
|
1999-05-28 20:57:39 +00:00
|
|
|
CATEGORIES= textproc python
|
2001-03-23 00:47:52 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-11-16 14:06:51 +00:00
|
|
|
MASTER_SITE_SUBDIR= pyxml
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2000-05-05 09:14:59 +00:00
|
|
|
DISTNAME= PyXML-${PORTVERSION}
|
1999-04-17 17:34:02 +00:00
|
|
|
|
2001-06-27 10:15:01 +00:00
|
|
|
MAINTAINER= wjv@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The Python XML package, including parser, SAX, DOM, and Expat
|
1999-04-17 17:34:02 +00:00
|
|
|
|
2000-09-13 12:23:31 +00:00
|
|
|
USE_PYTHON= yes
|
2002-04-29 19:08:55 +00:00
|
|
|
USE_PYDISTUTILS= yes
|
1999-04-17 17:34:02 +00:00
|
|
|
|
2000-09-13 12:23:31 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-02-28 13:12:30 +00:00
|
|
|
CPIO= cpio --quiet -pdum -R
|
2003-08-06 09:26:03 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
2000-11-16 14:06:51 +00:00
|
|
|
PLIST_SUB+= PACKAGE_DIR=_xmlplus
|
2002-09-18 12:25:25 +00:00
|
|
|
PYDISTUTILS_BUILDARGS+= --with-xslt
|
|
|
|
PYDISTUTILS_INSTALLARGS+= --with-xslt
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@ ${SH} ${PKGREQ} INSTALL
|
1999-04-17 17:34:02 +00:00
|
|
|
|
2001-02-28 13:12:30 +00:00
|
|
|
post-install:
|
1999-04-17 17:34:02 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-07 10:25:19 +00:00
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
2001-03-23 00:47:52 +00:00
|
|
|
.for docfile in ANNOUNCE CREDITS LICENCE README* TODO
|
2002-05-07 09:34:39 +00:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
2001-03-23 00:47:52 +00:00
|
|
|
.endfor
|
|
|
|
@ cd ${WRKSRC}/doc && find * \
|
2002-05-07 09:34:39 +00:00
|
|
|
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
2001-08-07 10:25:19 +00:00
|
|
|
@ ${MKDIR} ${EXAMPLESDIR}
|
2001-03-23 00:47:52 +00:00
|
|
|
@ cd ${WRKSRC} && find demo test \
|
2001-08-07 10:25:19 +00:00
|
|
|
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
1999-04-17 17:34:02 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-13 12:23:31 +00:00
|
|
|
.include <bsd.port.post.mk>
|