diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2001-06-19 13:00:47 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2001-06-19 13:00:47 +0000 |
commit | 9c22b84af5a3d6a78ccba6d366d4749fb0e69542 (patch) | |
tree | ff8ce3b297d02d1fa28d9a765f04283630970b63 /net/py-xmlrpc | |
parent | 49efce046f00c369c28a5ae75318747e5442c3a0 (diff) | |
download | ports-9c22b84af5a3d6a78ccba6d366d4749fb0e69542.tar.gz ports-9c22b84af5a3d6a78ccba6d366d4749fb0e69542.zip |
Notes
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 e113746ebee2..46e457988aac 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 03094559a72d..5c78a053b614 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 c20a56cdf9c0..000000000000 --- 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 54b53df9f023..912d91fcf2c7 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%% |