aboutsummaryrefslogtreecommitdiff
path: root/databases/pgpool-II-22/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-13 16:15:01 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-13 16:15:01 +0000
commite232d09a59186a0ef9e505d5fbd6839bbaf5bb86 (patch)
tree97ab049a1efa157a83e83113ff2ee72ac226eed3 /databases/pgpool-II-22/Makefile
parente3ca2d2fcc85057364c701e4a320f95a5077e9e4 (diff)
downloadports-e232d09a59186a0ef9e505d5fbd6839bbaf5bb86.tar.gz
ports-e232d09a59186a0ef9e505d5fbd6839bbaf5bb86.zip
Notes
Diffstat (limited to 'databases/pgpool-II-22/Makefile')
-rw-r--r--databases/pgpool-II-22/Makefile23
1 files changed, 10 insertions, 13 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