aboutsummaryrefslogtreecommitdiff
path: root/devel/libpru/Makefile
blob: 8ba91120576bf81fb87b39c1cfc90e4e981f951e (plain) (blame)
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=	libpru
DISTVERSION=	0.4
CATEGORIES=	devel

MAINTAINER=	jmg@FreeBSD.org
# The maintainer says, if you're actively using this you are free to
# take this port.
COMMENT=	Library to interface with PRUs

LICENSE=	BSD2CLAUSE

USE_GITHUB=	yes
GH_ACCOUNT=	rpaulo
GH_TAGNAME=	v0.4

IGNORE_DragonFly=	only supported on FreeBSD
USES=		cmake compiler

.include <bsd.port.pre.mk>

post-patch:
	${REINPLACE_CMD} -e 's/ -Weverything//'  ${WRKSRC}/CMakeLists.txt
.if ${CHOSEN_COMPILER_TYPE} == gcc
	${REINPLACE_CMD} -e 's/ -Werror//'  ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.post.mk>