aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-13 16:23:45 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-13 16:23:45 +0000
commitcfd9994e3e71610ba27f799fa790f2deb91e1496 (patch)
tree1d74d692aff5a8874bbba869b161b8843c5a4e8c /databases
parent1cd3b44f7f01af010d1125ef3fc33dd7e3679b17 (diff)
downloadports-cfd9994e3e71610ba27f799fa790f2deb91e1496.tar.gz
ports-cfd9994e3e71610ba27f799fa790f2deb91e1496.zip
1: Stagify.
2: add USES=libtool 3: bump version.
Notes
Notes: svn path=/head/; revision=357697
Diffstat (limited to 'databases')
-rw-r--r--databases/pgpool-II-23/Makefile22
-rw-r--r--databases/pgpool-II-23/pkg-plist3
2 files changed, 12 insertions, 13 deletions
diff --git a/databases/pgpool-II-23/Makefile b/databases/pgpool-II-23/Makefile
index c54c26e59816..f7e32eb461f4 100644
--- a/databases/pgpool-II-23/Makefile
+++ b/databases/pgpool-II-23/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pgpool-II
PORTVERSION= 2.3.3
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/2664/
PKGNAMESUFFIX= 23
@@ -10,7 +11,7 @@ PKGNAMESUFFIX= 23
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Connection pool server for PostgreSQL
-USES= gmake
+USES= gmake libtool
GNU_CONFIGURE= yes
USE_PGSQL= yes
USE_LDCONFIG= yes
@@ -23,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
@@ -36,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-23/pkg-plist b/databases/pgpool-II-23/pkg-plist
index 74ce16798690..e487624d45be 100644
--- a/databases/pgpool-II-23/pkg-plist
+++ b/databases/pgpool-II-23/pkg-plist
@@ -17,9 +17,10 @@ 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
+man/man8/pgpool.8.gz
%%DATADIR%%/dist_def_pgbench.sql
%%DATADIR%%/pgpool.pam
%%DATADIR%%/replicate_def_pgbench.sql