summaryrefslogtreecommitdiffstats
path: root/devel/shtk/Makefile
blob: a52b9e6641c4957123a0f5263044bee0444d1ec8 (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
29
30
31
32
33
34
35
36
# $FreeBSD$

PORTNAME=	shtk
PORTVERSION=	1.6
CATEGORIES=	devel
MASTER_SITES=	https://github.com/jmmv/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ \
		LOCAL/jmmv

MAINTAINER=	jmmv@FreeBSD.org
COMMENT=	Application toolkit for POSIX-compliant shell scripts

LICENSE=	BSD3CLAUSE

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	DOCS TEST
OPTIONS_DEFAULT=TEST

.include <bsd.port.options.mk>

MAKE_FLAGS+=	pkgconfigdir=${PREFIX}/libdata/pkgconfig
.if empty(PORT_OPTIONS:MDOCS)
MAKE_FLAGS+=	doc_DATA=
.endif
.if empty(PORT_OPTIONS:MTEST)
PLIST_SUB+=	TEST="@comment "
.else
PLIST_SUB+=	TEST=
.endif

post-install:
.if empty(PORT_OPTIONS:MTEST)
	@${RM} -rf ${STAGEDIR}${PREFIX}/tests
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud