aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2001-06-19 21:00:47 +0800
committerwjv <wjv@FreeBSD.org>2001-06-19 21:00:47 +0800
commit4ffd83dc949effe4559c78f3867caeab4ef09bad (patch)
tree7a5e86d83f845cb5fca394e6ee2eb7f0cc885dd4 /net
parent5f1504aff73af409850d7c12dcf2a635f0a828de (diff)
downloadfreebsd-ports-gnome-4ffd83dc949effe4559c78f3867caeab4ef09bad.tar.gz
freebsd-ports-gnome-4ffd83dc949effe4559c78f3867caeab4ef09bad.tar.zst
freebsd-ports-gnome-4ffd83dc949effe4559c78f3867caeab4ef09bad.zip
Update to version 0.8.6
PR: 27955 Submitted by: MAINTAINER
Diffstat (limited to 'net')
-rw-r--r--net/py-xmlrpc/Makefile15
-rw-r--r--net/py-xmlrpc/distinfo2
-rw-r--r--net/py-xmlrpc/files/patch-setup.py11
-rw-r--r--net/py-xmlrpc/pkg-plist9
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%%