summaryrefslogtreecommitdiff
path: root/devel/p8-platform/Makefile
blob: 3ccd965131fa3b107833ce39024abbb586f11f25 (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

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>