mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
9cd1094086
- Various small style fixes - Updated pkg-descr PR: 37744 (0.7.1 update) Submitted by: Hye-Shik Chang <perky@fallin.lv>
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# Ports collection Makefile for: PyXML
|
|
# Date created: 04/17/1999
|
|
# Whom: nectar@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xml
|
|
PORTVERSION= 0.7.1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= pyxml
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= PyXML-${PORTVERSION}
|
|
|
|
MAINTAINER= wjv@FreeBSD.org
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
CPIO= cpio --quiet -pdum -R
|
|
DOCSDIR= ${PREFIX}/share/doc/py-xml
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-xml
|
|
.if ${PYTHON_REL} < 200
|
|
PLIST_SUB+= PACKAGE_DIR=xml
|
|
.else
|
|
PLIST_SUB+= PACKAGE_DIR=_xmlplus
|
|
.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} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
@ ${MKDIR} ${EXAMPLESDIR}
|
|
@ cd ${WRKSRC} && find demo test \
|
|
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|