15a57946eb
Python bindings for libmagic used to get a description of a file type, or a mime type for that file.
24 lines
600 B
Makefile
24 lines
600 B
Makefile
# New ports collection makefile for: py-magic
|
|
# Date created: 19 Nov 2006
|
|
# Whom: Alexander Botero-Lowry <alexbl@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= magic
|
|
PORTVERSION= 4.18
|
|
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= python@FreeBSD.org
|
|
COMMENT= Python module for determing file type
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
WRKSRC= ${WRKDIR}/file-${PORTVERSION}/python
|
|
|
|
.include <bsd.port.mk>
|