net/scapy: Moved man to share/man

This commit is contained in:
Muhammad Moinur Rahman 2024-01-30 22:20:46 +01:00
parent 51abd9e2d8
commit 14b0e0123c
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91

View file

@ -1,6 +1,6 @@
PORTNAME= scapy
PORTVERSION= 2.5.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -44,7 +44,6 @@ 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
@${REINPLACE_CMD} "s,/etc/,${LOCALBASE}/etc/," \