blob: 96adf88ce722d588f6ab09061669e3628a4539a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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 <bsd.port.options.mk>
.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 <bsd.port.mk>
|