aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-chardet/Makefile
blob: ad91130df8bfff9456ebe8cfe656c9c4665cde79 (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
34
35
36
37
38
39
40
# New ports collection Makefile for:	py-chardet
# Date created:				2005-01-25
# Whom:					arved
#
# $FreeBSD$

PORTNAME=	chardet
PORTVERSION=	2.0.1
PORTREVISION=	1
CATEGORIES=	textproc python
#MASTER_SITES=	http://chardet.feedparser.org/download/
MASTER_SITES=	http://darkstar.ist.utl.pt/slackware/addon/slacky/%SUBDIR%/ \
		http://repository.slacky.eu/%SUBDIR%/ \
		http://slack.isper.sk/pub/%SUBDIR%/ \
		http://www.slackware.org.uk/slacky/%SUBDIR%/
MASTER_SITE_SUBDIR=	slackware64-13.37/libraries/python2-${PORTNAME}/${PORTVERSION}/src
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	python2-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=	.tgz

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

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

USE_PYTHON=	yes
USE_PYDISTUTILS=yes

DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}

PORTDOCS=	*

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif

.include <bsd.port.mk>