summaryrefslogtreecommitdiff
path: root/devel/drpython
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-08-25 01:32:30 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-08-25 01:32:30 +0000
commit21486d2c95252aed717858df35a3d18f2af07311 (patch)
tree4a0a3b81e2671a83409e560bfde159af3bbd81d1 /devel/drpython
parentdd85775c04d29706e057eff100153d3b7728900b (diff)
downloadfreebsd-ports-21486d2c95252aed717858df35a3d18f2af07311.zip
Add a .desktop file for DrPython.
Bump PORTREVISION since it changes the final plist. PR: ports/170983 Submitted by: wblock
Diffstat (limited to 'devel/drpython')
-rw-r--r--devel/drpython/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/drpython/Makefile b/devel/drpython/Makefile
index c286c5f4f7ad..52f9b6652aa1 100644
--- a/devel/drpython/Makefile
+++ b/devel/drpython/Makefile
@@ -7,6 +7,7 @@
PORTNAME= drpython
PORTVERSION= 3.11.3
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION}
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
@@ -26,6 +27,10 @@ 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"
+
post-install:
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh
@${ECHO_CMD} '(cd ${PYTHONPREFIX_SITELIBDIR}/drpython && ${PYTHON_CMD} drpython.py)' >> ${WRKDIR}/drpython.sh