summaryrefslogtreecommitdiff
path: root/databases/postgresql-plpython/Makefile
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-01-20 10:06:54 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-01-20 10:06:54 +0000
commit6059d46a0483cbcf0bfd39b1fc85ac5e35d0f3e6 (patch)
tree0852efdfacad2a229e6bedda11e644c25ed89bce /databases/postgresql-plpython/Makefile
parentAmon2::DBI is a simple DBI wrapper. It provides better usability for (diff)
Split out postgresql-python port on to bunch of PostgreSQL version-dependent ones,
so the packages can be built with different versions of PostgreSQL. The patch is from crees@ with couple additions from me. It has some problems that prevents the build with python3, but it was decided that it's better to add this as starting point. Maintainership of this port also was passed to pgsql@ team. PR: 166999 PR: 174152 Reported by: many Approved by: pgsql (crees)
Diffstat (limited to 'databases/postgresql-plpython/Makefile')
-rw-r--r--databases/postgresql-plpython/Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/databases/postgresql-plpython/Makefile b/databases/postgresql-plpython/Makefile
deleted file mode 100644
index 365f0788c05c..000000000000
--- a/databases/postgresql-plpython/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# New ports collection makefile for: PostgreSQL PL/Python
-# Date created: March 4, 2004
-# Whom: Dima Dorfman <dd@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= postgresql
-PORTREVISION= 2
-CATEGORIES= databases python
-PKGNAMESUFFIX= -plpython
-
-MAINTAINER= rm@FreeBSD.org
-COMMENT= A module for using Python to write SQL functions
-
-RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
-
-MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
-
-DEFAULT_PGSQL_VER?=90
-
-# 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]*\)\..*/\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]*\)\..*/\1\2/p'
-.else
-PGSQL_VER= ${DEFAULT_PGSQL_VER}
-.endif
-
-USE_PYTHON= yes
-CONFIGURE_ARGS= --with-python
-
-BUILD_DIRS= src/pl/plpython
-SLAVE_ONLY= yes
-
-POSTGRESQL_PORT= databases/postgresql${PGSQL_VER}-server
-PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_VER:R}
-
-.include "${MASTERDIR}/Makefile"