aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-plv8js/Makefile
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/postgresql-plv8js/Makefile
parenta185e728b19e27345d1b5f7336f59772564f0acc (diff)
downloadports-1674717c6adf60228abb5ec4acf4ab910313d759.tar.gz
ports-1674717c6adf60228abb5ec4acf4ab910313d759.zip
- Turn postgresql-plv8js version aware and add postgresql93-plv8js
Approved by: vanilla (via skype)
Notes
Notes: svn path=/head/; revision=370037
Diffstat (limited to 'databases/postgresql-plv8js/Makefile')
-rw-r--r--databases/postgresql-plv8js/Makefile5
1 files changed, 3 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}"