blob: d145fc8ca96c16842df881fd463b96390ae29904 (
plain) (
blame)
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
|
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 && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.endif
pre-patch:
${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so
.include <bsd.port.mk>
|