freebsd-ports/devel/tcl-neo/Makefile
Mikhail Teterin ad82eb27b8 Upgrade tclX from 8.3.5 to 8.4 released last November after several
years of idleness. The changes are fairly substantial -- all Tk bits,
however insignificant they were, are now removed completely, for
example. No TclX enabled executable is built/installed either -- a Tcl
script is expected to load the Tclx package via the "package require
Tclx" only.

The changes to port add the handling of SIGINFO (made possible by the
recent fix-up of lang/tcl84), running the authors' test-target as part
of the build, and skipping building/installing of help files in the
NOPORTDOCS case.

The devel/tcl-neo is the only dependant port of tclX and is updated to
depend on the new version.
2006-06-27 23:23:20 +00:00

52 lines
1.4 KiB
Makefile

# New ports collection makefile for: NeoTcl
# Date created: Auf 17, 2001
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#
PORTNAME= neotcl
PORTVERSION= 8.2.2
PORTREVISION= 3
CATEGORIES= devel tcl83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nws
DISTNAME= neowebscript-3.3
MAINTAINER= mi@aldan.algebra.com
COMMENT= The NeoTCL part of NeoWebScript -- an Apache TCL mod
LIB_DEPENDS= db2:${PORTSDIR}/databases/db2
BUILD_DEPENDS= ${LOCALBASE}/include/tclExtend.h:${PORTSDIR}/lang/tclX
RUN_DEPENDS= ${BUILD_DEPENDS}
# Not yet -- openldap used db3, neo used db2 :(
# ldap.2:${PORTSDIR}/net/openldap20-client
SUBDIR= neowebscript-3.3/neotcl8.3.0-lite/neo${PORTVERSION}
WRKSRC= ${WRKDIR}/${SUBDIR}/generic
EXTRACT_AFTER_ARGS?= | ${TAR} -xf - ${SUBDIR}/generic ${SUBDIR}/neolibs
MAKEFILE= ${FILESDIR}/Makefile.bsd
TCL_VER?= 8.4
MAKE_ENV+= NEO_LIBRARY=${NEO_LIBRARY} TCL_VER=${TCL_VER}
DDIR= ${PREFIX}/lib/tcl${TCLV}/Trf
post-build:
cd ${WRKSRC}/../neolibs && ${ECHO_CMD} 'auto_mkindex . */*.tcl' | tclsh${TCL_VER}
NEO_LIBRARY= ${PREFIX}/lib/neo8.2
.include <bsd.port.pre.mk>
post-install:
${MKDIR} ${NEO_LIBRARY}
${CP} -Rp ${WRKSRC}/../neolibs/[a-z]* ${NEO_LIBRARY}
${SED} -e 's,@NEO_SHARED_LIB_FILE@,libneo82.so,' \
-e 's,@NEO_VERSION@,8.2,' < ${WRKSRC}/pkgIndex.tcl.in > \
${NEO_LIBRARY}/pkgIndex.tcl
.include <bsd.port.post.mk>