summaryrefslogtreecommitdiff
path: root/devel/spice-protocol/Makefile
blob: e950aeab884d3178e96d5c51a3115a127850d5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Jason Helfman <jgh@FreeBSD.org>
# $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 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 <bsd.port.mk>