Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2017 17:10:54 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444306 - head/textproc/pootle
Message-ID:  <201706251710.v5PHAs9d014154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>



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