ports/171381: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Sat Dec 29 23:10:02 UTC 2012
The following reply was made to PR ports/171381; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
More information about the freebsd-gnome
mailing list