aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-xmlrpc/Makefile
blob: 34c3ec5f1c7f7233ac9c318fdd942dcd48cd87d7 (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
# Created by: Hye-Shik Chang <perky@python.or.kr>
# $FreeBSD$

PORTNAME=   xmlrpc
PORTVERSION=    0.8.8.3
PORTREVISION=   2
CATEGORIES= net python
MASTER_SITES=   SF/py-${PORTNAME}/source/py-${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py-${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast implementation of the xmlrpc spec for Python

LICENSE=    LGPL21 # (or later)
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

PORTEXAMPLES=   *

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>