summaryrefslogtreecommitdiff
path: root/lang/jimtcl/Makefile
blob: b745a1e82feb7530d9eb67f912c5f6294327e183 (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
37
PORTNAME=	jimtcl
PORTVERSION=	0.81
CATEGORIES=	lang tcl

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Small footprint implementation of the Tcl programming language
WWW=		http://jim.tcl.tk

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		ssl

USE_GITHUB=	yes
GH_ACCOUNT=	msteveb

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--full \
		--enable-utf8 \
		--enable-shared

PLIST_SUB=	PORTVERSION=${PORTVERSION}

OPTIONS_DEFINE=		DOCS
DOCS_CONFIGURE_ENABLE=	docs
DOCS_CONFIGURE_ON=	--docdir=${DOCSDIR}
PORTDOCS=		*

TEST_TARGET=		test

post-install:
	@${STRIP_CMD} \
		${STAGEDIR}${PREFIX}/bin/jimsh \
		${STAGEDIR}${PREFIX}/lib/libjim.so.${PORTVERSION}

.include <bsd.port.mk>