aboutsummaryrefslogtreecommitdiffstats
path: root/devel/drpython/Makefile
blob: d3312c4b0cc2a2296de6b308dea07f5239ffd0b7 (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:    drpython
# Date created:     2005-07-22
# Whom:         vsevolod
#
# $FreeBSD$
#

PORTNAME=   drpython
PORTVERSION=    3.11.1
PORTREVISION=   2
CATEGORIES= devel python
MASTER_SITES=   SF/${PORTNAME}/DrPython%20Current/${PORTVERSION}
PKGNAMESUFFIX=  ${PYTHON_PKGNAMESUFFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Highly customizable cross-platform ide to aid programming in Python

WRKSRC=     ${WRKDIR}/${PORTNAME}_${PORTVERSION}

USE_ZIP=    yes
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    DrPython
USE_WX=     2.6+
WX_COMPS=   python

post-install:
    @${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh
    @${ECHO_CMD} '(cd ${PYTHONPREFIX_SITELIBDIR}/drpython && ${PYTHON_CMD} drpython.py)' >> ${WRKDIR}/drpython.sh
    @${INSTALL_SCRIPT} ${WRKDIR}/drpython.sh ${PREFIX}/bin/drpython

.include <bsd.port.mk>