freebsd-ports/devel/py-crcmod/Makefile
Ruslan Makhmatkhanov 73ffda6082 - add CHEESESHOP mirror
- mark this port Python3 ready
- remove USE_PYTHON_PREFIX (port installs into PYTHON_SITELIBDIR)
2012-02-17 14:29:53 +00:00

32 lines
740 B
Makefile

# New ports collection makefile for: crcmod
# Date created: 19 Sep 2010
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= crcmod
PORTVERSION= 1.7
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ \
CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= Module for Cyclic Redundancy Check (CRC) calculations
LICENSE= MIT
# Python3 ready
USE_PYTHON= yes
USE_PYDISTUTILS= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog ${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} html ${DOCSDIR}
.endif
.include <bsd.port.mk>