freebsd-ports/devel/py-asn1/Makefile
Ruslan Makhmatkhanov 44b28d7856 - update to 0.1.2
PR:		163945
Submitted by:	rm (myself)
Approved by:	maintainer
2012-01-12 07:00:11 +00:00

47 lines
948 B
Makefile

# 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.1.2
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= mhjacks@swbell.net
COMMENT= ASN.1 toolkit for Python
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
# Python3 ready
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= pyasn1
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
BASEDOCS= CHANGES \
README \
TODO
DOCDOCS= pyasn1-tutorial.html
post-install:
.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
.include <bsd.port.mk>