summaryrefslogtreecommitdiff
path: root/lang/py-compiler/Makefile
blob: 9a544be905143c7135656c19b345316b6e7b2773 (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
# New ports collection makefile for:    py-compiler
# Date created:         6 September 2001
# Whom:                 Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
# XXX The compiler package is included in Python 2.1 upwards.
#     This port somehow needs to take this into account.

PORTNAME=	compiler
PORTVERSION=	${PYTHON_PORTVERSION}
CATEGORIES=	lang python
MASTER_SITES=	http://www.python.org/ftp/python/${PORTVERSION}/ \
		http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/${PORTVERSION}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTFILES=	${PYTHON_DISTFILE}

MAINTAINER=	wjv@FreeBSD.org
COMMENT=	A Python source to bytecode compiler

DIST_SUBDIR=	python
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
WRKSRC=		${PYTHON_WRKSRC}/Tools/${PORTNAME}

.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 220
IGNORE=	"Part of the standard library from Python 2.2 upwards"
.endif

.include <bsd.port.post.mk>