summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-10 21:31:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-10 21:31:40 +0000
commitaaf90d413df8860d8e1ffa33a403ce7005430c26 (patch)
treeacbb2d1229e1d0e46b2282303b167f71dee24fac /mail
parent- Update to 6.1.6.3 (diff)
- Put full path to ispell so spell checking works
Submitted by Harold Paulson <haroldp@internal.org> - Add dependeny on pear-DB if database support is enabled Submitted by Andryan <andryan@makeworld.net> PR: ports/74850 Submitted by: Simon Dick <simond@irrelevant.org> (maintainer)
Notes
Notes: svn path=/head/; revision=123653
Diffstat (limited to 'mail')
-rw-r--r--mail/squirrelmail/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index 620e2adc71f5..df350bccfcd9 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= squirrelmail
PORTVERSION?= 1.4.3a
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES?= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= squirrelmail
@@ -21,9 +21,11 @@ USE_PHP= session mhash gettext mbstring pcre openssl xml
WANT_PHP_WEB= yes
USE_BZIP2= yes
+USE_REINPLACE= yes
.ifdef WITH_DATABASE
WANT_PHP_PEAR= yes
+RUN_DEPENDS+= ${PREFIX}/share/pear/DB.php:${PORTSDIR}/pear-DB
.endif
.ifdef WITH_LDAP
@@ -70,6 +72,8 @@ post-patch: slaveport-post-patch
${MASTERDIR}/pkg-deinstall > ${PKGDEINSTALL}
@${SED} -e "s;%%SQUIRRELDIR%%;${SQUIRRELDIR};g" \
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
+ @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \
+ ${WRKSRC}/plugins/squirrelspell/sqspell_config.php
# Rearrange the documentation
do-build: