1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/py-websvcs/Makefile
Hye-Shik Chang 10cb7d0c73 Updating my email address.
Approved by: cjh (mentor)
2002-06-25 07:50:58 +00:00

49 lines
1.3 KiB
Makefile

# Ports collection Makefile for: py-websvcs
# Date created: August 19 2001
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= websvcs
PORTVERSION= 0.9.7
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SOAPpy${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= perky@FreeBSD.org
USE_PYTHON= yes
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} \
EXAMPLESDIR=${EXAMPLESDIR:S,^${PREFIX}/,,g} \
DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,g}
TOOLS= interop2html
do-patch:
.for i in ${TOOLS}
@${MV} ${WRKSRC}/tools/$i.py ${WRKSRC}/tools/$i
.endfor
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/SOAP.py* ${PYTHON_SITELIBDIR}
.for i in ${TOOLS}
${INSTALL_SCRIPT} ${WRKSRC}/tools/$i ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tests/*.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>