summaryrefslogtreecommitdiffstats
path: root/net/py-soap/Makefile
blob: 7cb254c3ac22997c7bb7dc80a15f0a0f441681ac (plain)
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
# 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@python.or.kr

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>
OpenPOWER on IntegriCloud