Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2014 17:19:29 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360056 - head/mail/dovecot2
Message-ID:  <201407011719.s61HJTT3088701@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Jul  1 17:19:28 2014
New Revision: 360056
URL: http://svnweb.freebsd.org/changeset/ports/360056
QAT: https://qat.redports.org/buildarchive/r360056/

Log:
  Don't depend on dovecot itself to create DOCSDIR.
  
  Noticed by:	Bill Richter <richterb@9500years.com>

Modified:
  head/mail/dovecot2/Makefile

Modified: head/mail/dovecot2/Makefile
==============================================================================
--- head/mail/dovecot2/Makefile	Tue Jul  1 16:52:22 2014	(r360055)
+++ head/mail/dovecot2/Makefile	Tue Jul  1 17:19:28 2014	(r360056)
@@ -129,9 +129,9 @@ post-patch:
 		${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/*
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407011719.s61HJTT3088701>