svn commit: r352999 - in head/databases: apq-pgsql cppdb hashtypes p5-Pg pg_rman pgadmin3 pgagent

Baptiste Daroussin bapt at FreeBSD.org
Mon May 5 12:40:07 UTC 2014


Author: bapt
Date: Mon May  5 12:40:05 2014
New Revision: 352999
URL: http://svnweb.freebsd.org/changeset/ports/352999
QAT: https://qat.redports.org/buildarchive/r352999/

Log:
  Convert to USES=pgsql
  
  While here:
  - stage support for pg_rman
  - stage support for pgagent
  - stage support for hashtypes

Modified:
  head/databases/apq-pgsql/Makefile
  head/databases/cppdb/Makefile
  head/databases/hashtypes/Makefile
  head/databases/p5-Pg/Makefile
  head/databases/pg_rman/Makefile
  head/databases/pgadmin3/Makefile
  head/databases/pgagent/Makefile

Modified: head/databases/apq-pgsql/Makefile
==============================================================================
--- head/databases/apq-pgsql/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/apq-pgsql/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -18,8 +18,8 @@ BUILD_DEPENDS=	bash:${PORTSDIR}/shells/b
 		${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
 RUN_DEPENDS=	${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
 
-USES=		ada tar:bzip2
-USE_PGSQL=	yes
+USES=		ada tar:bzip2 pgsql
+WANT_PGSQL=	lib
 HAS_CONFIGURE=	yes
 WRKPATH=	${WRKDIR}/build
 CONFIGURE_ARGS= --prefix=${PREFIX} \

Modified: head/databases/cppdb/Makefile
==============================================================================
--- head/databases/cppdb/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/cppdb/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -76,7 +76,7 @@ PLIST_SUB+=	ODBC=""
 CMAKE_ARGS+=	-DDISABLE_PQ:BOOL=ON
 PLIST_SUB+=	PGSQL="@comment "
 .else
-USE_PGSQL=	yes
+USES+=		pgsql
 CMAKE_ARGS+=	-DDISABLE_PQ:BOOL=OFF
 .if ${PORT_OPTIONS:MPGSQL_INTERNAL}
 CMAKE_ARGS+=	-DPQ_BACKEND_INTERNAL:BOOL=ON

Modified: head/databases/hashtypes/Makefile
==============================================================================
--- head/databases/hashtypes/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/hashtypes/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -11,15 +11,12 @@ MASTER_SITES=	http://api.pgxn.org/dist/h
 MAINTAINER=	oss-contrib at dreamindustries.co
 COMMENT=	Hash data types for PostgreSQL
 
-USES=		gmake zip
-USE_PGSQL=	yes
+USES=		gmake pgsql zip
 
 MAKE_ARGS=	USE_PGXS=1 MODULEDIR=extension
 MODULEDIR=	${PREFIX}/share/postgresql/extension
 
-NO_STAGE=	yes
 post-install:
-	@[ -f ${MODULEDIR}/${PORTNAME}.control ] || \
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.control ${MODULEDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.control ${STAGEDIR}${MODULEDIR}
 
 .include <bsd.port.mk>

Modified: head/databases/p5-Pg/Makefile
==============================================================================
--- head/databases/p5-Pg/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/p5-Pg/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -14,8 +14,7 @@ DIST_SUBDIR=	postgresql
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Interface for using perl5 to access PostgreSQL databases
 
-USE_PGSQL=	yes
-USES=		perl5
+USES=		perl5 pgsql
 USE_PERL5=	configure
 
 CONFIGURE_ENV=	POSTGRES_INCLUDE=${LOCALBASE}/include POSTGRES_LIB=${LOCALBASE}/lib

Modified: head/databases/pg_rman/Makefile
==============================================================================
--- head/databases/pg_rman/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/pg_rman/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -2,17 +2,16 @@
 
 PORTNAME=	pg_rman
 PORTVERSION=	1.2.3
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://pg-rman.googlecode.com/files/
 
 MAINTAINER=	kuriyama at FreeBSD.org
 COMMENT=	Online backup and restore tool for PostgreSQL
 
-USE_GMAKE=	yes
-USE_PGSQL=	client server
-WANT_PGSQL_VER=	83+
+USES=		gmake pgsql
+WANT_PGSQL=	client server
 MAKE_ARGS=	USE_PGXS=1
 PLIST_FILES=	bin/pg_rman
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/databases/pgadmin3/Makefile
==============================================================================
--- head/databases/pgadmin3/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/pgadmin3/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -16,9 +16,7 @@ BUILD_DEPENDS=	sphinx-build:${PORTSDIR}/
 
 IGNORE_WITH_PGSQL=	82 83
 
-USES=		gettext
-USE_PGSQL=	yes
-USE_GMAKE=	yes
+USES=		gettext gmake pgsql
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="${PTHREAD_LIBS}"
 CPPFLAGS+=	${PTHREAD_CFLAGS}

Modified: head/databases/pgagent/Makefile
==============================================================================
--- head/databases/pgagent/Makefile	Mon May  5 12:39:54 2014	(r352998)
+++ head/databases/pgagent/Makefile	Mon May  5 12:40:05 2014	(r352999)
@@ -11,15 +11,12 @@ DISTNAME=	pgAgent-${PORTVERSION}-Source
 MAINTAINER=	fjoe at FreeBSD.org
 COMMENT=	Job scheduler for PostgreSQL
 
-USES=		cmake
+USES=		cmake pgsql
 CMAKE_ARGS=	-DSTATIC_BUILD:BOOL=NO -DWX_CONFIG_PATH:FILEPATH="${WX_CONFIG}"
 USE_WX=		2.8
 WX_UNICODE=	yes
-USE_PGSQL=	yes
-IGNORE_WITH_PGSQL=	82 83
 
 PLIST_FILES=	bin/pgagent
 PORTDATA=	*
 
-NO_STAGE=	yes
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list