1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/py-fusefs/Makefile
Andrew Pantyukhin ed406e2446 - Fix build and install by forcing the use of setuptools
Reported by:	pointyhat via kris
2007-08-14 06:30:36 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: py-fusefs
# Date created: 22 July 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fusefs
DISTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/fuse
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= fuse-python-${DISTVERSION}
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= FUSE Python bindings
LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
USE_GNOME= pkgconfig
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>