aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-distutils/Makefile
blob: 0d3899b6979685335a5a3419d8afa1ce3bd79cd4 (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
29
30
31
32
# New ports collection makefile for:    Distutils
# Date created:         23 March 2000
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   distutils
PORTVERSION=    1.0.2
CATEGORIES= misc python
MASTER_SITES=   http://www.python.org/sigs/distutils-sig/download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Distutils-${PORTVERSION}

MAINTAINER= tg@FreeBSD.org
COMMENT=    Python Module Distribution Utilities

USE_PYTHON= yes

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} > 211
IGNORE=     "Use the version distributed with ${PYTHON_VERSION}"
.endif

do-build:
    @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py build)

do-install:
    @(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install)

.include <bsd.port.post.mk>