blob: 55422ff240b00ada30e369af45867bf3290f58e7 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= thread
PORTVERSION= 2.8.2
CATEGORIES= devel
MASTER_SITES= SF/tcl/Tcl/8.6.8/
PKGNAMEPREFIX= tcl
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Scripting level thread extension for Tcl
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/license.terms
USES= autoreconf tcl:tea
DOCSDIR= ${PREFIX}/share/doc/${TCL_PKG}
USE_LDCONFIG= ${PREFIX}/lib/${TCL_PKG}
PLIST_SUB+= VERSION="${PORTVERSION}"
INSTALL_TARGET= install-binaries install-doc
TEST_TARGET= test
OPTIONS_DEFINE= DOCS GDBM LMDB
OPTIONS_DEFAULT=GDBM
GDBM_DESC= Persistent shared variables using GDBM
LMDB_DESC= Persistent shared variables using LMDB
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm
GDBM_CONFIGURE_WITH= gdbm
LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
LMDB_CONFIGURE_WITH= lmdb
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} "/INSTALL_LIBRARY=/s|'\$$| -s'|" \
${WRKSRC}/tclconfig/tcl.m4
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/html
.for FILE in ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html
.include <bsd.port.mk>
|