Index: Makefile =================================================================== --- Makefile (revision 486561) +++ Makefile (working copy) @@ -50,6 +50,15 @@ PSPELL_VARS= use_php+=pspell SQLITE_VARS= use_php+=pdo_sqlite +.include + +# enforce EXAMPLES option, necessary so that @sample +# can install the newsyslog file +.if empty(PORT_OPTIONS:MEXAMPLES) +PORT_OPTIONS+= EXAMPLES +.endif + + post-extract-NSC: @${CP} ${FILESDIR}/spellchecker.php ${WRKSRC} @@ -58,6 +67,8 @@ do-install: -${MKDIR} ${STAGEDIR}${WWWDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${FILESDIR}/roundcube.conf.sample ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC} && ${COPYTREE_BIN} bin ${STAGEDIR}${WWWDIR} .for i in ${RCUBECOMP} @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} @@ -68,6 +79,8 @@ >> ${TMPPLIST} @${ECHO_CMD} '@postexec chown ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/temp' \ >> ${TMPPLIST} + @${ECHO_CMD} '@sample ${EXAMPLESDIR}/roundcube.conf.sample etc/newsyslog.conf.d/roundcube.conf' \ + >> ${TMPPLIST} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} Index: files/roundcube.conf.sample =================================================================== --- files/roundcube.conf.sample (nonexistent) +++ files/roundcube.conf.sample (working copy) @@ -0,0 +1,2 @@ +/usr/local/www/roundcube/logs/errors www:www 644 90 * @T00 JC +/usr/local/www/roundcube/logs/sendmail www:www 644 90 * @T00 JC Property changes on: files/roundcube.conf.sample ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property