summaryrefslogtreecommitdiff
path: root/devel/py-magic/Makefile
blob: 83ec39402a60762ea766aa081e80356a4fa23ffc (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
PORTNAME=	magic
PORTVERSION=	5.46
CATEGORIES=	devel python
MASTER_SITES=	https://astron.com/pub/file/ \
		ftp://ftp.astron.com/pub/file/ \
		ftp://ftp.gw.com/mirrors/pub/unix/file/ \
		ftp://ftp.fu-berlin.de/unix/tools/file/ \
		https://www.mirrorservice.org/sites/distfiles.macports.org/file/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	file-${PORTVERSION}

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Python module for determining file type
WWW=		https://www.darwinsys.com/file/

LICENSE=	BSD2CLAUSE

USES=		python
USE_PYTHON=	autoplist distutils

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

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

.include <bsd.port.mk>