diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-08-20 09:31:23 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-08-20 09:31:23 +0000 |
commit | 5287983ee70dd37680164c839ff05b422de881b0 (patch) | |
tree | b25af0dde529fb9e1e4f243d1bcce82374c8acf5 /net-mgmt/py-snmp2/Makefile | |
parent | 6f909ef08ac39c520a6869922465eb21507d911c (diff) |
Notes
Diffstat (limited to 'net-mgmt/py-snmp2/Makefile')
-rw-r--r-- | net-mgmt/py-snmp2/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-mgmt/py-snmp2/Makefile b/net-mgmt/py-snmp2/Makefile new file mode 100644 index 000000000000..4115b3287ab1 --- /dev/null +++ b/net-mgmt/py-snmp2/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: py-snmp2 +# Date created: 16 Aug 2006 +# Whom: Dmitriy Kirhlarov +# +# $FreeBSD$ +# + +PORTNAME= snmp2 +PORTVERSION= 2.0.9 +CATEGORIES= net-mgmt python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pysnmp +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pysnmp-${PORTVERSION} + +MAINTAINER= dimma@higis.ru +COMMENT= SNMP framework for Python + +CONFLICTS= py??-snmp4-[0-9]* py??-snmp-3.* + +USE_PYTHON= yes +USE_PYDISTUTILS=yes +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +MYPORTDOCS= CHANGES LICENSE MANIFEST PKG-INFO README contribution/WARNING + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${EXAMPLESDIR} + ${TAR} -C ${WRKSRC}/examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf - + ${MKDIR} ${DOCSDIR} + ${TAR} -C ${WRKSRC}/html -cf - . | ${TAR} -C ${DOCSDIR} -xf - + ${TAR} -C ${WRKSRC}/ -cf - ${MYPORTDOCS} | ${TAR} -C ${DOCSDIR} -xf - + +.endif + +.include <bsd.port.mk> |