blob: 2b9192a1f60af76d60564d67cf6e04e98ce35312 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# ex:ts=8
# Ports collection makefile for: py-reverse
# Date created: Mar 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= reverse
PORTVERSION= 0.5.2
CATEGORIES= devel python
MASTER_SITES= ftp://ftp.logilab.org/pub/pyreverse/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= A set of tools for reverse engineering Python code
BUILD_DEPENDS= ${PYXML}
RUN_DEPENDS= ${PYXML} \
${PYTHONPREFIX_SITELIBDIR}/logilab/__init__.py:${PORTSDIR}/devel/py-logilab-common
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-install:
@${FIND} ${PYTHON_SITELIBDIR}/logilab/pyreverse ! -type d | \
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/logilab/pyreverse -type d | ${SORT} -r | \
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${ECHO_CMD} "@unexec rmdir %D/%%PYTHSON_SITELIBDIR%%/logilab 2>/dev/null || true" >> ${TMPPLIST}
.include <bsd.port.mk>
|