2004-06-08 05:45:51 +00:00
|
|
|
# ex:ts=8
|
|
|
|
#
|
|
|
|
# Ports collection makefile for: kodos
|
|
|
|
# Date created: Jun 8, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kodos
|
2005-09-14 20:17:49 +00:00
|
|
|
PORTVERSION= 2.4.7
|
|
|
|
CATEGORIES= devel python
|
2005-01-13 00:20:28 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://bsdchat.com/dist/dryice/
|
2004-06-08 05:45:51 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2004-11-28 10:07:08 +00:00
|
|
|
MAINTAINER= dryice@liu.com.cn
|
2004-06-08 05:45:51 +00:00
|
|
|
COMMENT= The Python Regular Expression Debugger
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-qt
|
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
2005-01-10 22:04:32 +00:00
|
|
|
USE_PYTHON= yes
|
2004-06-08 05:45:51 +00:00
|
|
|
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>
|