# Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= xmlrpc PORTVERSION= 0.8.8.3 PORTREVISION= 3 CATEGORIES= net python MASTER_SITES= SF/py-${PORTNAME}/source/py-${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Fast implementation of the xmlrpc spec for Python LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python:2.7 USE_PYTHON= distutils autoplist OPTIONS_DEFINE= EXAMPLES EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= * post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_xmlrpc.so post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include