aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2014-10-05 07:06:08 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2014-10-05 07:06:08 +0000
commit1674717c6adf60228abb5ec4acf4ab910313d759 (patch)
tree457ab2a76ac297ac10517fc5b0ce202b3ea8b202 /databases
parenta185e728b19e27345d1b5f7336f59772564f0acc (diff)
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-plv8js/Makefile5
-rw-r--r--databases/postgresql93-plv8js/Makefile7
2 files changed, 10 insertions, 2 deletions
diff --git a/databases/postgresql-plv8js/Makefile b/databases/postgresql-plv8js/Makefile
index 103d0693fcca..7aed9df5efdf 100644
--- a/databases/postgresql-plv8js/Makefile
+++ b/databases/postgresql-plv8js/Makefile
@@ -5,7 +5,7 @@ PORTNAME= plv8js
PORTVERSION= 1.4.2
CATEGORIES= databases
MASTER_SITES= http://api.pgxn.org/dist/plv8/${PORTVERSION}/
-PKGNAMEPREFIX= postgresql-
+PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
DISTNAME= plv8-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
@@ -15,7 +15,8 @@ LICENSE= PostgreSQL
LIB_DEPENDS+= libv8.so:${PORTSDIR}/lang/v8
-USES= gmake perl5 zip pgsql:9.1+
+WANT_PGSQL_VER= 9.1+
+USES= gmake perl5 zip pgsql:${WANT_PGSQL_VER}
USE_PERL5= build
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
diff --git a/databases/postgresql93-plv8js/Makefile b/databases/postgresql93-plv8js/Makefile
new file mode 100644
index 000000000000..6e2b2ab5bbab
--- /dev/null
+++ b/databases/postgresql93-plv8js/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+WANT_PGSQL_VER= 9.3
+
+MASTERDIR= ${.CURDIR}/../postgresql-plv8js/
+
+.include "${MASTERDIR}/Makefile"