mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
f4c7946cd7
- Support PORTEXAMPLES/PLIST_FILES PR: 166047 Submitted by: Ports Fury Feature safe: yes
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: py-xmlrpc
|
|
# Date created: 22 April 2001
|
|
# Whom: 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= A fast implementation of the xmlrpc spec for Python
|
|
|
|
LICENSE= LGPL21 # (or later)
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= py-${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_xmlrpc.so \
|
|
%%PYTHON_SITELIBDIR%%/pyxmlrpclib.py \
|
|
%%PYTHON_SITELIBDIR%%/pyxmlrpclib.pyc \
|
|
%%PYTHON_SITELIBDIR%%/pyxmlrpclib.pyo \
|
|
%%PYTHON_SITELIBDIR%%/xmlrpc.py \
|
|
%%PYTHON_SITELIBDIR%%/xmlrpc.pyc \
|
|
%%PYTHON_SITELIBDIR%%/xmlrpc.pyo
|
|
|
|
post-install:
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|