Date: Sat, 29 Dec 2012 23:00:39 +0000 (UTC) From: Jeremy Messenger <mezz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309640 - head/finance/gnucash Message-ID: <201212292300.qBTN0d9N067178@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mezz Date: Sat Dec 29 23:00:38 2012 New Revision: 309640 URL: http://svnweb.freebsd.org/changeset/ports/309640 Log: Fix the generate of .pyc/pyo (Python bytecode), bump the PORTREVISION. PR: ports/171381 Submitted by: "John W. O'Brien" <john@saltant.com> Modified: head/finance/gnucash/Makefile Modified: head/finance/gnucash/Makefile ============================================================================== --- head/finance/gnucash/Makefile Sat Dec 29 23:00:17 2012 (r309639) +++ head/finance/gnucash/Makefile Sat Dec 29 23:00:38 2012 (r309640) @@ -3,7 +3,7 @@ PORTNAME= gnucash PORTVERSION= 2.4.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} @@ -106,7 +106,7 @@ LIB_DEPENDS+= webkitgtk-1.0:${PORTSDIR}/ USE_GNOME+= gtkhtml3 .endif -.if${PORT_OPTIONS:MPYTHON} +.if ${PORT_OPTIONS:MPYTHON} CONFIGURE_ARGS+=--enable-python-bindings USE_PYTHON= yes PLIST_SUB+= PYTHON="" @@ -115,6 +115,12 @@ PLIST_SUB+= PYTHON="@comment " .endif post-install: +.if ${PORT_OPTIONS:MPYTHON} + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ + ${PYTHON_SITELIBDIR:S|${LOCALBASE}|${PREFIX}|}/${PORTNAME} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ + ${PYTHON_SITELIBDIR:S|${LOCALBASE}|${PREFIX}|}/${PORTNAME} +.endif @${CAT} ${PKGMESSAGE} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212292300.qBTN0d9N067178>