diff options
author | ak <ak@FreeBSD.org> | 2012-07-12 20:14:52 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-07-12 20:14:52 +0800 |
commit | 071557f9ec1fc4650191fe21918fc5c5ad763566 (patch) | |
tree | 59f93e2006fedf4ff5d33259653cf48ebfc2b981 /textproc | |
parent | 67d7431be4fc0b3f67c8ef3712f67beacb5308e5 (diff) | |
download | freebsd-ports-gnome-071557f9ec1fc4650191fe21918fc5c5ad763566.tar.gz freebsd-ports-gnome-071557f9ec1fc4650191fe21918fc5c5ad763566.tar.zst freebsd-ports-gnome-071557f9ec1fc4650191fe21918fc5c5ad763566.zip |
- Add conflicts
- Convert to new options framework
- Fix WWW in pkg-descr (thanks to Dru Lavigne)
PR: ports/169727
Submitted by: Denis Pokataev <catone@cpan.org> (maintainer)
Diffstat (limited to 'textproc')
-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 |