blob: 8afe731abcb07a841bebd1bb4d03b020cf1986ac (
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
35
36
37
38
39
40
41
42
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= fusefs
DISTVERSION= 0.2.1
CATEGORIES= devel python
MASTER_SITES= SF/fuse/fuse-python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= fuse-python-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= FUSE Python bindings
USES= fuse
USE_PYTHON= yes
USE_PKGCONFIG= yes
USE_PYDISTUTILS=easy_install
USE_ICONV= yes
PORTDOCS= AUTHORS Changelog FAQ INSTALL README.1st README.historic \
README.new_fusepy_api
PORTEXAMPLES= _find_fuse_parts.py hello.py xmp.py
PYDISTUTILS_PKGNAME= fuse-python
PYDISTUTILS_INSTALLARGS=-Z -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYEASYINSTALL_EGG}
PYEASYINSTALL_ARCHDEP= yes
DOCSDIR?= ${PREFIX}/share/doc/py-fusefs
EXAMPLESDIR?= ${PREFIX}/share/examples/py-fusefs
post-patch:
@${REINPLACE_CMD} -e '/libs =/s|$$| + " -liconv"|'\
${WRKSRC}/setup.py
post-install:
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}/
@cd ${WRKSRC}/example/&&${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>
|