mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= thread
|
|
PORTVERSION= 2.8.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/tcl/Tcl/8.6.6/
|
|
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>
|