aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-soap/Makefile
blob: b1e8798919f7a7a2c933e6f6cc6087729d117d9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    py-soap
# Date created:     24 May 2001
# Whom:         Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#

PORTNAME=   soap
PORTVERSION=    0.8
CATEGORIES= net python
MASTER_SITES=   http://www.pythonware.com/downloads/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}lib-${PORTVERSION}-${PORTRELDATE}

MAINTAINER= perky@FreeBSD.org
COMMENT=    Python library that implements the SOAP 1.1

PORTRELDATE=    20000621
USE_PYTHON= yes
USE_ZIP=    yes
EXTRACT_BEFORE_ARGS=    -qa
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} \
        SHARE_SUBDIR=${SHARE_SUBDIR}
SHARE_SUBDIR=   ${PKGNAMEPREFIX}${PORTNAME}

DOC_FILES=  ANNOUNCE README
LIB_FILES=  soaplib.py soaplib.pyc soapserver.py
EXAMPLE_FILES=  test1.py test2.py test3.py

do-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/${SHARE_SUBDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${PREFIX}/share/doc/${SHARE_SUBDIR}
    ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLE_FILES} ${PREFIX}/share/examples/${SHARE_SUBDIR}
.endif
    ${MKDIR} ${PYTHON_SITELIBDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${LIB_FILES} ${PYTHON_SITELIBDIR}

.include <bsd.port.mk>