Lines 8-13
Link Here
|
8 |
MAINTAINER= skreuzer@FreeBSD.org |
8 |
MAINTAINER= skreuzer@FreeBSD.org |
9 |
COMMENT= Coordination Service for Distributed Applications |
9 |
COMMENT= Coordination Service for Distributed Applications |
10 |
|
10 |
|
|
|
11 |
LICENSE= APACHE20 |
12 |
|
11 |
RUN_DEPENDS= slf4j>=1.7.5:devel/slf4j \ |
13 |
RUN_DEPENDS= slf4j>=1.7.5:devel/slf4j \ |
12 |
netty>=3.5.5:java/netty \ |
14 |
netty>=3.5.5:java/netty \ |
13 |
jline>=0.9.94:devel/jline \ |
15 |
jline>=0.9.94:devel/jline \ |
Lines 17-22
Link Here
|
17 |
USERS= zookeeper |
19 |
USERS= zookeeper |
18 |
GROUPS= zookeeper |
20 |
GROUPS= zookeeper |
19 |
|
21 |
|
|
|
22 |
ZOOKEEPER_CONFS= configuration.xsl log4j.properties zoo.cfg |
23 |
|
20 |
ZOOKEEPER_JAR= ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar |
24 |
ZOOKEEPER_JAR= ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar |
21 |
|
25 |
|
22 |
ZOOKEEPER_DBDIR?= /var/db/zookeeper |
26 |
ZOOKEEPER_DBDIR?= /var/db/zookeeper |
Lines 47-56
Link Here
|
47 |
|
51 |
|
48 |
post-extract: |
52 |
post-extract: |
49 |
@${REINPLACE_CMD} "/dataDir/s|=.*|=${ZOOKEEPER_DBDIR}|" ${WRKDIR}/${DISTNAME}/conf/zoo_sample.cfg |
53 |
@${REINPLACE_CMD} "/dataDir/s|=.*|=${ZOOKEEPER_DBDIR}|" ${WRKDIR}/${DISTNAME}/conf/zoo_sample.cfg |
50 |
@${RM} ${WRKDIR}/${DISTNAME}/conf/zoo_sample.cfg.bak |
54 |
@${MV} ${WRKDIR}/${DISTNAME}/conf/zoo_sample.cfg ${WRKDIR}/${DISTNAME}/conf/zoo.cfg |
51 |
|
55 |
|
52 |
do-install: |
56 |
do-install: |
53 |
${CP} -Rp ${WRKDIR}/${DISTNAME}/conf/ ${STAGEDIR}${ETCDIR} |
57 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
|
|
58 |
.for f in ${ZOOKEEPER_CONFS} |
59 |
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/conf/${f} ${STAGEDIR}${ETCDIR}/${f}.sample |
60 |
.endfor |
54 |
${INSTALL_DATA} ${ZOOKEEPER_JAR} ${STAGEDIR}${JAVALIBDIR} |
61 |
${INSTALL_DATA} ${ZOOKEEPER_JAR} ${STAGEDIR}${JAVALIBDIR} |
55 |
(cd ${STAGEDIR}/${JAVAJARDIR} && ${LN} -nfs \ |
62 |
(cd ${STAGEDIR}/${JAVAJARDIR} && ${LN} -nfs \ |
56 |
${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}.jar) |
63 |
${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}.jar) |