summaryrefslogtreecommitdiff
path: root/devel/py-magic/Makefile
blob: 9ddc11e34d09c38e3be610f6b0720c19013a14df (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
PORTNAME=	magic
PORTVERSION=	5.45
PORTREVISION=	1
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>