2002-02-19 09:39:03 +01:00
|
|
|
# New ports collection makefile for: PostgreSQL PL/Tcl
|
|
|
|
# Date created: January 14, 2002
|
|
|
|
# Whom: Palle Girgensohn <girgen@partitur.se>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= postgresql-pltcl
|
|
|
|
CATEGORIES= databases tcl83
|
|
|
|
|
2002-12-22 18:12:39 +01:00
|
|
|
MAINTAINER= girgen@pingpong.net
|
2002-02-19 09:39:03 +01:00
|
|
|
|
2003-01-18 23:40:10 +01:00
|
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
2002-02-19 09:39:03 +01:00
|
|
|
POSTGRESQL_SUBPORT=YES
|
2003-01-18 23:40:10 +01:00
|
|
|
.include <${PORTSDIR}/${POSTGRESQL_PORT}/Makefile>
|
2002-02-19 09:39:03 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
|
2003-01-18 23:40:10 +01:00
|
|
|
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
2002-02-19 09:39:03 +01:00
|
|
|
|
|
|
|
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
|
|
|
|
TCLVERSION?= 8.3
|
|
|
|
CONFIGURE_ARGS= --with-tcl --without-tk \
|
|
|
|
--with-tclconfig="${TCLCONFIG}" \
|
|
|
|
--with-includes="${TCL_INCDIR}"
|
|
|
|
|
|
|
|
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
|
|
|
|
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
|
|
|
|
MAKE_ARGS+= -C src/pl/tcl
|
|
|
|
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|