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

Collapse All | Expand All

(-)./Makefile (+11 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	zookeeper
4
PORTNAME=	zookeeper
5
PORTVERSION=	3.4.6
5
PORTVERSION=	3.4.6
6
PORTREVISION=	1
6
CATEGORIES=	devel java
7
CATEGORIES=	devel java
7
MASTER_SITES=	${MASTER_SITE_APACHE}
8
MASTER_SITES=	${MASTER_SITE_APACHE}
8
MASTER_SITE_SUBDIR=	zookeeper/zookeeper-${PORTVERSION}
9
MASTER_SITE_SUBDIR=	zookeeper/zookeeper-${PORTVERSION}
Lines 36-41 Link Here
36
		PORTVERSION=${PORTVERSION} \
37
		PORTVERSION=${PORTVERSION} \
37
		RESETPREFIX=${PREFIX}
38
		RESETPREFIX=${PREFIX}
38
39
40
ZOOKEEPER_LOGDIR?=	/var/log/${PORTNAME}
41
ZOOKEEPER_RUNDIR?=	/var/run/${PORTNAME}
42
43
SUB_LIST+=	ZOOKEEPER_LOGDIR=${ZOOKEEPER_LOGDIR} \
44
		ZOOKEEPER_RUNDIR=${ZOOKEEPER_RUNDIR}
45
post-patch:
46
.for f in ${SCRIPTS}
47
	${REINPLACE_CMD} -e "s|bash|${LOCALBASE}/bin/bash|" ${WRKSRC}/bin/${f}
48
.endfor
49
39
do-install:
50
do-install:
40
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
51
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
41
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
52
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
(-)./files/zookeeper.in (+1 lines)
Lines 34-39 Link Here
34
34
35
zookeeper_command()
35
zookeeper_command()
36
{
36
{
37
	export JAVA_HOME=%%LOCALBASE%%/openjdk7
37
	${command} ${rc_arg}
38
	${command} ${rc_arg}
38
}
39
}
39
40

Return to bug 191536