aboutsummaryrefslogtreecommitdiff
path: root/net/py-xmlrpc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-23 07:47:39 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-23 07:47:39 +0000
commit023cea8ca14cf72fbadefe6b083f0bb690cd92c9 (patch)
tree352ae1d20dc9e374c5dfee71096c23302bb07eb1 /net/py-xmlrpc
parent63e0ad15459f19ba7a46f6b5060a64108202f43a (diff)
downloadports-023cea8ca14cf72fbadefe6b083f0bb690cd92c9.tar.gz
ports-023cea8ca14cf72fbadefe6b083f0bb690cd92c9.zip
Update to 0.8.8
PR: 36073 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=56459
Diffstat (limited to 'net/py-xmlrpc')
-rw-r--r--net/py-xmlrpc/Makefile13
-rw-r--r--net/py-xmlrpc/distinfo2
-rw-r--r--net/py-xmlrpc/pkg-plist30
3 files changed, 23 insertions, 22 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile
index 5cdee3cd9ffe..8332ebce2d62 100644
--- a/net/py-xmlrpc/Makefile
+++ b/net/py-xmlrpc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmlrpc
-PORTVERSION= 0.8.7
+PORTVERSION= 0.8.8
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py-${PORTNAME}
@@ -18,20 +18,17 @@ MAINTAINER= perky@fallin.lv
BUILD_DEPENDS= ${PYDISTUTILS}
USE_PYTHON= yes
-
-PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} \
- SHARE_SUBDIR=${SHARE_SUBDIR}
-SHARE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+EXAMPLESDIR= ${PREFIX}/share/examples/py-xmlrpc
do-build:
${SETUP_CMD} build
do-install:
- ${SETUP_CMD} install
+ ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} doc/example/* ${PREFIX}/share/examples/${SHARE_SUBDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${TAR} -C ${WRKSRC}/examples -cf- . | ${TAR} -C ${EXAMPLESDIR} -xpf-
.endif
.include <bsd.port.mk>
diff --git a/net/py-xmlrpc/distinfo b/net/py-xmlrpc/distinfo
index 614071753f40..c63babc2d73d 100644
--- a/net/py-xmlrpc/distinfo
+++ b/net/py-xmlrpc/distinfo
@@ -1 +1 @@
-MD5 (py-xmlrpc-0.8.7.tar.gz) = 39fc6965b4c5c6feab10a752151be3d2
+MD5 (py-xmlrpc-0.8.8.tar.gz) = c9ed617ef46327a5d1edef4c78222278
diff --git a/net/py-xmlrpc/pkg-plist b/net/py-xmlrpc/pkg-plist
index 91e12a039ea4..408061594b71 100644
--- a/net/py-xmlrpc/pkg-plist
+++ b/net/py-xmlrpc/pkg-plist
@@ -1,13 +1,17 @@
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/README
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/baseClient.py
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/baseControl.py
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/baseServer.py
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/exControl.py
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/exclient.py
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/exserver.py
-%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/killserver.py
-%%PORTDOCS%%@dirrm share/examples/%%SHARE_SUBDIR%%
-@cwd %%LOCALBASE%%
-%%PYTHON_SITELIBDIR%%/_xmlrpc.so
-%%PYTHON_SITELIBDIR%%/xmlrpc.py
-%%PYTHON_SITELIBDIR%%/xmlrpc.pyc
+lib/%%PYTHON_VERSION%%/site-packages/_xmlrpc.so
+lib/%%PYTHON_VERSION%%/site-packages/xmlrpc.py
+lib/%%PYTHON_VERSION%%/site-packages/xmlrpc.pyc
+lib/%%PYTHON_VERSION%%/site-packages/xmlrpc.pyo
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/README
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/baseClient.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/baseControl.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/baseServer.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/exControl.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/exclient.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/exserver.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/killserver.py
+%%PORTDOCS%%share/examples/py-xmlrpc/examples.py
+%%PORTDOCS%%share/examples/py-xmlrpc/interop.py
+%%PORTDOCS%%share/examples/py-xmlrpc/validate.py
+%%PORTDOCS%%@dirrm share/examples/py-xmlrpc/crj
+%%PORTDOCS%%@dirrm share/examples/py-xmlrpc