aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-magic/Makefile
blob: c617fafbf16600f95812dfb90434b174a92a7448 (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
28
# 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 determining 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>