aboutsummaryrefslogtreecommitdiff
path: root/devel/py-asn1/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-04-17 11:22:21 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-04-17 11:22:21 +0000
commit51ba04963b62b38f4dc3b2881b44f7b9f64cb859 (patch)
tree85d858116ca5e5ede12f84f0ca5cedd34a2a7fb3 /devel/py-asn1/Makefile
parent7afd2102b3a70c938f4ec47d61b72c2400cce0a7 (diff)
Notes
Diffstat (limited to 'devel/py-asn1/Makefile')
-rw-r--r--devel/py-asn1/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/devel/py-asn1/Makefile b/devel/py-asn1/Makefile
new file mode 100644
index 000000000000..9968159f9c6e
--- /dev/null
+++ b/devel/py-asn1/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: py-pyasn1
+# Date created: Sat Apr 8 21:37:32 CDT 2006
+# Whom: Martin Jackson <mhjacks@swbell.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= asn1
+PORTVERSION= 0.0.4a
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= py${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= mhjacks@swbell.net
+COMMENT= ASN.1 toolkit for Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+BASEDOCS= CHANGES \
+ README \
+ LICENSE \
+ TODO
+
+DOCDOCS= notes.html
+
+EXAMPLE_FILES= snmp.py \
+ x509.py
+
+post-install:
+# docs
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+. for f in ${BASEDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+. endfor
+. for f in ${DOCDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+. endfor
+.endif
+# examples
+ @${MKDIR} ${EXAMPLESDIR}
+.for f in ${EXAMPLE_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
+.endfor
+
+.include <bsd.port.mk>