2001-08-17 07:07:16 +02:00
|
|
|
# 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
|
2004-04-12 20:26:49 +02:00
|
|
|
PORTREVISION= 2
|
2001-08-17 07:07:16 +02:00
|
|
|
CATEGORIES= devel tcl83
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-08-17 07:38:43 +02:00
|
|
|
MASTER_SITE_SUBDIR=nws
|
2001-08-17 07:07:16 +02:00
|
|
|
DISTNAME= neowebscript-3.3
|
|
|
|
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The NeoTCL part of NeoWebScript -- an Apache TCL mod
|
2001-08-17 07:07:16 +02:00
|
|
|
|
2003-06-02 22:19:28 +02:00
|
|
|
LIB_DEPENDS= tclx83:${PORTSDIR}/lang/tclX \
|
2002-08-22 21:34:32 +02:00
|
|
|
db2:${PORTSDIR}/databases/db2
|
2001-08-17 07:07:16 +02:00
|
|
|
|
|
|
|
# Not yet -- openldap used db3, neo used db2 :(
|
2003-08-15 02:49:31 +02:00
|
|
|
# ldap.2:${PORTSDIR}/net/openldap20-client
|
2001-08-17 07:07:16 +02:00
|
|
|
|
|
|
|
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
|
2004-04-12 20:26:49 +02:00
|
|
|
TCL_VER?= 8.4
|
|
|
|
MAKE_ENV+= NEO_LIBRARY=${NEO_LIBRARY} TCL_VER=${TCL_VER}
|
2001-08-17 07:07:16 +02:00
|
|
|
|
|
|
|
DDIR= ${PREFIX}/lib/tcl${TCLV}/Trf
|
|
|
|
|
|
|
|
post-build:
|
2004-04-12 20:26:49 +02:00
|
|
|
cd ${WRKSRC}/../neolibs && ${ECHO_CMD} 'auto_mkindex . */*.tcl' | tclsh${TCL_VER}
|
2001-08-17 07:07:16 +02:00
|
|
|
|
|
|
|
NEO_LIBRARY= ${PREFIX}/lib/neo8.2
|
|
|
|
|
2004-02-09 02:55:41 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-08-17 07:07:16 +02:00
|
|
|
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
|
|
|
|
|
2004-02-09 02:55:41 +01:00
|
|
|
.include <bsd.port.post.mk>
|