1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/tcl-memchan/Makefile
Mikhail Teterin a5a2364bca Another case of SHLIBDIR->LIBDIR. While here, upgrade from 2.2a2 to 2.2a4
(released in August 2002). Stop parametrizing some of the values in
files/Makefile.bsd -- they change _so rarely_ the benefit does not justify
the gymnastics. Default to TCL-8.3

Suggested by:	kris
2003-10-27 21:03:04 +00:00

45 lines
1.1 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.2a4
CATEGORIES= devel tcl${TCL_VER:S/.//}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
PKGNAMEPREFIX= tcl-
DISTNAME= Memchan${PORTVERSION}
MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= mi@aldan.algebra.com
COMMENT= Two new channel types for in-memory channels in TCL8
BUILD_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}
USE_BZIP2= yes
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ARGS+= -j2
TCL_VER?= 8.4
DDIR= ${PREFIX}/lib/tcl${TCL_VER}/Trf
MAKE_ENV+= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
INSTALL_DATA="${INSTALL_DATA}"
# Too bad, n is no longer an acceptable section for bsd.man.mk
MANN= memchan.n fifo.n fifo2.n null.n
post-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MANN} ${PREFIX}/man/mann
#.ifndef(NOPORTDOCS)
# ${MKDIR} ${DOCSDIR}
# ${CP} -pR ${WRKSRC}/doc/html/* ${DOCSDIR}
#.endif
.include <bsd.port.mk>
PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env