diff options
| author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2013-01-20 10:06:54 +0000 |
|---|---|---|
| committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2013-01-20 10:06:54 +0000 |
| commit | 6059d46a0483cbcf0bfd39b1fc85ac5e35d0f3e6 (patch) | |
| tree | 0852efdfacad2a229e6bedda11e644c25ed89bce /databases/postgresql90-plpython/Makefile | |
| parent | 7e017606d5c7490b580f2fc0e17558e8ab2f6e5a (diff) | |
Notes
Diffstat (limited to 'databases/postgresql90-plpython/Makefile')
| -rw-r--r-- | databases/postgresql90-plpython/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/databases/postgresql90-plpython/Makefile b/databases/postgresql90-plpython/Makefile new file mode 100644 index 000000000000..f704cfab043b --- /dev/null +++ b/databases/postgresql90-plpython/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= postgresql +CATEGORIES= databases python +PKGNAMESUFFIX= ${WANT_PGSQL_VER}-plpython + +MAINTAINER= pgsql@FreeBSD.org +COMMENT= Module for using Python to write SQL functions + +USE_PGSQL= server + +MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server + +WANT_PGSQL_VER?= 90 + +USE_PYTHON?= yes +PYTHON_MAJOR_VER= ${PYTHON_VER:R} +CONFIGURE_ARGS= --with-python +PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} + +.if ${PYTHON_MAJOR_VER} == 3 +PLIST_SUB+= PYTHON3="" +.else +PLIST_SUB+= PYTHON3="@comment " +.endif + +BUILD_DIRS= src/backend src/pl/plpython +INSTALL_DIRS= src/pl/plpython +SLAVE_ONLY= yes + +.include "${MASTERDIR}/Makefile" |
