aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-09-04 20:20:57 +0800
committerosa <osa@FreeBSD.org>2003-09-04 20:20:57 +0800
commit807d300a37b951360a14a90528d34648356d66bd (patch)
tree550144d90e916a9dd1c2617b010d58e3398ff74c
parent410064b64dc50002992d04b091a00cdb7a798dde (diff)
downloadfreebsd-ports-gnome-807d300a37b951360a14a90528d34648356d66bd.tar.gz
freebsd-ports-gnome-807d300a37b951360a14a90528d34648356d66bd.tar.zst
freebsd-ports-gnome-807d300a37b951360a14a90528d34648356d66bd.zip
Use new depends scheme for postgresql slave ports:
${MAKE} -V ... instead of .include <...> Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) PR: 56348, 56404
-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 \