ports/devel/py-magic/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

27 lines
717 B
Makefile

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>