diff options
author | wjv <wjv@FreeBSD.org> | 2001-06-19 13:00:47 +0000 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2001-06-19 13:00:47 +0000 |
commit | 4ffd83dc949effe4559c78f3867caeab4ef09bad (patch) | |
tree | 7a5e86d83f845cb5fca394e6ee2eb7f0cc885dd4 /net/py-xmlrpc | |
parent | 5f1504aff73af409850d7c12dcf2a635f0a828de (diff) | |
download | FreeBSD-ports-4ffd83dc949effe4559c78f3867caeab4ef09bad.zip FreeBSD-ports-4ffd83dc949effe4559c78f3867caeab4ef09bad.tar.gz |
Update to version 0.8.6
PR: 27955
Submitted by: MAINTAINER
Diffstat (limited to 'net/py-xmlrpc')
-rw-r--r-- | net/py-xmlrpc/Makefile | 15 | ||||
-rw-r--r-- | net/py-xmlrpc/distinfo | 2 | ||||
-rw-r--r-- | net/py-xmlrpc/files/patch-setup.py | 11 | ||||
-rw-r--r-- | net/py-xmlrpc/pkg-plist | 9 |
4 files changed, 20 insertions, 17 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile index e113746..46e4579 100644 --- a/net/py-xmlrpc/Makefile +++ b/net/py-xmlrpc/Makefile @@ -6,10 +6,10 @@ # PORTNAME= xmlrpc -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.6 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} +MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} @@ -17,10 +17,11 @@ MAINTAINER= perky@python.or.kr BUILD_DEPENDS= ${PYDISTUTILS} -WRKSRC= ${WRKDIR}/${PORTNAME} -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} - 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 do-build: @@ -28,5 +29,9 @@ do-build: do-install: ${SETUP_CMD} install +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR} + cd ${WRKSRC} && ${INSTALL_DATA} doc/example/* ${PREFIX}/share/examples/${SHARE_SUBDIR} +.endif .include <bsd.port.mk> diff --git a/net/py-xmlrpc/distinfo b/net/py-xmlrpc/distinfo index 0309455..5c78a05 100644 --- a/net/py-xmlrpc/distinfo +++ b/net/py-xmlrpc/distinfo @@ -1 +1 @@ -MD5 (py-xmlrpc-0.8.2.tar.gz) = bd484cd20b7b7a418222a39b39bb4c39 +MD5 (py-xmlrpc-0.8.6.tar.gz) = b27630de8034a4b6fe4fc9fb4a5b742f diff --git a/net/py-xmlrpc/files/patch-setup.py b/net/py-xmlrpc/files/patch-setup.py deleted file mode 100644 index c20a56c..0000000 --- a/net/py-xmlrpc/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig Sun Apr 22 23:37:47 2001 -+++ setup.py Sun Apr 22 23:37:55 2001 -@@ -4,7 +4,7 @@ - - import sys - --if sys.platform[:5] == 'linux': -+if sys.platform[:7] == 'freebsd': - MACROS = {'define' : []} - LIBS = [] - else: diff --git a/net/py-xmlrpc/pkg-plist b/net/py-xmlrpc/pkg-plist index 54b53df..912d91f 100644 --- a/net/py-xmlrpc/pkg-plist +++ b/net/py-xmlrpc/pkg-plist @@ -1,3 +1,12 @@ %%PYTHON_SITELIBDIR%%/_xmlrpc.so %%PYTHON_SITELIBDIR%%/xmlrpc.py %%PYTHON_SITELIBDIR%%/xmlrpc.pyc +%%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%% |