# Created by: Alexander Botero-Lowry <alexbl@FreeBSD.org>

PORTNAME=	magic
PORTVERSION=	5.39
CATEGORIES=	devel python
MASTER_SITES=	ftp://ftp.astron.com/pub/file/ \
		ftp://ftp.gw.com/mirrors/pub/unix/file/ \
		ftp://ftp.fu-berlin.de/unix/tools/file/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	file-${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Python module for determining file type

LICENSE=	bsd2

USES=		python
USE_PYTHON=	distutils autoplist

# both install module as magic.py
CONFLICTS=	${PYTHON_PKGNAMEPREFIX}python-magic-*

WRKSRC=	${WRKDIR}/file-${PORTVERSION}/python

.include <bsd.port.mk>
