blob: e916a7bbef11d78910dfb256af0680456149e47d (
plain) (
blame)
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
|
# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$
PORTNAME= memoryprofiler
PORTVERSION= 0.27
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= memory_profiler-${PORTVERSION}
MAINTAINER= xmj@chaot.net
COMMENT= Line-by-line and process memory consumption analysis
LICENSE= BSD
OPTIONS_DEFINE= PSUTIL
PSUTIL_DESC= Use psutil for better performance
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPSUTIL}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}-psutil>0:${PORTSDIR}/sysutils/py-psutil
.endif
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= memory_profiler
.include <bsd.port.mk>
|