Index: head/mail/squirrelmail/Makefile =================================================================== --- head/mail/squirrelmail/Makefile (revision 398549) +++ head/mail/squirrelmail/Makefile (revision 398550) @@ -1,97 +1,97 @@ # Created by: Simon Dick # $FreeBSD$ PORTNAME= squirrelmail PORTVERSION= 20150324 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail www MASTER_SITES= LOCAL/adamw/squirrelmail DISTNAME= ${PORTNAME}-${PORTVERSION}_0200-SVN.stable DIST_SUBDIR= ${PORTNAME} MAINTAINER= adamw@FreeBSD.org COMMENT= Webmail system which accesses mail over IMAP LICENSE= GPLv2 # This snapshot tarball contains php 5.4 and 5.5 compatibility # patches, but the only guaranteed compatibility is with php 5.3. # If you encounter problems, downgrade to php 5.3. USE_PHP= session mhash gettext mbstring pcre openssl xml WANT_PHP_WEB= yes USES= cpe gettext perl5 tar:bzip2 USE_PERL5= run NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}.stable/${PORTNAME} OPTIONS_DEFINE= DATABASE LDAP DOCS DATABASE_DESC= PEAR database support (must also install a driver) # if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail SQUIRRELDIR?= ${WWWDIR} SMUSER?= ${WWWOWN} SMGROUP?= ${WWWGRP} USERS= ${SMUSER} GROUPS= ${SMGROUP} PLIST_SUB= PORTVERSION=${PORTVERSION} \ SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}" \ SMUSER=${SMUSER} \ SMGROUP=${SMGROUP} SUB_FILES= pkg-message SUB_LIST= SQUIRRELDIR=${SQUIRRELDIR} SMUSER=${SMUSER} SMGROUP=${SMGROUP} CONFLICTS= squirreloutlook-[0-9]* DATABASE_RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB LDAP_USE= PHP=ldap post-patch: - @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \ + @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/aspell|g' \ ${WRKSRC}/plugins/squirrelspell/sqspell_config.php @${REINPLACE_CMD} -e 's|/usr/bin/fortune|/usr/games/fortune|g' \ ${WRKSRC}/plugins/fortune/fortune_functions.php @${REINPLACE_CMD} -e 's|/var/local/squirrelmail|${SQUIRRELDIR}|g' \ ${WRKSRC}/config/conf.pl ${WRKSRC}/config/config_default.php ${WRKSRC}/doc/INSTALL do-build: # Rearrange the documentation @${MV} ${WRKSRC}/themes/README.themes ${WRKSRC}/doc @(cd ${WRKSRC} && \ for f in `${FIND} -E plugins -regex \ '.*(README.*|INSTALL|HISTORY)'`; \ do \ ${MKDIR} doc/`dirname $$f`; \ ${MV} $$f doc/`dirname $$f`; \ done) @${MV} ${WRKSRC}/doc/plugins/squirrelspell/doc/README ${WRKSRC}/doc/plugins/squirrelspell @${RM} -rf ${WRKSRC}/doc/plugins/squirrelspell/doc @${MV} ${WRKSRC}/plugins/squirrelspell/doc/* ${WRKSRC}/doc/plugins/squirrelspell @${RM} -f ${WRKSRC}/doc/plugins/squirrelspell/index.php @${RM} -rf ${WRKSRC}/plugins/squirrelspell/doc @${ECHO} "left_refresh=300" >> ${WRKSRC}/data/default_pref @${MV} ${WRKSRC}/config/config_local.php ${WRKSRC}/config/config_local.php.sample @${MV} ${WRKSRC}/data/default_pref ${WRKSRC}/data/default_pref.sample @${MKDIR} ${WRKSRC}/attach @${CP} -p ${WRKSRC}/data/.htaccess ${WRKSRC}/attach/.htaccess do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${FILESDIR}/111.clean-squirrelmail ${STAGEDIR}${PREFIX}/etc/periodic/daily @${MKDIR} ${STAGEDIR}${SQUIRRELDIR} ${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${SQUIRRELDIR} ${INSTALL_SCRIPT} ${WRKSRC}/configure ${STAGEDIR}${SQUIRRELDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} "attach class config data functions help images include locale plugins po scripts src themes" \ ${STAGEDIR}${SQUIRRELDIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php =================================================================== --- head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php (nonexistent) +++ head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php (revision 398550) @@ -0,0 +1,12 @@ +--- plugins/squirrelspell/sqspell_config.php.orig 2015-10-03 17:59:19 UTC ++++ plugins/squirrelspell/sqspell_config.php +@@ -22,9 +22,6 @@ sqgetGlobalVar('username', $username, SQ + * + * $SQSPELL_APP = array( 'English' => 'ispell -a', + * 'Spanish' => 'ispell -d spanish -a' ); +- * You can replace ispell with aspell keeping the same commandline: +- * $SQSPELL_APP = array( 'English' => 'aspell -a', +- * 'Spanish' => 'aspell -d spanish -a' ); + */ + $SQSPELL_APP = array('English' => 'ispell -a', + 'Spanish' => 'ispell -d spanish -a'); Property changes on: head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property 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