aboutsummaryrefslogtreecommitdiff
path: root/devel/py-magic/Makefile
blob: 2ef62a9823b5de2d18b7d6c25485ecb18ff2ec18 (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
# Created by: Alexander Botero-Lowry <alexbl@FreeBSD.org>

PORTNAME=	magic
PORTVERSION=	5.39
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

LICENSE=	BSD2CLAUSE

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

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

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

.include <bsd.port.mk>