ports/devel/py-fam/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

32 lines
764 B
Makefile

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= https://python-fam.sourceforge.net/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python fam
USE_PYTHON= distutils autoplist
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
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 <bsd.port.mk>