summaryrefslogtreecommitdiff
path: root/databases/postgresql90-plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql90-plpython/Makefile')
-rw-r--r--databases/postgresql90-plpython/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/postgresql90-plpython/Makefile b/databases/postgresql90-plpython/Makefile
index 183d860c16bd..fc313cad4b44 100644
--- a/databases/postgresql90-plpython/Makefile
+++ b/databases/postgresql90-plpython/Makefile
@@ -2,7 +2,8 @@
PORTNAME= postgresql
CATEGORIES= databases python
-PKGNAMESUFFIX= -plpython
+PKGNAMESUFFIX?= ${DISTV:S/.//}-plpython
+DISTV= ${DISTVERSION:R}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
@@ -17,6 +18,7 @@ USE_PYTHON?= yes
PYTHON_MAJOR_VER= ${PYTHON_VER:R}
CONFIGURE_ARGS= --with-python
PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
+COMPONENT= -plpython
.if ${PYTHON_MAJOR_VER} == 3
PLIST_SUB+= PYTHON3=""