[Midnightbsd-cvs] mports [22199] trunk/databases/postgresql95-plpython/Makefile: fixup after 9.0 removal
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Dec 29 11:37:20 EST 2016
Revision: 22199
http://svnweb.midnightbsd.org/mports/?rev=22199
Author: laffer1
Date: 2016-12-29 11:37:20 -0500 (Thu, 29 Dec 2016)
Log Message:
-----------
fixup after 9.0 removal
Modified Paths:
--------------
trunk/databases/postgresql95-plpython/Makefile
Modified: trunk/databases/postgresql95-plpython/Makefile
===================================================================
--- trunk/databases/postgresql95-plpython/Makefile 2016-12-29 16:36:35 UTC (rev 22198)
+++ trunk/databases/postgresql95-plpython/Makefile 2016-12-29 16:37:20 UTC (rev 22199)
@@ -1,5 +1,31 @@
-# $FreeBSD: head/databases/postgresql95-plpython/Makefile 405482 2016-01-07 19:58:47Z girgen $
+# $FreeBSD: head/databases/postgresql90-plpython/Makefile 371173 2014-10-19 08:50:17Z mva $
-WANT_PGSQL_VER= 9.5
+PORTNAME= postgresql
+CATEGORIES= databases python
+PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
-.include "${.CURDIR}/../postgresql90-plpython/Makefile"
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Module for using Python to write SQL functions
+
+USES+= pgsql:${WANT_PGSQL_VER} python:2
+WANT_PGSQL= server
+USE_PYTHON= 2
+
+MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
+
+WANT_PGSQL_VER?= 9.5
+
+CONFIGURE_ARGS= --with-python
+COMPONENT= -plpython
+
+.if defined(PYTHON_VER) && ${PYTHON_VER:R} == 3
+PLIST_SUB+= PYTHON2="@comment " PYTHON3=""
+.else
+PLIST_SUB+= PYTHON2="" PYTHON3="@comment "
+.endif
+
+BUILD_DIRS= src/backend src/pl/plpython
+INSTALL_DIRS= src/pl/plpython
+SLAVE_ONLY= yes
+
+.include "${MASTERDIR}/Makefile"
More information about the Midnightbsd-cvs
mailing list