summaryrefslogtreecommitdiff
path: root/databases/postgresql-pltcl
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-09-04 12:20:57 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-09-04 12:20:57 +0000
commit808354a4f87dce16b08920ea66bd89c89dab6445 (patch)
treecdfb3c5abebc82bb0a32f8516231fc9315386912 /databases/postgresql-pltcl
parentwww/mod_jk2 fails to build (Maintainer fix enclosed!) (diff)
Use new depends scheme for postgresql slave ports:
${MAKE} -V ... instead of .include <...> Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) PR: 56348, 56404
Notes
Notes: svn path=/head/; revision=88521
Diffstat (limited to 'databases/postgresql-pltcl')
-rw-r--r--databases/postgresql-pltcl/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile
index 5762049054fd..674f93883154 100644
--- a/databases/postgresql-pltcl/Makefile
+++ b/databases/postgresql-pltcl/Makefile
@@ -4,21 +4,26 @@
#
# $FreeBSD$
#
+POSTGRESQL_PORT?= databases/postgresql7
-PORTNAME= postgresql-pltcl
+PORTNAME= postgresql
+PORTVERSION!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V PORTVERSION
+PORTREVISION?= 0
CATEGORIES= databases tcl83
-PORTREVISION= 0
+MASTER_SITES= ${MASTER_SITE_PGSQL}
+MASTER_SITE_SUBDIR!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V MASTER_SITE_SUBDIR
+PKGNAMESUFFIX= -pltcl
+DISTFILES!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V DISTFILES
+DIST_SUBDIR= postgresql
MAINTAINER= girgen@pingpong.net
COMMENT= A module for using Tcl to write SQL functions
-POSTGRESQL_PORT?= databases/postgresql7
-POSTGRESQL_SUBPORT=YES
-.include "../../${POSTGRESQL_PORT}/Makefile"
-
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
+MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo
+
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
TCLVERSION?= 8.3
CONFIGURE_ARGS= --with-tcl --without-tk \