summaryrefslogtreecommitdiff
path: root/graphics/eglexternalplatform/Makefile
blob: 1c409d18046df5d984f22801704e91f0f4acf0ae (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=	eglexternalplatform
DISTVERSION=	1.1
CATEGORIES=	graphics

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	EGL External Platform interface

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

USE_GITHUB=	yes
GH_ACCOUNT=	NVIDIA
NO_BUILD=	yes
PLIST_FILES=	include/EGL/${PORTNAME}.h \
		include/EGL/${PORTNAME}version.h \
		libdata/pkgconfig/${PORTNAME}.pc

post-patch:
	@${REINPLACE_CMD} 's,/usr,${PREFIX},' ${WRKSRC}/eglexternalplatform.pc

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/include/EGL
	${INSTALL_DATA} ${WRKSRC}/interface/* ${STAGEDIR}${PREFIX}/include/EGL
	${INSTALL_DATA} ${WRKSRC}/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig

.include <bsd.port.mk>