mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 14:40:32 -04:00
33 lines
812 B
Makefile
33 lines
812 B
Makefile
# Created by: Hye-Shik Chang <perky@python.or.kr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmlrpc
|
|
PORTVERSION= 0.8.8.3
|
|
PORTREVISION= 3
|
|
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+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_xmlrpc.so
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|