From 1e29e4f663f88e7f335181035795327dae718f37 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Wed, 8 Oct 2003 18:12:48 +0000 Subject: Update to 0.10.3 PR: 57700 Submitted by: Rui Lopes --- www/py-websvcs/Makefile | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'www/py-websvcs/Makefile') 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 -- cgit v1.2.3