Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 17:23:12 +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: r337752 - head/games/py-mnemosyne
Message-ID:  <201312271723.rBRHNCoG035148@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Dec 27 17:23:11 2013
New Revision: 337752
URL: http://svnweb.freebsd.org/changeset/ports/337752

Log:
  games/py-mnemosyne: allow staging and switch from easy_install

Modified:
  head/games/py-mnemosyne/Makefile

Modified: head/games/py-mnemosyne/Makefile
==============================================================================
--- head/games/py-mnemosyne/Makefile	Fri Dec 27 17:18:06 2013	(r337751)
+++ head/games/py-mnemosyne/Makefile	Fri Dec 27 17:23:11 2013	(r337752)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mnemosyne
 PORTVERSION=	2.2.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	games python
 MASTER_SITES=	SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION}
@@ -16,17 +17,15 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qt4>
 		${PYTHON_PKGNAMEPREFIX}matplotlib>=1.2.0:${PORTSDIR}/math/py-matplotlib \
 		${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2:${PORTSDIR}/www/py-cherrypy
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
 USES=		desktop-file-utils
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes
-PYDISTUTILS_PKGNAME=	Mnemosyne
-NO_STAGE=	yes
 
 post-install:
-	@cd ${WRKSRC}/mo && ${COPYTREE_SHARE} . ${PREFIX}/share/locale
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
-	@${MKDIR} ${PREFIX}/share/icons
-	${INSTALL_DATA} ${WRKSRC}/pixmaps/${PORTNAME}.png ${PREFIX}/share/icons
+	@cd ${WRKSRC}/mo && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
+	${INSTALL_DATA} ${WRKSRC}/pixmaps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons
 
 .include <bsd.port.mk>



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