devel/py-crcmod: various fixes

- switch to CHEESESHOP as default mirror
- add LICENSE_FILE
- strip installed shared library
- bump PORTREVISION because of package change
This commit is contained in:
Ruslan Makhmatkhanov 2015-11-14 21:24:30 +00:00
parent d8c3e65b6d
commit 7df88a4387
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401604

View file

@ -3,19 +3,20 @@
PORTNAME= crcmod
PORTVERSION= 1.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ \
CHEESESHOP
MASTER_SITES= CHEESESHOP \
SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= Module for Cyclic Redundancy Check (CRC) calculations
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= distutils autoplist
USE_PYTHON= autoplist distutils
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
@ -24,5 +25,6 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changelog ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crcmod/_crcfunext.so
.include <bsd.port.mk>