diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-06-08 13:45:51 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-06-08 13:45:51 +0800 |
commit | 93856b3d414ef2734f005def421747f5a959955b (patch) | |
tree | 6e18710aa64f61f78c341386d682512140ac67d9 /devel/kodos | |
parent | 0598e5cb232538a9ccb4416cb959f428f7f7b186 (diff) | |
download | freebsd-ports-gnome-93856b3d414ef2734f005def421747f5a959955b.tar.gz freebsd-ports-gnome-93856b3d414ef2734f005def421747f5a959955b.tar.zst freebsd-ports-gnome-93856b3d414ef2734f005def421747f5a959955b.zip |
add kodos 2.4.2
The Python Regular Expression Debugger
Diffstat (limited to 'devel/kodos')
-rw-r--r-- | devel/kodos/Makefile | 41 | ||||
-rw-r--r-- | devel/kodos/distinfo | 2 | ||||
-rw-r--r-- | devel/kodos/files/patch-setup.py | 11 | ||||
-rw-r--r-- | devel/kodos/pkg-descr | 6 |
4 files changed, 60 insertions, 0 deletions
diff --git a/devel/kodos/Makefile b/devel/kodos/Makefile new file mode 100644 index 000000000000..ba61e5bbbed5 --- /dev/null +++ b/devel/kodos/Makefile @@ -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> diff --git a/devel/kodos/distinfo b/devel/kodos/distinfo new file mode 100644 index 000000000000..76656be700d7 --- /dev/null +++ b/devel/kodos/distinfo @@ -0,0 +1,2 @@ +MD5 (kodos-2.4.2.tar.gz) = f52484b9b41b55fd0dd2d9a5f5e5ae82 +SIZE (kodos-2.4.2.tar.gz) = 356286 diff --git a/devel/kodos/files/patch-setup.py b/devel/kodos/files/patch-setup.py new file mode 100644 index 000000000000..225f15cdde8d --- /dev/null +++ b/devel/kodos/files/patch-setup.py @@ -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": diff --git a/devel/kodos/pkg-descr b/devel/kodos/pkg-descr new file mode 100644 index 000000000000..65cdab547fb9 --- /dev/null +++ b/devel/kodos/pkg-descr @@ -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/ |