pkgsrc/converters/py-chardet/Makefile

24 lines
734 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2016/02/05 12:40:56 wiz Exp $
2014-10-12 16:52:36 +02:00
DISTNAME= chardet-2.3.0
PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= converters python
MASTER_SITES= http://pypi.python.org/packages/source/c/chardet/
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://pypi.python.org/pypi/chardet
COMMENT= Character encoding auto-detection in Python
LICENSE= gnu-lgpl-v2.1
REPLACE_PYTHON= chardet/chardetect.py
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/chardetect ${DESTDIR}${PREFIX}/bin/chardetect-${PYVERSSUFFIX}
2014-01-02 18:55:40 +01:00
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"