diff options
author | wg <wg@FreeBSD.org> | 2013-12-28 19:40:54 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-12-28 19:40:54 +0800 |
commit | e7538687f3656348b3977b943a37317d12caf791 (patch) | |
tree | b9429d476fd33f666063d12102526b22b558f131 /net/py-xmlrpc | |
parent | f36d0ab3e706a0b5be479abc61b831a5b809f49b (diff) | |
download | freebsd-ports-gnome-e7538687f3656348b3977b943a37317d12caf791.tar.gz freebsd-ports-gnome-e7538687f3656348b3977b943a37317d12caf791.tar.zst freebsd-ports-gnome-e7538687f3656348b3977b943a37317d12caf791.zip |
net/py-xmlrpc: support staging
Diffstat (limited to 'net/py-xmlrpc')
-rw-r--r-- | net/py-xmlrpc/Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile index 2c33e44db7b0..34c3ec5f1c7f 100644 --- a/net/py-xmlrpc/Makefile +++ b/net/py-xmlrpc/Makefile @@ -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> |