mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
ad814bbdd7
transferring large amounts of data between procedures or interpreters. PR: ports/18761 Submitted by: Mikhail Teterin <mi@privatelabs.com>
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: TclTrf
|
|
# Date created: May 22, 2000
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= memchan
|
|
PORTVERSION= 2.1p1
|
|
CATEGORIES= devel tcl83
|
|
MASTER_SITES= http://www.oche.de/~akupries/soft/memchan/download/
|
|
PKGNAMEPREFIX= tcl-
|
|
DISTNAME= memchan${PORTVERSION}
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
BUILD_DEPENDS= tclsh${TCLV}:${PORTSDIR}/lang/tcl${TCLVND}
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
|
|
|
# Bzip2 library is also needed, but it requested implicitly below.
|
|
# Also, the current Bzip2 port only builds the static version :(
|
|
# bz2:${PORTSDIR}/archivers/bzip2
|
|
|
|
GNU_CONFIGURE= yes
|
|
PLIST_SUB+= TCLV=${TCLV} TCLVND=${TCLVND}
|
|
CONFIGURE_ARGS= --with-tcl-include-dir=${PREFIX}/include/tcl${TCLV} \
|
|
--with-tcl-lib-dir=${PREFIX}/lib/tcl${TCLV}
|
|
|
|
#ALL_TARGET= library
|
|
|
|
USE_BZIP2= yes
|
|
|
|
TCLV?= 8.3
|
|
TCLVND= ${TCLV:S/.//}
|
|
DDIR= ${PREFIX}/lib/tcl${TCLV}/Trf
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/tcl${TCLV}/memchan
|
|
${INSTALL_DATA} ${WRKSRC}/libmemchan${TCLVND}.so.1 ${FILESDIR}/pkgIndex.tcl \
|
|
${PREFIX}/lib/tcl${TCLV}/memchan
|
|
.ifndef(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/memchan
|
|
${CP} -pR ${WRKSRC}/../doc/html/* ${PREFIX}/share/doc/memchan/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|