View | Details | Raw Unified | Return to bug 169727 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/home/dpokataev/pootle/Makefile (-9 / +14 lines)
Lines 21-26 Link Here
21
21
22
RUN_DEPENDS:=	${BUILD_DEPENDS}
22
RUN_DEPENDS:=	${BUILD_DEPENDS}
23
23
24
CONFLICTS=	${PYTHON_PKGNAMEPREFIX}django-profiles-[0-9]* \
25
		${PYTHON_PKGNAMEPREFIX}django-registration-[0-9]*
26
24
USE_BZIP2=	yes
27
USE_BZIP2=	yes
25
USE_GETTEXT=	yes
28
USE_GETTEXT=	yes
26
USE_PYTHON=	yes
29
USE_PYTHON=	yes
Lines 53-78 Link Here
53
56
54
PORTDOCS=	ChangeLog COPYING INSTALL README wsgi.py
57
PORTDOCS=	ChangeLog COPYING INSTALL README wsgi.py
55
58
56
OPTIONS=	MYSQL		"MYSQL support"	on \
59
OPTIONS_DEFINE=	MYSQL SUBVERSION LUCENE MEMCACHED
57
		SUBVERSION	"SVN support"	on \
60
OPTIONS_DEFAULT=	MYSQL SUBVERSION LUCENE MEMCACHED
58
		LUCENE		"py-lucene for faster searching"	on \
61
MYSQL_DESC=	MYSQL support
59
		MEMCACHED	"Enable memcached support"	on
62
SUBVERSION_DESC=	SVN support
63
LUCENE_DESC=	py-lucene for faster searching
64
MEMCACHED_DESC=	Enable memcached support
60
65
61
.include <bsd.port.pre.mk>
66
.include <bsd.port.pre.mk>
62
67
63
.if defined(WITH_MYSQL)
68
.if ${PORT_OPTIONS:MMYSQL}
64
USE_MYSQL=	yes
69
USE_MYSQL=	yes
65
.endif
70
.endif
66
71
67
.if defined(WITH_SUBVERSION)
72
.if ${PORT_OPTIONS:MSUBVERSION}
68
RUN_DEPENDS+=	svn:${PORTSDIR}/devel/subversion
73
RUN_DEPENDS+=	svn:${PORTSDIR}/devel/subversion
69
.endif
74
.endif
70
75
71
.if defined(WITH_LUCENE)
76
.if ${PORT_OPTIONS:MLUCENE}
72
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}PyLucene>0:${PORTSDIR}/textproc/py-lucene
77
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}PyLucene>0:${PORTSDIR}/textproc/py-lucene
73
.endif
78
.endif
74
79
75
.if defined(WITH_MEMCACHED)
80
.if ${PORT_OPTIONS:MMEMCACHED}
76
LIB_DEPENDS+=	memcached:${PORTSDIR}/databases/libmemcached
81
LIB_DEPENDS+=	memcached:${PORTSDIR}/databases/libmemcached
77
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}memcached>=1.45:${PORTSDIR}/databases/py-memcached
82
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}memcached>=1.45:${PORTSDIR}/databases/py-memcached
78
.endif
83
.endif
Lines 92-98 Link Here
92
	@${CP} -n ${PREFIX}/etc/pootle/localsettings.py.sample \
97
	@${CP} -n ${PREFIX}/etc/pootle/localsettings.py.sample \
93
		${PREFIX}/etc/pootle/localsettings.py
98
		${PREFIX}/etc/pootle/localsettings.py
94
99
95
.if !defined(NOPORTDOCS)
100
.if empty(PORT_OPTIONS:MDOCS)
96
	${MKDIR} ${DOCSDIR}
101
	${MKDIR} ${DOCSDIR}
97
.for docs in ${PORTDOCS}
102
.for docs in ${PORTDOCS}
98
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
103
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
(-)/usr/home/dpokataev/pootle/pkg-descr (-1 / +1 lines)
Lines 5-8 Link Here
5
You can run Pootle as an Internet server like 
5
You can run Pootle as an Internet server like 
6
these projects or run your own copy on an Intranet.
6
these projects or run your own copy on an Intranet.
7
7
8
WWW: http://pootle.locamotion.org/ 
8
WWW: http://translate.sourceforge.net/wiki/pootle/index 

Return to bug 169727