aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgpool-II
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2014-06-14 16:38:25 +0800
committerkuriyama <kuriyama@FreeBSD.org>2014-06-14 16:38:25 +0800
commit481e445f61d9f579265a78f5781e1ebdef98c7d6 (patch)
tree6e8a177fc6ea7f6bbf3860c8539d368670529bd1 /databases/pgpool-II
parent66c9520476c8df36d1a073bac4f397bd4d234784 (diff)
downloadfreebsd-ports-gnome-481e445f61d9f579265a78f5781e1ebdef98c7d6.tar.gz
freebsd-ports-gnome-481e445f61d9f579265a78f5781e1ebdef98c7d6.tar.zst
freebsd-ports-gnome-481e445f61d9f579265a78f5781e1ebdef98c7d6.zip
- Stagify.
Diffstat (limited to 'databases/pgpool-II')
-rw-r--r--databases/pgpool-II/Makefile19
-rw-r--r--databases/pgpool-II/pkg-plist1
2 files changed, 9 insertions, 11 deletions
diff --git a/databases/pgpool-II/Makefile b/databases/pgpool-II/Makefile
index adda78dca50e..80b3143c683c 100644
--- a/databases/pgpool-II/Makefile
+++ b/databases/pgpool-II/Makefile
@@ -27,12 +27,9 @@ PORTDOCS+= TODO
PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
-MAN8= pgpool.8
-
OPTIONS_DEFINE+= DOCS SSL
SSL_DESC= Build with OpenSSL support
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
@@ -61,21 +58,21 @@ post-build:
post-install:
.for f in ${FUNCTIONS}
- @cd ${WRKSRC}/sql/${f} && ${GMAKE} ${INSTALL_TARGET}
+ @cd ${WRKSRC}/sql/${f} && ${GMAKE} DESTDIR=${STAGEDIR} ${INSTALL_TARGET}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${DATADIR}
- ${MKDIR} ${DATADIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
.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 ${PORT_OPTIONS:MDOCS}
- @${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/pkg-plist b/databases/pgpool-II/pkg-plist
index d7cde28fde0a..a4509adc7b13 100644
--- a/databases/pgpool-II/pkg-plist
+++ b/databases/pgpool-II/pkg-plist
@@ -25,6 +25,7 @@ lib/libpcp.a
lib/libpcp.la
lib/libpcp.so
lib/libpcp.so.0
+man/man8/pgpool.8.gz
%%DATADIR%%/dist_def_pgbench.sql
%%DATADIR%%/insert_lock.sql
%%DATADIR%%/pgpool.pam