Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 10:09:04 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337682 - head/devel/py-fusefs
Message-ID:  <201312271009.rBRA94g1068628@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Dec 27 10:09:03 2013
New Revision: 337682
URL: http://svnweb.freebsd.org/changeset/ports/337682

Log:
  devel/py-fusefs: support staging and minor fixes
  
  - Support staging
  - Switch from easy_install
  - Use auto plist
  - Unmute install commands

Deleted:
  head/devel/py-fusefs/pkg-plist
Modified:
  head/devel/py-fusefs/Makefile

Modified: head/devel/py-fusefs/Makefile
==============================================================================
--- head/devel/py-fusefs/Makefile	Fri Dec 27 10:04:01 2013	(r337681)
+++ head/devel/py-fusefs/Makefile	Fri Dec 27 10:09:03 2013	(r337682)
@@ -13,29 +13,23 @@ COMMENT=	FUSE Python bindings
 
 USES=		fuse pkgconfig iconv
 USE_PYTHON=	yes
-USE_PYDISTUTILS=easy_install
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	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
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '/libs =/s|$$| + " ${ICONV_LIB}"|'\
 		${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
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+	@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
+	cd ${WRKSRC}/example/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271009.rBRA94g1068628>