From owner-svn-ports-all@FreeBSD.ORG Tue Apr 7 21:58:57 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C001B11A; Tue, 7 Apr 2015 21:58:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1C02F7; Tue, 7 Apr 2015 21:58:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t37Lwvxf077614; Tue, 7 Apr 2015 21:58:57 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t37LwvdX077613; Tue, 7 Apr 2015 21:58:57 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201504072158.t37LwvdX077613@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Tue, 7 Apr 2015 21:58:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383543 - head/databases/slony1v2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 21:58:58 -0000 Author: robak Date: Tue Apr 7 21:58:56 2015 New Revision: 383543 URL: https://svnweb.freebsd.org/changeset/ports/383543 Log: databases/slony1v2: port cleanup - Use OPTIONS helpers for the PERLTOOLS option - Remove a redundant block of code for setting PGSQL_VER: this functionality is already supplied via 'USES+= pgsql' - Maintainer's timeout (olgeni@FreeBSD.org) PR: 185906 Submitted by: Matthew Seaman Modified: head/databases/slony1v2/Makefile Modified: head/databases/slony1v2/Makefile ============================================================================== --- head/databases/slony1v2/Makefile Tue Apr 7 21:20:24 2015 (r383542) +++ head/databases/slony1v2/Makefile Tue Apr 7 21:58:56 2015 (r383543) @@ -24,25 +24,21 @@ SUB_FILES= pkg-message slon-mkservice.sh SUB_LIST+= NAME=slon OPTIONS_DEFINE= DOCS PERLTOOLS +OPTIONS_SUB= yes PERLTOOLS_DESC= Install perl configuration tools CONFLICTS?= slony1-1* CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex -.include +PERLTOOLS_DESC= Install perl configuration tools +PERLTOOLS_USES= perl5 +PERLTOOLS_CONFIGURE_ENV= PERL=${PERL} +PERLTOOLS_CONFIGURE_ON= --with-perltools=${LOCALBASE}/sbin +PERLTOOLS_BUILD_DEPENDS= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg +PERLTOOLS_RUN_DEPENDS= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg -.if ${PORT_OPTIONS:MPERLTOOLS} -USES+= perl5 -CONFIGURE_ARGS+=--with-perltools=${LOCALBASE}/sbin -RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg -BUILD_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg -PLIST_SUB+= PERLTOOLS="" -SUB_LIST+= PERLTOOLS="" -.else -PLIST_SUB+= PERLTOOLS="@comment " -SUB_LIST+= PERLTOOLS="@comment " -.endif +.include # let configure find postgres stuff in non-standard places CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \ @@ -53,17 +49,6 @@ CONFIGURE_ARGS+=--with-pgconfigdir=${LOC --with-pgpkglibdir=${LOCALBASE}/lib/postgresql \ --with-pgsharedir=${LOCALBASE}/share/postgresql -# Setting/finding PostgreSQL version we want. -.if exists(${LOCALBASE}/bin/postmaster) -PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \ - ${SED} -En 's/.*PostgreSQL[^0-9]*([0-9]+)\.([0-9]+)\..*/\1\2/p' -.elif exists(${LOCALBASE}/bin/pg_config) -PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \ - ${SED} -En 's/PostgreSQL[^0-9]*([0-9]*)\.([0-9]+)\..*/\1\2/p' -.else -PGSQL_VER= ${DEFAULT_PGSQL_VER} -.endif - PORTDOCS= * DOCS= COPYRIGHT INSTALL README README.Unicode RELEASE \ @@ -71,7 +56,7 @@ DOCS= COPYRIGHT INSTALL README README.U post-patch: @for _file in ${WRKSRC}/doc/adminguide/man7/*.7; do \ - mv "$${_file}" $$(echo $${_file} | sed -e 's/ [ ]*/_/g'); \ + ${MV} "$${_file}" $$(echo $${_file} | ${SED} -e 's/ [ ]*/_/g'); \ done @for _file in ${WRKSRC}/doc/adminguide/man7/*.7; do \ ${REINPLACE_CMD} -e '/^.TH/s/ [ ]*/ /g' $${_file}; \