1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/kodos/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +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.9
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dryice@dryice.name
COMMENT= The Python Regular Expression Debugger
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-qt
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_NOEGGINFO= 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>