blob: 6b830728246fac5ab44b4b0ea12013a1c4b8fa05 (
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
|
# New ports collection makefile for: py-xmlrpclib
# Date created: 29 May 2001
# Whom: Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#
PORTNAME= xmlrpclib
PORTVERSION= 1.0.1
CATEGORIES= net python
MASTER_SITES= http://effbot.org/media/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Python implementation of the XML-RPC protocol
USE_PYTHON= yes
USE_ZIP= yes
XRL_DOCDIR= ${PREFIX}/share/doc/py-xmlrpclib
XRL_EGDIR= ${PREFIX}/share/examples/py-xmlrpclib
do-build:
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/xmlrpclib.py* \
${PREFIX}/lib/${PYTHON_VERSION}/site-packages
@ ${MKDIR} ${XRL_EGDIR}
.for egfile in xmlrpcserver.py xmlrpc_handler.py
@ ${INSTALL_DATA} ${WRKSRC}/${egfile} ${XRL_EGDIR}
.endfor
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${XRL_DOCDIR}
@ ${INSTALL_MAN} ${WRKSRC}/README ${XRL_DOCDIR}
.endif
.include <bsd.port.mk>
|