Date: Fri, 3 Jan 2014 22:41:45 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338587 - head/x11/xcurs Message-ID: <201401032241.s03Mfjig083025@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Fri Jan 3 22:41:45 2014 New Revision: 338587 URL: http://svnweb.freebsd.org/changeset/ports/338587 Log: - Stage support - Reinplace shebang with PYTHON_CMD since it depends on version dependent python modules Modified: head/x11/xcurs/Makefile Modified: head/x11/xcurs/Makefile ============================================================================== --- head/x11/xcurs/Makefile Fri Jan 3 22:40:22 2014 (r338586) +++ head/x11/xcurs/Makefile Fri Jan 3 22:41:45 2014 (r338587) @@ -11,27 +11,26 @@ MASTER_SITES= http://freebsd.nsu.ru/dist MAINTAINER= ports@FreeBSD.org COMMENT= Editor for new X.Org style full-color cursors properties -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging USE_GNOME= pygtk2 USE_PYTHON= yes NO_BUILD= yes -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,g' \ + @${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!${PYTHON_CMD},g' \ ${WRKSRC}/parsexcursor.py ${WRKSRC}/xcurs.py @${REINPLACE_CMD} -e 's,gtk\.mainquit,gtk\.main_quit,' \ ${WRKSRC}/xcurs.py ${WRKSRC}/gladew.py ${WRKSRC}/filesel.py @${REINPLACE_CMD} -e 's,gtk\.mainloop,gtk\.main,' ${WRKSRC}/filesel.py do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/xcurs.py ${PREFIX}/bin/${PORTNAME} - @${MKDIR} ${PREFIX}/lib/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/xcurs.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/filesel.py ${WRKSRC}/gladew.py \ ${WRKSRC}/parsexcursor.py ${WRKSRC}/xcursorlist.py \ - ${PREFIX}/lib/${PORTNAME} - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/xcurs.glade ${DATADIR} + ${STAGEDIR}${PREFIX}/lib/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/xcurs.glade ${STAGEDIR}${DATADIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401032241.s03Mfjig083025>