1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

net/py-xmlrpc: support staging

This commit is contained in:
William Grzybowski 2013-12-28 11:40:54 +00:00
parent 4a02b6471c
commit 4ecc6c4639
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337867

View File

@ -10,31 +10,21 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A fast implementation of the xmlrpc spec for Python
COMMENT= Fast implementation of the xmlrpc spec for Python
LICENSE= LGPL21 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= py-${PORTNAME}
PYDISTUTILS_AUTOPLIST= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTEXAMPLES= *
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_xmlrpc.so \
%%PYTHON_SITELIBDIR%%/pyxmlrpclib.py \
%%PYTHON_SITELIBDIR%%/pyxmlrpclib.pyc \
%%PYTHON_SITELIBDIR%%/pyxmlrpclib.pyo \
%%PYTHON_SITELIBDIR%%/xmlrpc.py \
%%PYTHON_SITELIBDIR%%/xmlrpc.pyc \
%%PYTHON_SITELIBDIR%%/xmlrpc.pyo
NO_STAGE= yes
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>