Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2012 06:53:09 GMT
From:      Denis Pokataev <catone@cpan.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169727: [MAINTAINER] textproc/pootle: port fixes - conflicts, options
Message-ID:  <201207090653.q696r9Bb029865@l10n.spylog.dev.vega.ru>
Resent-Message-ID: <201207090710.q697A6Uo033204@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169727
>Category:       ports
>Synopsis:       [MAINTAINER] textproc/pootle: port fixes - conflicts, options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 09 07:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Denis Pokataev
>Release:        FreeBSD 8.3-STABLE-20120501 amd64
>Organization:
>Environment:
System: FreeBSD hostname 8.3-STABLE-20120501 FreeBSD 8.3-STABLE-20120501 #0: Tue May  1 00:27:34 UTC
>Description:
Port fixes:
Add conflicts section (thanks to ketas' conflict checker)
Change Options -> OptionsNG
Fix URL in pkg-descr (thanks to Dru Lavigne)

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pootle-2.1.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/pootle/Makefile /usr/home/dpokataev/pootle/Makefile
--- /usr/ports/textproc/pootle/Makefile	2011-10-12 03:39:44.000000000 +0000
+++ /usr/home/dpokataev/pootle/Makefile	2012-07-09 06:47:40.000000000 +0000
@@ -21,6 +21,9 @@
 
 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,28 @@
 
 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
+MYSQL_DESC=	MYSQL support
+SUBVERSION_DESC=	SVN support
+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 +97,7 @@
 	@${CP} -n ${PREFIX}/etc/pootle/localsettings.py.sample \
 		${PREFIX}/etc/pootle/localsettings.py
 
-.if !defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
 	${MKDIR} ${DOCSDIR}
 .for docs in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/textproc/pootle/pkg-descr /usr/home/dpokataev/pootle/pkg-descr
--- /usr/ports/textproc/pootle/pkg-descr	2009-12-31 11:59:05.000000000 +0000
+++ /usr/home/dpokataev/pootle/pkg-descr	2012-07-09 06:19:41.000000000 +0000
@@ -5,4 +5,4 @@
 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 
--- pootle-2.1.6_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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