Date: Thu, 12 Jun 2014 19:24:22 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357630 - head/databases/riak Message-ID: <201406121924.s5CJOMvg014336@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trociny Date: Thu Jun 12 19:24:22 2014 New Revision: 357630 URL: http://svnweb.freebsd.org/changeset/ports/357630 QAT: https://qat.redports.org/buildarchive/r357630/ Log: Remove unnecessary bits: - manpages are automatically handled by the framework; - config existence is handled in pkg-plist; - directory existence check is handled by ${MKDIR}. Modified: head/databases/riak/Makefile Modified: head/databases/riak/Makefile ============================================================================== --- head/databases/riak/Makefile Thu Jun 12 18:56:36 2014 (r357629) +++ head/databases/riak/Makefile Thu Jun 12 19:24:22 2014 (r357630) @@ -32,9 +32,6 @@ RIAK_DBDIR?= /var/db/${PORTNAME} RIAK_LIBDIR?= ${PREFIX}/lib/${PORTNAME}/lib RIAK_HOMEDIR?= ${PREFIX}/lib/${PORTNAME} -MAN1= riak.1 riak-admin.1 riak-debug.1 search-cmd.1 -MANCOMPRESSED= yes - ALL_TARGET= rel MAKE_JOBS_UNSAFE=yes MAKE_ENV= PATH=${LOCALBASE}/lib/erlang15/bin:${PATH} @@ -74,7 +71,7 @@ pre-install: do-install: .for d in ${RIAK_CONFDIR} ${RIAK_LOGDIR} ${RIAK_DBDIR} ${RIAK_LIBDIR} ${RIAK_HOMEDIR} - [ -d ${STAGEDIR}${d} ] || ${MKDIR} ${STAGEDIR}${d} + ${MKDIR} ${STAGEDIR}${d} .endfor ${INSTALL_DATA} ${WRKSRC}/rel/riak/etc/vm.args ${STAGEDIR}${RIAK_CONFDIR}/vm.args.sample ${INSTALL_DATA} ${WRKSRC}/rel/riak/etc/app.config ${STAGEDIR}${RIAK_CONFDIR}/app.config.sample @@ -90,18 +87,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/riak-debug.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/search-cmd.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/ -post-install: - @if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/vm.args ]; then \ - ${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/vm.args.sample ${STAGEDIR}${RIAK_CONFDIR}/vm.args; \ - fi - @if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/app.config ]; then \ - ${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/app.config.sample ${STAGEDIR}${RIAK_CONFDIR}/app.config; \ - fi - @if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/cert.pem ]; then \ - ${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/cert.pem.sample ${STAGEDIR}${RIAK_CONFDIR}/cert.pem; \ - fi - @if [ ! -f ${STAGEDIR}${RIAK_CONFDIR}/key.pem ]; then \ - ${CP} -p ${STAGEDIR}${RIAK_CONFDIR}/key.pem.sample ${STAGEDIR}${RIAK_CONFDIR}/key.pem; \ - fi - .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406121924.s5CJOMvg014336>