summaryrefslogtreecommitdiff
path: root/devel/p8-platform/Makefile
blob: 93f8459797f67f9c8a01d2c639a929740a8f785b (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
PORTNAME=	p8-platform
PORTVERSION=	2.1.0.1
PORTREVISION=	2
DISTVERSIONPREFIX=	${PORTNAME}-
CATEGORIES=	devel

MAINTAINER=	mickael.maillot@gmail.com
COMMENT=	Platform support library used by libCEC and binary add-ons for Kodi

LICENSE=	GPLv2+

USES=		cmake compiler:c++11-lang

USE_GITHUB=	yes
GH_ACCOUNT=	Pulse-Eight
GH_PROJECT=	platform

USE_LDCONFIG=	yes
CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON

post-patch:
	@${REINPLACE_CMD} -e '/SOVERSION/ s|\.0||' \
		-e 's|$${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig|libdata/pkgconfig|' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>