Date: Sat, 29 Dec 2012 23:10:01 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: gnome@FreeBSD.org Subject: Re: ports/171381: commit references a PR Message-ID: <201212292310.qBTNA1oY039245@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/171381; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/171381: commit references a PR Date: Sat, 29 Dec 2012 23:01:05 +0000 (UTC) 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> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212292310.qBTNA1oY039245>