2006-01-25 22:46:32 +00:00
|
|
|
# New ports collection Makefile for: py-chardet
|
|
|
|
# Date created: 2005-01-25
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chardet
|
2008-03-12 10:23:46 +00:00
|
|
|
PORTVERSION= 1.0.1
|
2006-01-25 22:46:32 +00:00
|
|
|
CATEGORIES= textproc python
|
|
|
|
MASTER_SITES= http://chardet.feedparser.org/download/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-03-12 10:23:46 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-01-25 22:46:32 +00:00
|
|
|
COMMENT= Character encoding auto-detection in Python
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
|
2006-03-15 13:11:16 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= docs COPYING
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${CP} -R ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-01-25 22:46:32 +00:00
|
|
|
.include <bsd.port.mk>
|