diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2012-02-26 14:11:36 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2012-02-26 14:11:36 +0000 |
commit | 448b972896fbb34deed41c2bf9c30b12c6b16bc6 (patch) | |
tree | 2b7bbe5b13adf169e6994af453c6426e7f3e7edf /databases/pgpool-II | |
parent | 0730c774df93b076085c0e682918b0c5cd1e9329 (diff) | |
download | ports-448b972896fbb34deed41c2bf9c30b12c6b16bc6.tar.gz ports-448b972896fbb34deed41c2bf9c30b12c6b16bc6.zip |
Notes
Diffstat (limited to 'databases/pgpool-II')
-rw-r--r-- | databases/pgpool-II/Makefile | 15 | ||||
-rw-r--r-- | databases/pgpool-II/distinfo | 4 | ||||
-rw-r--r-- | databases/pgpool-II/pkg-plist | 4 |
3 files changed, 15 insertions, 8 deletions
diff --git a/databases/pgpool-II/Makefile b/databases/pgpool-II/Makefile index 659c18a3687d..a1c6bbca7d88 100644 --- a/databases/pgpool-II/Makefile +++ b/databases/pgpool-II/Makefile @@ -6,9 +6,9 @@ # PORTNAME= pgpool-II -PORTVERSION= 3.1 +PORTVERSION= 3.1.2 CATEGORIES= databases -MASTER_SITES= http://pgfoundry.org/frs/download.php/3114/ +MASTER_SITES= http://www.pgpool.net/mediawiki/images/ MAINTAINER= kuriyama@FreeBSD.org COMMENT= A connection pool server for PostgreSQL @@ -30,8 +30,15 @@ PORTDOCShtml+= tutorial-en.html tutorial-ja.html MAN8= pgpool.8 +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/include/postgresql/server/replication/walreceiver.h) +FUNCTIONS= pgpool-recovery pgpool-regclass pgpool-walrecrunning +PLIST_SUB= PGSQL9="" +.else FUNCTIONS= pgpool-recovery pgpool-regclass -#FUNCTIONS+= pgpool-walrecrunning +PLIST_SUB= PGSQL9="@comment " +.endif post-patch: @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \ @@ -65,4 +72,4 @@ post-install: PORTDOCS+= ${PORTDOCShtml} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/databases/pgpool-II/distinfo b/databases/pgpool-II/distinfo index fddec6fd78ef..0dca9adecda5 100644 --- a/databases/pgpool-II/distinfo +++ b/databases/pgpool-II/distinfo @@ -1,2 +1,2 @@ -SHA256 (pgpool-II-3.1.tar.gz) = 742114cea9d2babf1c330dd5050ecd23d9a9be53ebe3cbd87142762e8a8ea940 -SIZE (pgpool-II-3.1.tar.gz) = 1354418 +SHA256 (pgpool-II-3.1.2.tar.gz) = 95ab7ea8d175e4544d0d1caebf29a5c1a48fe0958791c62c6914466cceb0792c +SIZE (pgpool-II-3.1.2.tar.gz) = 1382429 diff --git a/databases/pgpool-II/pkg-plist b/databases/pgpool-II/pkg-plist index 1292fbd91a32..f1cb8bdc2753 100644 --- a/databases/pgpool-II/pkg-plist +++ b/databases/pgpool-II/pkg-plist @@ -36,12 +36,12 @@ lib/libpcp.so.0 %%EXAMPLESDIR%%/pgpool_remote_start share/postgresql/contrib/pgpool-recovery.sql share/postgresql/contrib/pgpool-regclass.sql -@comment share/postgresql/contrib/pgpool-walrecrunning.sql +%%PGSQL9%%share/postgresql/contrib/pgpool-walrecrunning.sql share/postgresql/contrib/uninstall_pgpool-recovery.sql share/postgresql/contrib/uninstall_pgpool-regclass.sql lib/postgresql/pgpool-recovery.so lib/postgresql/pgpool-regclass.so -@comment lib/postgresql/pgpool-walrecrunning.so +%%PGSQL9%%lib/postgresql/pgpool-walrecrunning.so @dirrmtry share/postgresql/contrib @dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%% |