Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 07:06:08 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370037 - in head/databases: postgresql-plv8js postgresql93-plv8js
Message-ID:  <201410050706.s95768jR009732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Sun Oct  5 07:06:08 2014
New Revision: 370037
URL: https://svnweb.freebsd.org/changeset/ports/370037
QAT: https://qat.redports.org/buildarchive/r370037/

Log:
  - Turn postgresql-plv8js version aware and add postgresql93-plv8js
  
  Approved by:	vanilla (via skype)

Added:
  head/databases/postgresql93-plv8js/
  head/databases/postgresql93-plv8js/Makefile   (contents, props changed)
Modified:
  head/databases/postgresql-plv8js/Makefile

Modified: head/databases/postgresql-plv8js/Makefile
==============================================================================
--- head/databases/postgresql-plv8js/Makefile	Sun Oct  5 07:03:44 2014	(r370036)
+++ head/databases/postgresql-plv8js/Makefile	Sun Oct  5 07:06:08 2014	(r370037)
@@ -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}"
 

Added: head/databases/postgresql93-plv8js/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/postgresql93-plv8js/Makefile	Sun Oct  5 07:06:08 2014	(r370037)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+WANT_PGSQL_VER=	9.3
+
+MASTERDIR=	${.CURDIR}/../postgresql-plv8js/
+
+.include "${MASTERDIR}/Makefile"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410050706.s95768jR009732>