diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2002-04-17 11:37:51 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2002-04-17 11:37:51 +0000 |
commit | 4046f937d5658a256577760bdbe86c5443bf6db9 (patch) | |
tree | 042200660b8cdf471ec605e5fa1eba3816acad44 /net | |
parent | Use USE_PYDISTUTILS. (diff) |
Use USE_PYDISTUTILS.
PR: 36537
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Notes
Notes:
svn path=/head/; revision=57799
Diffstat (limited to 'net')
-rw-r--r-- | net/py-snmp/Makefile | 9 |
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} |