aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-04-17 11:37:51 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-04-17 11:37:51 +0000
commit4046f937d5658a256577760bdbe86c5443bf6db9 (patch)
tree042200660b8cdf471ec605e5fa1eba3816acad44 /net-mgmt
parentd92e49d5cfaf9312b5a204312721731a1b1beacd (diff)
downloadports-4046f937d5658a256577760bdbe86c5443bf6db9.tar.gz
ports-4046f937d5658a256577760bdbe86c5443bf6db9.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/py-snmp/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net-mgmt/py-snmp/Makefile b/net-mgmt/py-snmp/Makefile
index cc32a1626b61..2ac531a39917 100644
--- a/net-mgmt/py-snmp/Makefile
+++ b/net-mgmt/py-snmp/Makefile
@@ -16,17 +16,12 @@ DISTNAME= pysnmp-${PORTVERSION}
MAINTAINER= perky@fallin.lv
USE_PYTHON= yes
+USE_PYDISTUTILS=yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-snmp
DOCSDIR= ${PREFIX}/share/doc/py-snmp
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
-
-do-build:
- ${SETUP_CMD} build
-
-do-install:
- ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
+post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
${MKDIR} ${DOCSDIR}