mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1aaac624c2
PR: ports/144346 Submitted by: Kouki Hashimoto <hsmtkk AT gmail.com>
34 lines
668 B
Makefile
34 lines
668 B
Makefile
# New ports collection Makefile for: py-chardet
|
|
# Date created: 2005-01-25
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chardet
|
|
PORTVERSION= 2.0.1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= http://chardet.feedparser.org/download/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= python2-${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@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>
|