1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/drpython/Makefile
William Grzybowski 1085bf39e6 devel/drpython: use easy_install and python auto plist
- This is in preparation for setuptools only python ports
2013-12-14 12:56:38 +00:00

40 lines
994 B
Makefile

# Created by: vsevolod
# $FreeBSD$
PORTNAME= drpython
PORTVERSION= 3.11.3
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION}
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
DISTNAME= DrPython_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Highly customizable cross-platform ide to aid programming in Python
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/DrPython
USE_ZIP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= DrPython
USE_WX= 2.6+
WX_COMPS= python:lib
DESKTOP_ENTRIES= "DrPython" "Python editor and IDE" \
"${PYTHONPREFIX_SITELIBDIR}/drpython/bitmaps/drpython.png" \
"drpython" "Development;IDE;" "false"
PLIST_FILES= bin/drpython
NO_STAGE= yes
post-install:
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh
@${ECHO_CMD} 'exec ${PYTHON_CMD} -m drpython.drpython' >> ${WRKDIR}/drpython.sh
${INSTALL_SCRIPT} ${WRKDIR}/drpython.sh ${PREFIX}/bin/drpython
.include <bsd.port.mk>