aboutsummaryrefslogtreecommitdiffstats
path: root/lang/py-compiler/Makefile
blob: 98ceefa97d4c91cf189bc25acacbb9e34065a1a7 (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
33
# 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

BUILD_DEPENDS=  ${PYDISTUTILS}

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

do-build:
    @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build

do-install:
    @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
      setup.py install -c -O1 --prefix=${PREFIX}

.include <bsd.port.mk>