information. There are basically two things that are useful about these functions. First, they're only one or two letters each, so you can type them really quickly while debugging. Second, they append the name of the calling function to whatever you're printing, so you can easily see where each message came from (and you don't have to hunt down print statements once you finish debugging).
21 lines
357 B
Makefile
21 lines
357 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= debugtools
|
|
PORTVERSION= 0.2.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= db@FreeBSD.org
|
|
COMMENT= Easily print useful debugging information
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= python
|
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|