summaryrefslogtreecommitdiff
path: root/devel/libpru/Makefile
blob: 5f2f5251f75261d1388d5fe23ab07b86bb319865 (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
28

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>