aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ironpython/Makefile
blob: 4885ceebe90b6f672e027bce282827d71d3278a8 (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
34
# New ports collection makefile for:    ironpython
# Date created:     29 July 2004
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   ironpython
PORTVERSION=    0.6
CATEGORIES= lang python
MASTER_SITES=   http://www.ironpython.com/
DISTNAME=   IronPython-${PORTVERSION}

MAINTAINER= perky@FreeBSD.org
COMMENT=    New Python implementation targeting the .NET

RUN_DEPENDS=    mono:${PORTSDIR}/lang/mono

USE_ZIP=    yes
NO_BUILD=   yes
EXTRACT_BEFORE_ARGS=    -q -a

post-extract:
    ${ECHO} '#!${SH}' > ${WRKDIR}/ironpython
    ${ECHO} '${LOCALBASE}/bin/mono ${PREFIX}/lib/ironpython/IronPythonConsole.exe $$*' >> ${WRKDIR}/ironpython

do-install:
    ${MKDIR} ${PREFIX}/lib/ironpython
    cd ${WRKSRC}/bin; for f in *.exe *.dll; do \
        ${INSTALL_DATA} $$f ${PREFIX}/lib/ironpython; \
    done
    ${INSTALL_SCRIPT} ${WRKDIR}/ironpython ${PREFIX}/bin/

.include <bsd.port.mk>