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:
parent
4a02b6471c
commit
4ecc6c4639
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337867
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user