1: Stagify.

2: add USES=libtool
3: bump version.
This commit is contained in:
Vanilla I. Shu 2014-06-13 16:23:45 +00:00
parent 1cd3b44f7f
commit cfd9994e3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357697
2 changed files with 12 additions and 13 deletions

View file

@ -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

View file

@ -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