if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
29 lines
621 B
Makefile
29 lines
621 B
Makefile
# $OpenBSD: Makefile,v 1.11 2021/02/23 19:39:33 sthen Exp $
|
|
|
|
COMMENT = compare pcap dump files
|
|
|
|
GH_ACCOUNT = isginf
|
|
GH_PROJECT = pcap-diff
|
|
GH_COMMIT = d4c129e98527f42fbd94362d50608d5286e3f57d
|
|
DISTNAME = pcapdiff-0.20180816
|
|
REVISION = 0
|
|
|
|
CATEGORIES = net security
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
RUN_DEPENDS = net/scapy
|
|
|
|
NO_TEST = Yes
|
|
NO_BUILD = Yes
|
|
MODPY_ADJ_FILES = pcap_diff.py
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pcapdiff
|
|
${INSTALL_DATA} ${WRKSRC}/[A-Z]* ${PREFIX}/share/doc/pcapdiff/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pcap_diff.py ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|