mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
add kodos 2.4.2
The Python Regular Expression Debugger
This commit is contained in:
parent
0dcf541881
commit
907e8e24ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111052
5 changed files with 61 additions and 0 deletions
|
@ -350,6 +350,7 @@
|
|||
SUBDIR += kdevelop
|
||||
SUBDIR += kimwitu
|
||||
SUBDIR += kimwitu++
|
||||
SUBDIR += kodos
|
||||
SUBDIR += korelib
|
||||
SUBDIR += kprof
|
||||
SUBDIR += kscope
|
||||
|
|
41
devel/kodos/Makefile
Normal file
41
devel/kodos/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# ex:ts=8
|
||||
#
|
||||
# Ports collection makefile for: kodos
|
||||
# Date created: Jun 8, 2004
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= kodos
|
||||
PORTVERSION= 2.4.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The Python Regular Expression Debugger
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-qt
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_PYTHON= 1.5+
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
PLIST_FILES= bin/kodos ${PYTHON_SITELIBDIR:S,^${PREFIX}/,,}/kodos.pth
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
@${MV} -f ${PREFIX}/bin/kodos.py ${PREFIX}/bin/kodos
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/kodos ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/kodos -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/kodos/distinfo
Normal file
2
devel/kodos/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (kodos-2.4.2.tar.gz) = f52484b9b41b55fd0dd2d9a5f5e5ae82
|
||||
SIZE (kodos-2.4.2.tar.gz) = 356286
|
11
devel/kodos/files/patch-setup.py
Normal file
11
devel/kodos/files/patch-setup.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- setup.py.orig Tue Jun 8 12:15:26 2004
|
||||
+++ setup.py Tue Jun 8 12:15:08 2004
|
||||
@@ -18,7 +18,7 @@
|
||||
libpath = r"lib\site-packages\kodos"
|
||||
else:
|
||||
#libpath = "/usr/local/kodos" # 2.4.0 and prior
|
||||
- libpath = "/usr/share/kodos" # as of 2.4.1
|
||||
+ libpath = "%%PREFIX%%/share/kodos" # as of 2.4.1
|
||||
|
||||
for arg in args:
|
||||
if arg == "--formats=wininst":
|
6
devel/kodos/pkg-descr
Normal file
6
devel/kodos/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
Kodos is a Python GUI utility for creating, testing and debugging regular
|
||||
expressions for the Python programming language. Kodos should aid any
|
||||
developer to efficiently and effortlessly develop regular expressions in
|
||||
Python.
|
||||
|
||||
WWW: http://kodos.sourceforge.net/
|
Loading…
Add table
Reference in a new issue