aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-xmlrpc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
commit0070b55b94bc9275fcfe0f076ef9627329c33849 (patch)
tree52777c4ec6298053248e53c8426ce08f742734ab /net/py-xmlrpc
parent800d720f882ceb06aa66e91d393bbab507490821 (diff)
downloadfreebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.gz
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.zst
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.zip
use USE_PYDISTUTILS
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