aboutsummaryrefslogtreecommitdiff
path: root/net/scapy
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-10-24 12:36:53 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-10-24 13:08:28 +0000
commit5793bc0b896667d59b8cbcbd95459f9a9c64e785 (patch)
treea7f96b066ff544aa13ed2ae56d7b0700a23d9aca /net/scapy
parent2214c4a7e16dd6442b21fef050e0f1902756b11e (diff)
downloadports-5793bc0b896667d59b8cbcbd95459f9a9c64e785.tar.gz
ports-5793bc0b896667d59b8cbcbd95459f9a9c64e785.zip
Diffstat (limited to 'net/scapy')
-rw-r--r--net/scapy/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/scapy/Makefile b/net/scapy/Makefile
index 6a6384989b5e..89d1d79137eb 100644
--- a/net/scapy/Makefile
+++ b/net/scapy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scapy
PORTVERSION= 2.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -43,6 +43,7 @@ PYX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyx>0:graphics/py-pyx@${PY_FLAVOR}
SOX_RUN_DEPENDS= ${LOCALBASE}/bin/sox:audio/sox
post-patch:
+ @${RM} ${WRKSRC}/test/__init__.py
@${REINPLACE_CMD} "s,share/man/man1,man/man1," ${WRKSRC}/setup.py
@${REINPLACE_CMD} "s,/usr/share/,${LOCALBASE}/share/," \
${WRKSRC}/scapy/modules/nmap.py