2016-02-05 13:40:56 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2016/02/05 12:40:56 wiz Exp $
|
2008-10-08 11:38:46 +02:00
|
|
|
|
2014-10-12 16:52:36 +02:00
|
|
|
DISTNAME= chardet-2.3.0
|
2016-02-05 13:40:56 +01:00
|
|
|
PKGREVISION= 1
|
2012-10-20 15:14:48 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2008-10-08 11:38:46 +02:00
|
|
|
CATEGORIES= converters python
|
2012-10-20 15:14:48 +02:00
|
|
|
MASTER_SITES= http://pypi.python.org/packages/source/c/chardet/
|
2008-10-08 11:38:46 +02:00
|
|
|
|
2009-03-21 22:38:09 +01:00
|
|
|
MAINTAINER= bartosz.kuzma@gmail.com
|
2012-10-20 15:14:48 +02:00
|
|
|
HOMEPAGE= http://pypi.python.org/pypi/chardet
|
2008-10-08 11:38:46 +02:00
|
|
|
COMMENT= Character encoding auto-detection in Python
|
2009-07-11 07:52:17 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2008-10-08 11:38:46 +02:00
|
|
|
|
2016-02-05 13:40:56 +01:00
|
|
|
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"
|
2012-10-20 15:14:48 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
2008-10-08 11:38:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|