2000-07-31 17:36:11 +02:00
|
|
|
# New ports collection makefile for: TclTrf
|
|
|
|
# Date created: May 22, 2000
|
|
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= memchan
|
2002-01-26 19:17:09 +01:00
|
|
|
PORTVERSION= 2.2a2
|
2000-07-31 17:36:11 +02:00
|
|
|
CATEGORIES= devel tcl83
|
2002-01-26 19:17:09 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-07-31 17:36:11 +02:00
|
|
|
PKGNAMEPREFIX= tcl-
|
|
|
|
DISTNAME= memchan${PORTVERSION}
|
2002-01-26 19:17:09 +01:00
|
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2000-10-25 13:57:17 +02:00
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2002-01-26 19:17:09 +01:00
|
|
|
BUILD_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2001-08-15 22:33:16 +02:00
|
|
|
USE_BZIP2= yes
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2002-01-26 19:17:09 +01:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
MAKE_ARGS+= -j2
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2002-01-26 19:17:09 +01:00
|
|
|
TCL_VER?= 8.3
|
|
|
|
DDIR= ${PREFIX}/lib/tcl${TCL_VER}/Trf
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2002-01-26 19:17:09 +01:00
|
|
|
MAKE_ENV+= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2002-01-26 19:17:09 +01:00
|
|
|
# Too bad, n is no longer an acceptable section for bsd.man.mk
|
|
|
|
MANN= memchan.n fifo.n fifo2.n null.n
|
2000-07-31 17:36:11 +02:00
|
|
|
|
2002-01-26 19:17:09 +01:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MANN} ${PREFIX}/man/mann
|
|
|
|
#.ifndef(NOPORTDOCS)
|
|
|
|
# ${MKDIR} ${DOCSDIR}
|
|
|
|
# ${CP} -pR ${WRKSRC}/doc/html/* ${DOCSDIR}
|
|
|
|
#.endif
|
2000-07-31 17:36:11 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2002-01-26 19:17:09 +01:00
|
|
|
|
|
|
|
PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env
|