aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2017-06-26 01:10:54 +0800
committerrene <rene@FreeBSD.org>2017-06-26 01:10:54 +0800
commit5dfdb66f1697604d76f148aed7b384c2de9ae54e (patch)
tree7d743a87cae9dceba6f64a51478f7a8842d0c4d4 /textproc
parentde2e6a01b3d3ccb1e53b15309586d2381fa83177 (diff)
downloadfreebsd-ports-gnome-5dfdb66f1697604d76f148aed7b384c2de9ae54e.tar.gz
freebsd-ports-gnome-5dfdb66f1697604d76f148aed7b384c2de9ae54e.tar.zst
freebsd-ports-gnome-5dfdb66f1697604d76f148aed7b384c2de9ae54e.zip
Tweak textproc/pootle to appease poudriere for translate-toolkit 2.2.0
PR: 220138 Submitted by: jpeatzel
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pootle/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/textproc/pootle/Makefile b/textproc/pootle/Makefile
index 19cd29196441..96cc484c5bde 100644
--- a/textproc/pootle/Makefile
+++ b/textproc/pootle/Makefile
@@ -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/translate-toolkit \
# 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:databases/py-psycopg2
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>