1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/net/py-pypcap/Makefile
Sunpoet Po-Chuan Hsieh cc592b5a3c Workaround to avoid using /usr/lib32 over /usr/lib
PR:		239725
Reported by:	bofh
Submitted by:	leres
2019-09-30 04:19:17 +00:00

29 lines
607 B
Makefile

# Created by: George V. Neville-Neil
# $FreeBSD$
PORTNAME= pypcap
DISTVERSION= 1.2.3
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simplified object-oriented Python wrapper for libpcap
LICENSE= BSD3CLAUSE
USES= python
USE_PYTHON= autoplist cython distutils
# Add workaround to avoid using /usr/lib32 over /usr/lib
# See PR/239725 for details
LDFLAGS+= -L/usr/lib
pre-configure:
cd ${WRKSRC} && cython-${PYTHON_VER} pcap.pyx
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pcap.so
.include <bsd.port.mk>