Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 16:23:45 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357697 - head/databases/pgpool-II-23
Message-ID:  <201406131623.s5DGNjZR093211@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Jun 13 16:23:45 2014
New Revision: 357697
URL: http://svnweb.freebsd.org/changeset/ports/357697
QAT: https://qat.redports.org/buildarchive/r357697/

Log:
  1: Stagify.
  2: add USES=libtool
  3: bump version.

Modified:
  head/databases/pgpool-II-23/Makefile
  head/databases/pgpool-II-23/pkg-plist

Modified: head/databases/pgpool-II-23/Makefile
==============================================================================
--- head/databases/pgpool-II-23/Makefile	Fri Jun 13 16:15:51 2014	(r357696)
+++ head/databases/pgpool-II-23/Makefile	Fri Jun 13 16:23:45 2014	(r357697)
@@ -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

Modified: head/databases/pgpool-II-23/pkg-plist
==============================================================================
--- head/databases/pgpool-II-23/pkg-plist	Fri Jun 13 16:15:51 2014	(r357696)
+++ head/databases/pgpool-II-23/pkg-plist	Fri Jun 13 16:23:45 2014	(r357697)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406131623.s5DGNjZR093211>