aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-10-04 22:43:26 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-10-04 22:43:26 +0000
commit06e9686a0501d45e1aa23f0334fa702860860fc8 (patch)
treeb0d0d450d81376ce26644bfd613dcc88204cf18d
parent2fd10aed0c2c208cd018b5fd1ae80525434c45e9 (diff)
downloadports-06e9686a0501d45e1aa23f0334fa702860860fc8.tar.gz
ports-06e9686a0501d45e1aa23f0334fa702860860fc8.zip
make USE_TCL=yes compiles libpgtcl subdir which is needed
for building the tcl/tk based database frontend pgaccess. For an updated version of this tool a separate port will follow. Please test these changes well, so that we get a nice PostgreSQL 6.2 version up and running "b4" port freeze ;-)
Notes
Notes: svn path=/head/; revision=8112
-rw-r--r--databases/postgresql-devel-server/Makefile20
-rw-r--r--databases/postgresql-devel-server/pkg-plist5
-rw-r--r--databases/postgresql-devel/Makefile20
-rw-r--r--databases/postgresql-devel/pkg-plist5
-rw-r--r--databases/postgresql7/Makefile20
-rw-r--r--databases/postgresql7/pkg-plist5
-rw-r--r--databases/postgresql73-server/Makefile20
-rw-r--r--databases/postgresql73-server/pkg-plist5
-rw-r--r--databases/postgresql73/Makefile20
-rw-r--r--databases/postgresql73/pkg-plist5
-rw-r--r--databases/postgresql74-server/Makefile20
-rw-r--r--databases/postgresql74-server/pkg-plist5
-rw-r--r--databases/postgresql80-server/Makefile20
-rw-r--r--databases/postgresql80-server/pkg-plist5
-rw-r--r--databases/postgresql81-server/Makefile20
-rw-r--r--databases/postgresql81-server/pkg-plist5
-rw-r--r--databases/postgresql82-server/Makefile20
-rw-r--r--databases/postgresql82-server/pkg-plist5
-rw-r--r--databases/postgresql83-server/Makefile20
-rw-r--r--databases/postgresql83-server/pkg-plist5
-rw-r--r--databases/postgresql84-server/Makefile20
-rw-r--r--databases/postgresql84-server/pkg-plist5
-rw-r--r--databases/postgresql90-server/Makefile20
-rw-r--r--databases/postgresql90-server/pkg-plist5
-rw-r--r--databases/postgresql91-server/Makefile20
-rw-r--r--databases/postgresql91-server/pkg-plist5
-rw-r--r--databases/postgresql92-server/Makefile20
-rw-r--r--databases/postgresql92-server/pkg-plist5
28 files changed, 322 insertions, 28 deletions
diff --git a/databases/postgresql-devel-server/Makefile b/databases/postgresql-devel-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql-devel-server/Makefile
+++ b/databases/postgresql-devel-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql-devel-server/pkg-plist b/databases/postgresql-devel-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql-devel-server/pkg-plist
+++ b/databases/postgresql-devel-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql-devel/Makefile
+++ b/databases/postgresql-devel/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql-devel/pkg-plist b/databases/postgresql-devel/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql-devel/pkg-plist
+++ b/databases/postgresql-devel/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql7/Makefile b/databases/postgresql7/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql7/Makefile
+++ b/databases/postgresql7/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql7/pkg-plist b/databases/postgresql7/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql7/pkg-plist
+++ b/databases/postgresql7/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql73-server/Makefile
+++ b/databases/postgresql73-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql73-server/pkg-plist b/databases/postgresql73-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql73-server/pkg-plist
+++ b/databases/postgresql73-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql73/Makefile
+++ b/databases/postgresql73/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql73/pkg-plist b/databases/postgresql73/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql73/pkg-plist
+++ b/databases/postgresql73/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql74-server/Makefile
+++ b/databases/postgresql74-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql74-server/pkg-plist b/databases/postgresql74-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql74-server/pkg-plist
+++ b/databases/postgresql74-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql80-server/Makefile b/databases/postgresql80-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql80-server/Makefile
+++ b/databases/postgresql80-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql80-server/pkg-plist b/databases/postgresql80-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql80-server/pkg-plist
+++ b/databases/postgresql80-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql81-server/Makefile
+++ b/databases/postgresql81-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql81-server/pkg-plist b/databases/postgresql81-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql81-server/pkg-plist
+++ b/databases/postgresql81-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql82-server/Makefile
+++ b/databases/postgresql82-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql82-server/pkg-plist b/databases/postgresql82-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql82-server/pkg-plist
+++ b/databases/postgresql82-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql83-server/Makefile
+++ b/databases/postgresql83-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql83-server/pkg-plist b/databases/postgresql83-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql83-server/pkg-plist
+++ b/databases/postgresql83-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql84-server/pkg-plist b/databases/postgresql84-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql84-server/pkg-plist
+++ b/databases/postgresql84-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql90-server/Makefile
+++ b/databases/postgresql90-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql90-server/pkg-plist b/databases/postgresql90-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql90-server/pkg-plist
+++ b/databases/postgresql90-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql91-server/pkg-plist b/databases/postgresql91-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql91-server/pkg-plist
+++ b/databases/postgresql91-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index be9e1d8230ac..4b9d2869a991 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -3,7 +3,7 @@
# Date created: April 2, 1997
# Whom: Marc G. Fournier <scrappy@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.14 1997/09/27 21:43:48 andreas Exp $
+# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $
DISTNAME= postgresql-6.2
CATEGORIES= databases
@@ -13,14 +13,22 @@ MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
MAINTAINER= andreas@FreeBSD.ORG
+# if you want to use the tcl/tk frontend pgaccess, then you need to build
+# postgresql with tcl support by typing: make USE_TCL=yes
+.if defined(USE_TCL)
+MAKE_ENV+= USE_TCL=true TCL_INCDIR=${PREFIX}/include/tcl8.0
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+.endif
+
NO_PACKAGE= "Requires pgsql uid"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_GMAKE= YES
+MAKEFILE= GNUmakefile
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'`
-MAKEFILE= GNUmakefile
MAN1= cleardbdir.1 createdb.1 createuser.1 destroydb.1 \
destroyuser.1 initdb.1 ipcclean.1 monitor.1 pg_dump.1 \
@@ -43,6 +51,14 @@ MANL= abort.l alter_table.l begin.l close.l cluster.l \
MANPREFIX= ${PREFIX}/pgsql
+pre-fetch:
+.if !defined(USE_TCL)
+ @${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
+ @${ECHO_MSG} " make USE_TCL=yes"
+.else
+ @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
+.endif
+
post-build:
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
diff --git a/databases/postgresql92-server/pkg-plist b/databases/postgresql92-server/pkg-plist
index 4a28e6851896..140fdd50a9eb 100644
--- a/databases/postgresql92-server/pkg-plist
+++ b/databases/postgresql92-server/pkg-plist
@@ -199,6 +199,11 @@ share/doc/pgsql/manual/xtypes.html
share/doc/pgsql/spi.txt
share/doc/pgsql/trigger.txt
share/doc/pgsql/userguide.ps
+pgsql/lib/libpgtcl.a
+pgsql/lib/libpgtcl.so.1
+pgsql/bin/pgtclsh
+pgsql/bin/pgtksh
+pgsql/include/libpgtcl.h
@dirrm share/doc/pgsql/manual
@dirrm share/doc/pgsql
@dirrm pgsql/bin