diff options
author | andreas <andreas@FreeBSD.org> | 1997-10-04 22:43:26 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-10-04 22:43:26 +0000 |
commit | c207d3a5f0adf8ef1a9fb2a4a3070ca554a28810 (patch) | |
tree | 6ccc2d431bf8bb4f32491916cd8c1ce577fff5d0 /databases/postgresql74-server | |
parent | e4f6ba16c9871f033d22e28e6a2bdc99873183bb (diff) | |
download | FreeBSD-ports-c207d3a5f0adf8ef1a9fb2a4a3070ca554a28810.zip FreeBSD-ports-c207d3a5f0adf8ef1a9fb2a4a3070ca554a28810.tar.gz |
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 ;-)
Diffstat (limited to 'databases/postgresql74-server')
-rw-r--r-- | databases/postgresql74-server/Makefile | 20 | ||||
-rw-r--r-- | databases/postgresql74-server/pkg-plist | 5 |
2 files changed, 23 insertions, 2 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile index be9e1d8..4b9d286 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 4a28e685..140fdd5 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 |