aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-snmp/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-04-17 19:37:51 +0800
committertg <tg@FreeBSD.org>2002-04-17 19:37:51 +0800
commit8074891030741d90a7a661d16b5cd6b3a4a49aad (patch)
tree05450b2b9d71e9f280b28c8a8d02e12b3cb63d51 /net/py-snmp/Makefile
parent8c8f34a9c5cfb1c3b6330039acef94e75a273eed (diff)
downloadfreebsd-ports-gnome-8074891030741d90a7a661d16b5cd6b3a4a49aad.tar.gz
freebsd-ports-gnome-8074891030741d90a7a661d16b5cd6b3a4a49aad.tar.zst
freebsd-ports-gnome-8074891030741d90a7a661d16b5cd6b3a4a49aad.zip
Use USE_PYDISTUTILS.
PR: 36537 Submitted by: Hye-Shik Chang <perky@fallin.lv>
Diffstat (limited to 'net/py-snmp/Makefile')
-rw-r--r--net/py-snmp/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/py-snmp/Makefile b/net/py-snmp/Makefile
index cc32a1626b61..2ac531a39917 100644
--- a/net/py-snmp/Makefile
+++ b/net/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}