freebsd-ports/devel/py-magic/Makefile
2010-01-31 08:45:46 +00:00

28 lines
711 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= 5.04
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= lwhsu@FreeBSD.org
COMMENT= Python module for determing file type
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Magic_file_extensions
PYDISTUTILS_PKGVERSION= 0.1
WRKSRC= ${WRKDIR}/file-${PORTVERSION}/python
PLIST_FILES= %%PYTHON_SITELIBDIR%%/magic.so
.include <bsd.port.mk>