summaryrefslogtreecommitdiff
path: root/www/py-websvcs/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-10-08 18:12:48 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-10-08 18:12:48 +0000
commit1e29e4f663f88e7f335181035795327dae718f37 (patch)
treedb94272cd7bfe9404fa9f4f9e1bd4091af1be6f3 /www/py-websvcs/Makefile
parentupdate xawtv to 3.88.1 (diff)
Update to 0.10.3
PR: 57700 Submitted by: Rui Lopes <rui@ruilopes.com>
Notes
Notes: svn path=/head/; revision=90653
Diffstat (limited to 'www/py-websvcs/Makefile')
-rw-r--r--www/py-websvcs/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/www/py-websvcs/Makefile b/www/py-websvcs/Makefile
index 580bf1699141..8620900976ac 100644
--- a/www/py-websvcs/Makefile
+++ b/www/py-websvcs/Makefile
@@ -6,44 +6,38 @@
#
PORTNAME= websvcs
-PORTVERSION= 0.9.7
-PORTREVISION= 1
+PORTVERSION= 0.10.3
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= SOAPpy${PORTVERSION:S/.//g}
-EXTRACT_SUFX= .tgz
+DISTNAME= SOAPpy-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Web service libraries includes SOAP, WSDL, UDDI, etc
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/fpconst.py:${PORTSDIR}/math/py-fpconst \
+ ${PYXML}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PLIST_SUB+= EXAMPLESDIR=${EXAMPLESDIR:S,^${PREFIX}/,,g} \
- DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,g}
-NO_BUILD= yes
TOOLS= interop2html
-PY_FILES= SOAP
do-patch:
.for i in ${TOOLS}
@${MV} ${WRKSRC}/tools/$i.py ${WRKSRC}/tools/$i
.endfor
-do-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PY_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${f}.py ${PYTHON_SITELIBDIR}
- @${PYTHON_CMD} -c "import py_compile; py_compile.compile('${PYTHON_SITELIBDIR}/${f}.py')"
- @${PYTHON_CMD} -O -c "import py_compile; py_compile.compile('${PYTHON_SITELIBDIR}/${f}.py')"
-.endfor
+post-install:
.for i in ${TOOLS}
${INSTALL_SCRIPT} ${WRKSRC}/tools/$i ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.py ${EXAMPLESDIR}
.endif