aboutsummaryrefslogtreecommitdiff
path: root/net/py-xmlrpc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
commit91cb80d94325e8fcc4dd2bd428e58094b0f30891 (patch)
treefc97a09970827819a50f2263bd7760b9da076d95 /net/py-xmlrpc
parent795697e909a3c12353459561fdfdccfa53c53fad (diff)
downloadports-91cb80d94325e8fcc4dd2bd428e58094b0f30891.tar.gz
ports-91cb80d94325e8fcc4dd2bd428e58094b0f30891.zip
Notes
Diffstat (limited to 'net/py-xmlrpc')
-rw-r--r--net/py-xmlrpc/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile
index 472e92a0eafc..5bf0241700e2 100644
--- a/net/py-xmlrpc/Makefile
+++ b/net/py-xmlrpc/Makefile
@@ -15,18 +15,12 @@ DISTNAME= py-${PORTNAME}-${PORTVERSION}
MAINTAINER= perky@fallin.lv
-BUILD_DEPENDS= ${PYDISTUTILS}
-
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+USE_PYDISTUTILS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-xmlrpc
-do-build:
- ${SETUP_CMD} build
-
-do-install:
- ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
+post-install:
${MKDIR} ${EXAMPLESDIR}
${TAR} -C ${WRKSRC}/examples -cf- . | ${TAR} -C ${EXAMPLESDIR} -xpf-
.endif