diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2012-07-12 12:14:52 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2012-07-12 12:14:52 +0000 |
commit | 5562c0d4208e75a0c3a7803a7e0591b8eb3a2fab (patch) | |
tree | 0a176e43c56ec525676296524989a0099bd58506 | |
parent | c4ff0f2d0a8a1693f6ca121c67f656cdb1effea8 (diff) | |
download | ports-5562c0d4208e75a0c3a7803a7e0591b8eb3a2fab.tar.gz ports-5562c0d4208e75a0c3a7803a7e0591b8eb3a2fab.zip |
Notes
-rw-r--r-- | textproc/pootle/Makefile | 24 | ||||
-rw-r--r-- | textproc/pootle/pkg-descr | 2 |
2 files changed, 15 insertions, 11 deletions
diff --git a/textproc/pootle/Makefile b/textproc/pootle/Makefile index 2bdf26c2f04f..db46b08eb9aa 100644 --- a/textproc/pootle/Makefile +++ b/textproc/pootle/Makefile @@ -7,7 +7,7 @@ PORTNAME= pootle PORTVERSION= 2.1.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= SF/translate/Pootle/${PORTVERSION}/ DISTNAME= Pootle-${PORTVERSION} @@ -21,6 +21,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.2:${PORTSDIR}/www/py-django \ RUN_DEPENDS:= ${BUILD_DEPENDS} +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}django-profiles-[0-9]* \ + ${PYTHON_PKGNAMEPREFIX}django-registration-[0-9]* + USE_BZIP2= yes USE_GETTEXT= yes USE_PYTHON= yes @@ -53,26 +56,27 @@ PKGINSTALL= ${WRKDIR}/pkg-install PORTDOCS= ChangeLog COPYING INSTALL README wsgi.py -OPTIONS= MYSQL "MYSQL support" on \ - SUBVERSION "SVN support" on \ - LUCENE "py-lucene for faster searching" on \ - MEMCACHED "Enable memcached support" on +OPTIONS_DEFINE= MYSQL SUBVERSION LUCENE MEMCACHED +OPTIONS_DEFAULT= MYSQL SUBVERSION LUCENE MEMCACHED +SUBVERSION_DESC= ${SVN_DESC} +LUCENE_DESC= py-lucene for faster searching +MEMCACHED_DESC= Enable memcached support .include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .endif -.if defined(WITH_SUBVERSION) +.if ${PORT_OPTIONS:MSUBVERSION} RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion .endif -.if defined(WITH_LUCENE) +.if ${PORT_OPTIONS:MLUCENE} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}PyLucene>0:${PORTSDIR}/textproc/py-lucene .endif -.if defined(WITH_MEMCACHED) +.if ${PORT_OPTIONS:MMEMCACHED} LIB_DEPENDS+= memcached:${PORTSDIR}/databases/libmemcached RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}memcached>=1.45:${PORTSDIR}/databases/py-memcached .endif @@ -92,7 +96,7 @@ post-install: @${CP} -n ${PREFIX}/etc/pootle/localsettings.py.sample \ ${PREFIX}/etc/pootle/localsettings.py -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for docs in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} diff --git a/textproc/pootle/pkg-descr b/textproc/pootle/pkg-descr index c9ce9a51a61a..68759ebfd487 100644 --- a/textproc/pootle/pkg-descr +++ b/textproc/pootle/pkg-descr @@ -5,4 +5,4 @@ gives statistics and allows easy volunteer contribution. You can run Pootle as an Internet server like these projects or run your own copy on an Intranet. -WWW: http://pootle.locamotion.org/ +WWW: http://translate.sourceforge.net/wiki/pootle/index |