summaryrefslogtreecommitdiffstats
path: root/devel/tcl-mmap/Makefile
blob: 7b873d91b25aabec3cdcdfe82e0d60bcdc2a68cc (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
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$

PORTNAME=	tcl-mmap
PORTVERSION=	1.1
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	tcltk@FreeBSD.org
COMMENT=	New TCL channel type using mmap-ed files

LICENSE=	GPLv3

USE_TCL=	84+
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
		--prefix=${PREFIX} \
		--exec-prefix=${PREFIX}

PLIST_DIRS=	lib/mmap${PORTVERSION}
PLIST_FILES=	lib/mmap${PORTVERSION}/pkgIndex.tcl \
		lib/mmap${PORTVERSION}/libmmap${PORTVERSION}.so

MANN=	tcl-mmap.n

regression-test: build
	cd ${WRKSRC}/tests; \
	for t in *.tcl; \
	do \
	    echo "load ../libmmap${PORTVERSION}.so; source $$t" | ${TCLSH}; \
	done;

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