aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgpool-II-22
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-14 00:15:01 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-14 00:15:01 +0800
commit0f1326b3d3c2176dfdae6624c10a2ac71ef8b7a0 (patch)
tree97ab049a1efa157a83e83113ff2ee72ac226eed3 /databases/pgpool-II-22
parente86cc61093e5ed098c89a51a3a0294c331ab25ef (diff)
downloadfreebsd-ports-gnome-0f1326b3d3c2176dfdae6624c10a2ac71ef8b7a0.tar.gz
freebsd-ports-gnome-0f1326b3d3c2176dfdae6624c10a2ac71ef8b7a0.tar.zst
freebsd-ports-gnome-0f1326b3d3c2176dfdae6624c10a2ac71ef8b7a0.zip
1: Stagify.
2: add USES=libtool 3: bump version. Approved by: portmgr@
Diffstat (limited to 'databases/pgpool-II-22')
-rw-r--r--databases/pgpool-II-22/Makefile23
-rw-r--r--databases/pgpool-II-22/pkg-plist5
2 files changed, 13 insertions, 15 deletions
diff --git a/databases/pgpool-II-22/Makefile b/databases/pgpool-II-22/Makefile
index 26db38588094..812fa36a5c17 100644
--- a/databases/pgpool-II-22/Makefile
+++ b/databases/pgpool-II-22/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pgpool-II
PORTVERSION= 2.2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/2478/
PKGNAMESUFFIX= 22
@@ -11,7 +11,7 @@ PKGNAMESUFFIX= 22
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Connection pool server for PostgreSQL
-USES= gmake
+USES= gmake libtool
GNU_CONFIGURE= yes
USE_PGSQL= yes
USE_LDCONFIG= yes
@@ -24,9 +24,6 @@ PORTDOCS+= TODO
PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
-MAN8= pgpool.8
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
@@ -37,22 +34,22 @@ post-build:
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE}
pre-install:
- ${MKDIR} ${DATADIR} ${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
post-install:
- @cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE} ${INSTALL_TARGET}
- ${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${DATADIR}
+ @cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE} DESTDIR=${STAGEDIR} ${INSTALL_TARGET}
+ ${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${STAGEDIR}${DATADIR}
.for f in pgpool_recovery pgpool_recovery_pitr pgpool_remote_start
- ${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.for f in ${PORTDOCShtml}
- ${INSTALL_MAN} ${WRKSRC}/doc/$f ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
.endfor
PORTDOCS+= ${PORTDOCShtml}
.endif
diff --git a/databases/pgpool-II-22/pkg-plist b/databases/pgpool-II-22/pkg-plist
index 713e26fb4920..781fca6e1bed 100644
--- a/databases/pgpool-II-22/pkg-plist
+++ b/databases/pgpool-II-22/pkg-plist
@@ -15,9 +15,11 @@ etc/pool_hba.conf.sample
include/pcp.h
include/pool_type.h
lib/libpcp.a
-lib/libpcp.la
lib/libpcp.so
lib/libpcp.so.0
+lib/libpcp.so.0.0.0
+lib/postgresql/pgpool-recovery.so
+man/man8/pgpool.8.gz
%%DATADIR%%/dist_def_pgbench.sql
%%DATADIR%%/pgpool.pam
%%DATADIR%%/replicate_def_pgbench.sql
@@ -26,7 +28,6 @@ lib/libpcp.so.0
%%EXAMPLESDIR%%/pgpool_recovery_pitr
%%EXAMPLESDIR%%/pgpool_remote_start
share/postgresql/contrib/pgpool-recovery.sql
-lib/postgresql/pgpool-recovery.so
@dirrmtry share/postgresql/contrib
@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%