aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pootle/Makefile
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2010-04-06 06:59:33 +0800
committersylvio <sylvio@FreeBSD.org>2010-04-06 06:59:33 +0800
commit07f98e93f14a3c0099a733066a53317931eea76e (patch)
treeee54625a8f401706633da88f1cf71f22edf761ae /textproc/pootle/Makefile
parentaea67d815283f664246e39074a4b3e71a1c56f8f (diff)
downloadfreebsd-ports-gnome-07f98e93f14a3c0099a733066a53317931eea76e.tar.gz
freebsd-ports-gnome-07f98e93f14a3c0099a733066a53317931eea76e.tar.zst
freebsd-ports-gnome-07f98e93f14a3c0099a733066a53317931eea76e.zip
- Update to 2.0.3
PR: ports/144933 Submitted by: Denis Pokataev <catone@cpan.org> (maintainer) Approved by: itetcu (mentor,implicit)
Diffstat (limited to 'textproc/pootle/Makefile')
-rw-r--r--textproc/pootle/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/textproc/pootle/Makefile b/textproc/pootle/Makefile
index 44d55453eb33..bca004b3b6a7 100644
--- a/textproc/pootle/Makefile
+++ b/textproc/pootle/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pootle
-PORTVERSION= 2.0.2
+PORTVERSION= 2.0.3
CATEGORIES= textproc
MASTER_SITES= SF/translate/Pootle/${PORTVERSION}/
DISTNAME= Pootle-${PORTVERSION}
@@ -15,7 +15,7 @@ MAINTAINER= catone@cpan.org
COMMENT= Pootle is a user-friendly web portal for simple translation process
BUILD_DEPENDS= py*-django>=1.1:${PORTSDIR}/www/py-django \
- translate-toolkit>=1.5.2:${PORTSDIR}/textproc/translate-toolkit
+ translate-toolkit>=1.6:${PORTSDIR}/textproc/translate-toolkit
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -28,6 +28,8 @@ PYDISTUTILS_PKGNAME= Pootle
USE_RC_SUBR= pootle.sh
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
+PORTDOCS= ChangeLog COPYING INSTALL README wsgi.py
+
post-patch:
@${MV} ${WRKSRC}/localsettings.py ${WRKSRC}/localsettings.py.sample
@@ -37,4 +39,11 @@ post-install:
@${CP} ${PREFIX}/etc/pootle/localsettings.py.sample ${PREFIX}/etc/pootle/localsettings.py
.endif
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>