summaryrefslogtreecommitdiff
path: root/databases/postgresql-tcltk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-tcltk/Makefile')
-rw-r--r--databases/postgresql-tcltk/Makefile74
1 files changed, 0 insertions, 74 deletions
diff --git a/databases/postgresql-tcltk/Makefile b/databases/postgresql-tcltk/Makefile
deleted file mode 100644
index d36eedb09168..000000000000
--- a/databases/postgresql-tcltk/Makefile
+++ /dev/null
@@ -1,74 +0,0 @@
-# New ports collection makefile for: PostgreSQL Tcl/Tk
-# Date created: January 14, 2002
-# Whom: Palle Girgensohn <girgen@partitur.se>
-#
-# $FreeBSD$
-#
-
-PORTNAME= postgresql
-PORTREVISION= 2
-CATEGORIES?= databases tcl
-PKGNAMESUFFIX= -tcltk
-
-MAINTAINER= pgsql@FreeBSD.org
-COMMENT= A TCL interface to the database PostgreSQL, including a tk GUI
-
-TCLPORTDIR?= ${PORTSDIR}/lang/tcl
-TKPORTDIR?= ${PORTSDIR}/x11-toolkits/tk
-LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${TCLPORTDIR}${TCLVERSION:C/[^0-9]//g}
-
-USE_PGSQL= yes
-MASTERDIR= ${.CURDIR}/../../databases/postgresql84-server
-
-BROKEN= Does not work with PostgreSQL 8.X
-
-DEPRECATED= Broken for months with no-one caring, superseded by http://pgtclng.sourceforge.net/
-EXPIRATION_DATE=2012/03/16
-
-LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
-
-# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
-TCLVERSION?= 8.5
-PLIST_SUB+= TCLVERSION=${TCLVERSION}
-CONFIGURE_ARGS= --with-tcl \
- --with-tclconfig=${TCLCONFIG} \
- --with-includes=${INCDIRS}
-
-INCLUDES+= -I${TCL_INCDIR}
-TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
-TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
-MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR}
-CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}"
-CFLAGS+= -DPGTCL_USE_TCLOBJ
-
-.if defined(WITHOUT_X11)
-WITHOUT_TK= yes
-.endif
-
-.if defined(WITHOUT_TK)
-CONFIGURE_ARGS+= --without-tk
-INCDIRS= ${TCL_INCDIR}
-PLIST_SUB+= TK="@comment "
-.else
-CONFIGURE_ARGS+= --with-tkconfig="${TKCONFIG}"
-TK_INCDIR= ${LOCALBASE}/include/tk${TCLVERSION}
-CONFIGURE_ENV+= WISH=${LOCALBASE}/bin/wish${TCLVERSION}
-LIB_DEPENDS+= tk${TCLVERSION:S/.//}:${TKPORTDIR}${TCLVERSION:C/[^0-9]//g}
-TKCONFIG= ${LOCALBASE}/lib/tk${TCLVERSION}
-INCDIRS= ${TCL_INCDIR}:${TK_INCDIR}
-INCLUDES+= -I${TK_INCDIR}
-PLIST_SUB+= TK=""
-CATEGORIES+= tk
-.endif
-
-BUILD_DIRS= src/port ${INSTALL_DIRS}
-INSTALL_DIRS= src/bin/pgtclsh src/interfaces/libpgtcl
-SLAVE_ONLY= yes
-
-post-install:
-# Preparing a loadable TCL-package (pkgIndex.tcl)
- @${MKDIR} ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pkgIndex.tcl.in \
- > ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3/pkgIndex.tcl
-
-.include "${MASTERDIR}/Makefile"