PORTNAME= fam PORTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-fam-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Python Interface to the File Alteration Monitor WWW= http://python-fam.sourceforge.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python:3.6+ fam USE_PYTHON= distutils autoplist .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif pre-patch: ${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so .include