1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/www/tclhttpd/scripts/pre-build
Neil Blakey-Milner 57dc407478 Add tclhttpd, a pure-Tcl implementation of a HTTP server.
PR:		ports/19870
Submitted by:	Mikhail Teterin <mi@privatelabs.com>
2000-07-20 11:55:59 +00:00

19 lines
417 B
Bash

#!/bin/sh
crypt_SRCS="crypt.c cryptLib.c"
setuid_SRCS=setuid.c
limit_SRCS=limit.c
cd ${WRKSRC}/src
for l in crypt setuid limit
do
make INTERNALLIB=Y NOPROFILE=Y \
LIB=${l} SHLIB_MAJOR=1 SHLIB_MINOR=0 \
SRCS="`eval echo \\$${l}_SRCS`" -ECFLAGS \
CFLAGS="${CFLAGS} -I${PREFIX}/include/tcl${TCL_DVER} -DUSE_TCL_STUBS" \
LDADD="-L${PREFIX}/lib -ltclstub${TCL_VER} -lcrypt" \
-f bsd.lib.mk \
|| exit 1
done