diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2015-11-27 14:58:09 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2015-11-27 14:58:09 +0000 |
commit | d1928556f8b7c2599f43c388b0bc5621e60d9d1b (patch) | |
tree | 1a48c370663f70503ce2af8dcf9745f9fcd1aea0 | |
parent | b1417d78a375d86f2234013fcd291cf35e022437 (diff) | |
download | freebsd-ports-d1928556f8b7c2599f43c388b0bc5621e60d9d1b.zip |
devel/spice-protocol: update to 0.12.10
PR: 204836 (based on)
Submitted by: olevole@olevole.ru
-rw-r--r-- | devel/spice-protocol/Makefile | 6 | ||||
-rw-r--r-- | devel/spice-protocol/distinfo | 4 | ||||
-rw-r--r-- | devel/spice-protocol/files/patch-spice-protocol.pc.in | 12 | ||||
-rw-r--r-- | devel/spice-protocol/pkg-plist | 9 |
4 files changed, 28 insertions, 3 deletions
diff --git a/devel/spice-protocol/Makefile b/devel/spice-protocol/Makefile index bbc7f7cda8ea..0942fc77f81a 100644 --- a/devel/spice-protocol/Makefile +++ b/devel/spice-protocol/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= spice-protocol -PORTVERSION= 0.12.9 +PORTVERSION= 0.12.10 CATEGORIES= devel MASTER_SITES= http://www.spice-space.org/download/releases/ @@ -14,4 +14,8 @@ LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes USES= gmake pathfix pkgconfig tar:bzip2 +post-patch: + @${REINPLACE_CMD} -e 's|(libdir)/spice-protocol|(datadir)/spice-protocol/|' \ + ${WRKSRC}/Makefile.in ${WRKSRC}/python_modules/Makefile.in + .include <bsd.port.mk> diff --git a/devel/spice-protocol/distinfo b/devel/spice-protocol/distinfo index b690d390143d..d359bf520585 100644 --- a/devel/spice-protocol/distinfo +++ b/devel/spice-protocol/distinfo @@ -1,2 +1,2 @@ -SHA256 (spice-protocol-0.12.9.tar.bz2) = 290cf834dd156014d229b474e98006265ab9c5f63b4c471ea3b2cf8b2ff37876 -SIZE (spice-protocol-0.12.9.tar.bz2) = 71766 +SHA256 (spice-protocol-0.12.10.tar.bz2) = 788f0d7195bec5b14371732b562eb55ca82712aab12273b0e87529fb30532efb +SIZE (spice-protocol-0.12.10.tar.bz2) = 103029 diff --git a/devel/spice-protocol/files/patch-spice-protocol.pc.in b/devel/spice-protocol/files/patch-spice-protocol.pc.in new file mode 100644 index 000000000000..54a75260c38e --- /dev/null +++ b/devel/spice-protocol/files/patch-spice-protocol.pc.in @@ -0,0 +1,12 @@ +--- spice-protocol.pc.in.orig 2015-11-27 10:59:58 UTC ++++ spice-protocol.pc.in +@@ -1,7 +1,7 @@ + prefix=@prefix@ +-exec_prefix=@exec_prefix@ + includedir=@includedir@ +-codegendir=@libdir@/spice-protocol ++datadir=${prefix}/share ++codegendir=${datadir}/spice-protocol + + Name: spice-protocol + Description: SPICE protocol headers diff --git a/devel/spice-protocol/pkg-plist b/devel/spice-protocol/pkg-plist index a926906bf094..4720d4440539 100644 --- a/devel/spice-protocol/pkg-plist +++ b/devel/spice-protocol/pkg-plist @@ -14,4 +14,13 @@ 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/codegen.py +%%DATADIR%%/python_modules/demarshal.py +%%DATADIR%%/python_modules/marshal.py +%%DATADIR%%/python_modules/ptypes.py +%%DATADIR%%/python_modules/spice_parser.py +%%DATADIR%%/spice.proto +%%DATADIR%%/spice1.proto +%%DATADIR%%/spice_codegen.py libdata/pkgconfig/spice-protocol.pc |