diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1997-10-04 22:43:26 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1997-10-04 22:43:26 +0000 |
commit | 06e9686a0501d45e1aa23f0334fa702860860fc8 (patch) | |
tree | b0d0d450d81376ce26644bfd613dcc88204cf18d /databases/postgresql82-server/Makefile | |
parent | 2fd10aed0c2c208cd018b5fd1ae80525434c45e9 (diff) | |
download | ports-06e9686a0501d45e1aa23f0334fa702860860fc8.tar.gz ports-06e9686a0501d45e1aa23f0334fa702860860fc8.zip |
Notes
Diffstat (limited to 'databases/postgresql82-server/Makefile')
-rw-r--r-- | databases/postgresql82-server/Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
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 !!" |