Index: head/devel/spice-protocol/Makefile =================================================================== --- head/devel/spice-protocol/Makefile (revision 402526) +++ head/devel/spice-protocol/Makefile (revision 402527) @@ -1,21 +1,27 @@ # Created by: Jason Helfman # $FreeBSD$ PORTNAME= spice-protocol PORTVERSION= 0.12.10 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.spice-space.org/download/releases/ MAINTAINER= novel@FreeBSD.org COMMENT= Simple Protocol for Independent Computing Environments LICENSE= BSD3CLAUSE +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six + GNU_CONFIGURE= yes -USES= gmake pathfix pkgconfig tar:bzip2 +USES= gmake pathfix pkgconfig python tar:bzip2 post-patch: @${REINPLACE_CMD} -e 's|(libdir)/spice-protocol|(datadir)/spice-protocol/|' \ ${WRKSRC}/Makefile.in ${WRKSRC}/python_modules/Makefile.in + +post-install: + @${PYTHON_CMD} -m compileall -d ${DATADIR} ${STAGEDIR}${DATADIR} .include Index: head/devel/spice-protocol/pkg-plist =================================================================== --- head/devel/spice-protocol/pkg-plist (revision 402526) +++ head/devel/spice-protocol/pkg-plist (revision 402527) @@ -1,26 +1,33 @@ include/spice-1/spice/barrier.h include/spice-1/spice/controller_prot.h include/spice-1/spice/end-packed.h include/spice-1/spice/enums.h include/spice-1/spice/error_codes.h include/spice-1/spice/foreign_menu_prot.h include/spice-1/spice/ipc_ring.h include/spice-1/spice/macros.h include/spice-1/spice/protocol.h include/spice-1/spice/qxl_dev.h include/spice-1/spice/qxl_windows.h include/spice-1/spice/start-packed.h include/spice-1/spice/stats.h include/spice-1/spice/types.h include/spice-1/spice/vd_agent.h include/spice-1/spice/vdi_dev.h %%DATADIR%%/python_modules/__init__.py +%%DATADIR%%/python_modules/__init__.pyc %%DATADIR%%/python_modules/codegen.py +%%DATADIR%%/python_modules/codegen.pyc %%DATADIR%%/python_modules/demarshal.py +%%DATADIR%%/python_modules/demarshal.pyc %%DATADIR%%/python_modules/marshal.py +%%DATADIR%%/python_modules/marshal.pyc %%DATADIR%%/python_modules/ptypes.py +%%DATADIR%%/python_modules/ptypes.pyc %%DATADIR%%/python_modules/spice_parser.py +%%DATADIR%%/python_modules/spice_parser.pyc %%DATADIR%%/spice.proto %%DATADIR%%/spice1.proto %%DATADIR%%/spice_codegen.py +%%DATADIR%%/spice_codegen.pyc libdata/pkgconfig/spice-protocol.pc