1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Break postgresql-pltcl up into versioned ports; now we will have packages

Fix plist for 9.1
This commit is contained in:
Chris Rees 2012-03-05 21:18:50 +00:00
parent 9183ac23aa
commit ea1723d3ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292778
9 changed files with 54 additions and 26 deletions

1
MOVED
View File

@ -3244,3 +3244,4 @@ security/blocksshd||2012-03-03|Removed: security/sshguard is more active and a b
net/p5-Net-Subnets||2012-03-03|Has expired: Disappeared from CPAN
www/mediawiki116||2012-03-04|Has expired: Unsupport Upstream
databases/postgresql-docs|databases/postgresql84-docs|2012-03-04|Split into versioned ports
databases/postgresql-pltcl|databases/postgresql84-pltcl|2012-03-05|Split into versioned ports

View File

@ -619,7 +619,6 @@
SUBDIR += postgresql-plproxy
SUBDIR += postgresql-plpython
SUBDIR += postgresql-plruby
SUBDIR += postgresql-pltcl
SUBDIR += postgresql-relay
SUBDIR += postgresql-repmgr
SUBDIR += postgresql-tcltk
@ -630,21 +629,25 @@
SUBDIR += postgresql83-contrib
SUBDIR += postgresql83-docs
SUBDIR += postgresql83-plperl
SUBDIR += postgresql83-pltcl
SUBDIR += postgresql83-server
SUBDIR += postgresql84-client
SUBDIR += postgresql84-contrib
SUBDIR += postgresql84-docs
SUBDIR += postgresql84-plperl
SUBDIR += postgresql84-pltcl
SUBDIR += postgresql84-server
SUBDIR += postgresql90-client
SUBDIR += postgresql90-contrib
SUBDIR += postgresql90-docs
SUBDIR += postgresql90-plperl
SUBDIR += postgresql90-pltcl
SUBDIR += postgresql90-server
SUBDIR += postgresql91-client
SUBDIR += postgresql91-contrib
SUBDIR += postgresql91-docs
SUBDIR += postgresql91-plperl
SUBDIR += postgresql91-pltcl
SUBDIR += postgresql91-server
SUBDIR += postgresql_autodoc
SUBDIR += powerarchitect

View File

@ -1,6 +0,0 @@
PL/Tcl allows you to write PostgreSQL stored functions and procedures
in Tcl.
This software is part of the standard PostgreSQL distribution.
WWW: http://www.postgresql.org/

View File

@ -0,0 +1,10 @@
# New ports collection makefile for: PostgreSQL PL/Tcl
# Date created: January 14, 2002
# Whom: Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD$
#
WANT_PGSQL_VER?=83
.include "${.CURDIR}/../postgresql91-pltcl/Makefile"

View File

@ -0,0 +1,10 @@
# New ports collection makefile for: PostgreSQL PL/Tcl
# Date created: January 14, 2002
# Whom: Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD$
#
WANT_PGSQL_VER?=84
.include "${.CURDIR}/../postgresql91-pltcl/Makefile"

View File

@ -0,0 +1,10 @@
# New ports collection makefile for: PostgreSQL PL/Tcl
# Date created: January 14, 2002
# Whom: Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD$
#
WANT_PGSQL_VER?=90
.include "${.CURDIR}/../postgresql91-pltcl/Makefile"

View File

@ -13,27 +13,13 @@ PKGNAMESUFFIX= -pltcl
MAINTAINER= pgsql@FreeBSD.org
COMMENT= A module for using Tcl to write SQL functions
MASTERDIR= ${.CURDIR}/../../databases/postgresql${PGSQL_VER}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
BUILD_DEPENDS= postgres:${POSTGRESQL_PORT}
RUN_DEPENDS= postgres:${POSTGRESQL_PORT}
POSTGRESQL_PORT?=${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
POSTGRESQL_PORT?=${PORTSDIR}/databases/postgresql${WANT_PGSQL_VER}-server
DEFAULT_PGSQL_VER?=82
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.
.if exists(${LOCALBASE}/bin/postmaster)
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)[^0-9].*/\1\2/p'
.elif exists(${LOCALBASE}/bin/pg_config)
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)[^0-9].*/\1\2/p'
.else
PGSQL_VER= ${DEFAULT_PGSQL_VER}
.endif
WANT_PGSQL_VER?=91
# you can use "make WITH_TCL_VER=84" or similar for your favourite tcl version
USE_TCL= 84+

View File

@ -1,3 +1,9 @@
%%DATADIR%%/extension/pltcl--1.0.sql
%%DATADIR%%/extension/pltcl.control
%%DATADIR%%/extension/pltclu.control
%%DATADIR%%/extension/pltclu--1.0.sql
%%DATADIR%%/extension/pltcl--unpackaged--1.0.sql
%%DATADIR%%/extension/pltclu--unpackaged--1.0.sql
%%DOCSDIR%%/README-pltcl
lib/postgresql/pltcl.so
@dirrmtry lib/postgresql
@ -5,5 +11,6 @@ bin/pltcl_loadmod
bin/pltcl_delmod
bin/pltcl_listmod
share/postgresql/unknown.pltcl
@dirrmtry share/postgresql
@dirrmtry %%DATADIR%%/extension
@dirrmtry %%DATADIR%%
@dirrmtry %%DOCSDIR%%

View File

@ -1,3 +1,9 @@
%%DATADIR%%/extension/pltcl--1.0.sql
%%DATADIR%%/extension/pltcl.control
%%DATADIR%%/extension/pltclu.control
%%DATADIR%%/extension/pltclu--1.0.sql
%%DATADIR%%/extension/pltcl--unpackaged--1.0.sql
%%DATADIR%%/extension/pltclu--unpackaged--1.0.sql
%%DOCSDIR%%/README-pltcl
lib/postgresql/pltcl.so
@dirrmtry lib/postgresql
@ -5,5 +11,6 @@ bin/pltcl_loadmod
bin/pltcl_delmod
bin/pltcl_listmod
share/postgresql/unknown.pltcl
@dirrmtry share/postgresql
@dirrmtry %%DATADIR%%/extension
@dirrmtry %%DATADIR%%
@dirrmtry %%DOCSDIR%%