diff options
-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> |