View | Details | Raw Unified | Return to bug 190982
Collapse All | Expand All

(-)Makefile (-18 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	riak
3
PORTNAME=	riak
4
PORTVERSION=	1.4.8
4
PORTVERSION=	1.4.9
5
CATEGORIES=	databases
5
CATEGORIES=	databases
6
MASTER_SITES=	http://s3.amazonaws.com/downloads.basho.com/riak/${PORTVERSION:R}/${PORTVERSION}/ \
6
MASTER_SITES=	http://s3.amazonaws.com/downloads.basho.com/riak/${PORTVERSION:R}/${PORTVERSION}/ \
7
		http://downloads.basho.com.s3.amazonaws.com/riak/${PORTVERSION:R}/${PORTVERSION}/
7
		http://downloads.basho.com.s3.amazonaws.com/riak/${PORTVERSION:R}/${PORTVERSION}/
Lines 32-40 Link Here
32
RIAK_LIBDIR?=	${PREFIX}/lib/${PORTNAME}/lib
32
RIAK_LIBDIR?=	${PREFIX}/lib/${PORTNAME}/lib
33
RIAK_HOMEDIR?=	${PREFIX}/lib/${PORTNAME}
33
RIAK_HOMEDIR?=	${PREFIX}/lib/${PORTNAME}
34
34
35
MAN1=		riak.1 riak-admin.1 riak-debug.1 search-cmd.1
36
MANCOMPRESSED=	yes
37
38
ALL_TARGET=	rel
35
ALL_TARGET=	rel
39
MAKE_JOBS_UNSAFE=yes
36
MAKE_JOBS_UNSAFE=yes
40
MAKE_ENV=	PATH=${LOCALBASE}/lib/erlang15/bin:${PATH}
37
MAKE_ENV=	PATH=${LOCALBASE}/lib/erlang15/bin:${PATH}
Lines 90-107 Link Here
90
	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/riak-debug.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/
87
	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/riak-debug.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/
91
	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/search-cmd.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/
88
	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/search-cmd.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/
92
89
93
post-install:
94
	@if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/vm.args ]; then \
95
		${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/vm.args.sample ${STAGEDIR}${RIAK_CONFDIR}/vm.args; \
96
	fi
97
	@if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/app.config ]; then \
98
		${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/app.config.sample ${STAGEDIR}${RIAK_CONFDIR}/app.config; \
99
	fi
100
	@if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/cert.pem ]; then \
101
		${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/cert.pem.sample ${STAGEDIR}${RIAK_CONFDIR}/cert.pem; \
102
	fi
103
	@if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/key.pem ]; then \
104
		${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/key.pem.sample ${STAGEDIR}${RIAK_CONFDIR}/key.pem; \
105
	fi
106
107
.include <bsd.port.post.mk>
90
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (riak-1.4.8.tar.gz) = 69159cefeef48f5ad3ebec02ea4856f7c739e158758405e69c2d001d2d7958d1
1
SHA256 (riak-1.4.9.tar.gz) = 8976288a3a65225154d44d7b3fde713d54057ec89e96d7e368456d46c54cfe8b
2
SIZE (riak-1.4.8.tar.gz) = 13799400
2
SIZE (riak-1.4.9.tar.gz) = 13814858
(-)pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
write data. In most failure scenarios the data you want to read
3
write data. In most failure scenarios the data you want to read
4
should be available, albeit possibly stale.
4
should be available, albeit possibly stale.
5
5
6
WWW: http://basho.com/riak/
6
WWW: http://basho.com/riak
(-)pkg-plist (-13 / +4 lines)
Lines 11-27 Link Here
11
@exec mkdir -p %%RIAK_DBDIR%%
11
@exec mkdir -p %%RIAK_DBDIR%%
12
@exec mkdir -p %%RIAK_HOMEDIR%%
12
@exec mkdir -p %%RIAK_HOMEDIR%%
13
@exec mkdir -p %%RIAK_LIBDIR%%
13
@exec mkdir -p %%RIAK_LIBDIR%%
14
@unexec if cmp -s %D/%%ETCDIR%%/vm.args.sample %D/%%ETCDIR%%/vm.args; then rm -f %D/%%ETCDIR%%/vm.args; fi
14
@sample %%ETCDIR%%/vm.args.sample
15
%%ETCDIR%%/vm.args.sample
15
@sample %%ETCDIR%%/app.config.sample
16
@exec if [ ! -f %D/%%ETCDIR%%/vm.args ] ; then cp -p %D/%F %B/vm.args; fi
16
@sample %%ETCDIR%%/cert.pem.sample
17
@unexec if cmp -s %D/%%ETCDIR%%/app.config.sample %D/%%ETCDIR%%/app.config; then rm -f %D/%%ETCDIR%%/app.config; fi
17
@sample %%ETCDIR%%/key.pem.sample
18
%%ETCDIR%%/app.config.sample
19
@exec if [ ! -f %D/%%ETCDIR%%/app.config ] ; then cp -p %D/%F %B/app.config; fi
20
@unexec if cmp -s %D/%%ETCDIR%%/cert.pem.sample %D/%%ETCDIR%%/cert.pem; then rm -f %D/%%ETCDIR%%/cert.pem; fi
21
%%ETCDIR%%/cert.pem.sample
22
@exec if [ ! -f %D/%%ETCDIR%%/cert.pem ] ; then cp -p %D/%F %B/cert.pem; fi
23
@unexec if cmp -s %D/%%ETCDIR%%/key.pem.sample %D/%%ETCDIR%%/key.pem; then rm -f %D/%%ETCDIR%%/key.pem; fi
24
%%ETCDIR%%/key.pem.sample
25
@exec if [ ! -f %D/%%ETCDIR%%/key.pem ] ; then cp -p %D/%F %B/key.pem; fi
26
@dirrmtry %%ETCDIR%%
18
@dirrmtry %%ETCDIR%%
27
@unexec if [ -f %%RIAK_HOMEDIR%%/.erlang.cookie ] ; then rm -f %%RIAK_HOMEDIR%%/.erlang.cookie ; fi

Return to bug 190982