freebsd-ports/devel/kodos/Makefile
Edwin Groothuis 8c8fc31c5c [maintainer update] 16 ports: add mirror MASTER_SITES
Please add http://bsdchat.com/dist/dryice/ to the MASTER_SITES
	of the following ports. Thanks Clive Lin and bsdchat.com for
	the mirror space!

	chinese/xpdf
	deskutils/etask
	devel/cedet
	devel/ecb
	devel/eieio
	devel/ipython
	devel/kodos
	devel/semantic
	devel/xtla
	editors/speedbar
	editors/tree-widget
	games/emacs-chess
	net/tcping
	www/mod_scgi
	www/py-scgi
	www/quixote

PR:		ports/75743
Submitted by:	Dryice Liu <dryice@liu.com.cn>
2005-01-13 00:20:28 +00:00

44 lines
1.1 KiB
Makefile

# ex:ts=8
#
# Ports collection makefile for: kodos
# Date created: Jun 8, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= kodos
PORTVERSION= 2.4.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://bsdchat.com/dist/dryice/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dryice@liu.com.cn
COMMENT= The Python Regular Expression Debugger
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-qt
USE_REINPLACE= yes
USE_PYTHON= yes
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>