From owner-svn-ports-all@freebsd.org Sun Jun 25 17:10:55 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B1B6D95C71; Sun, 25 Jun 2017 17:10:55 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 68DB176885; Sun, 25 Jun 2017 17:10:55 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5PHAsIG014155; Sun, 25 Jun 2017 17:10:54 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5PHAs9d014154; Sun, 25 Jun 2017 17:10:54 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201706251710.v5PHAs9d014154@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sun, 25 Jun 2017 17:10:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444306 - head/textproc/pootle 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.23 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: Sun, 25 Jun 2017 17:10:55 -0000 Author: rene Date: Sun Jun 25 17:10:54 2017 New Revision: 444306 URL: https://svnweb.freebsd.org/changeset/ports/444306 Log: Tweak textproc/pootle to appease poudriere for translate-toolkit 2.2.0 PR: 220138 Submitted by: jpeatzel Modified: head/textproc/pootle/Makefile Modified: head/textproc/pootle/Makefile ============================================================================== --- head/textproc/pootle/Makefile Sun Jun 25 16:25:44 2017 (r444305) +++ head/textproc/pootle/Makefile Sun Jun 25 17:10:54 2017 (r444306) @@ -3,7 +3,7 @@ PORTNAME= pootle PORTVERSION= 2.5.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= CHEESESHOP DISTNAME= Pootle-${PORTVERSION} @@ -28,8 +28,9 @@ RUN_DEPENDS= translate-toolkit>=1.11.0:textproc/transl # but only this port uses it. NO_ARCH= yes -USES= gettext python tar:bzip2 +USES= gettext python tar:bzip2 shebangfix USE_PYTHON= autoplist distutils +SHEBANG_FILES= pootle/assets/admin/js/compress.py USERS= pootle GROUPS= pootle @@ -47,8 +48,6 @@ OPTIONS_DEFAULT=MEMCACHED MYSQL MEMCACHED_DESC= Use memcached to improve performance -MYSQL_USE= MYSQL=yes - LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap2>0:devel/py-ldap2 MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached @@ -60,6 +59,11 @@ PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:d SUBVERSION_RUN_DEPENDS= svn:devel/subversion +.include +.if ${PORT_OPTIONS:MMYSQL} +USES+= mysql:client +.endif + pre-configure: @${REINPLACE_CMD} -e "s/,<0.11.2//g" \ -e "s/,<0.8//g" \ @@ -73,4 +77,4 @@ post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}/${DOCSDIR} .endfor -.include +.include