summaryrefslogtreecommitdiff
path: root/devel/inih/Makefile
blob: f9933eda92ba3a8c424333290d98a218ffbbbf17 (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=	inih
DISTVERSIONPREFIX=	r
DISTVERSION=	53
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Simple .INI file parser written in C

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	bash:shells/bash

USES=		meson
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	benhoyt

do-test:
	@cd ${WRKSRC}/tests && \
		${REINPLACE_CMD} -e 's|gcc|${CC}|' unittest.sh && \
		./unittest.sh

.include <bsd.port.mk>