aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-chardet/Makefile
blob: a876ba87d9b30edc39f17b7ae31345d4e1a11656 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection Makefile for:    py-chardet
# Date created:             2005-01-25
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   chardet
PORTVERSION=    1.0
PORTREVISION=   3
CATEGORIES= textproc python
MASTER_SITES=   http://chardet.feedparser.org/download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz

MAINTAINER= arved@FreeBSD.org
COMMENT=    Character encoding auto-detection in Python

USE_PYTHON= yes
USE_PYDISTUTILS=yes

.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

.include <bsd.port.mk>