diff options
Diffstat (limited to 'devel/py-ptrace')
-rw-r--r-- | devel/py-ptrace/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/py-ptrace/Makefile b/devel/py-ptrace/Makefile index 1d310ac0bc1f..be6694fba7c3 100644 --- a/devel/py-ptrace/Makefile +++ b/devel/py-ptrace/Makefile @@ -7,6 +7,7 @@ PORTNAME= ptrace PORTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,13 +16,17 @@ DISTNAME= python-ptrace-${PORTVERSION} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python binding of ptrace -RUN_DEPENDS= ${PYCTYPES} \ - ${LOCALBASE}/lib/libdistorm64.so:${PORTSDIR}/devel/distorm +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/distorm.so:${PORTSDIR}/devel/py-distorm -USE_PYTHON= 2.5+ +USE_PYTHON= 2.5-2.7 USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= python_ptrace +LICENSE= GPLv2 ONLY_FOR_ARCHS= i386 +post-patch: + ${REINPLACE_CMD} -e 's|libdistorm64.so|${PYTHON_SITELIBDIR}/distorm.so|' \ + ${WRKSRC}/ptrace/pydistorm.py + .include <bsd.port.mk> |