aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-11 05:31:40 +0800
committerpav <pav@FreeBSD.org>2004-12-11 05:31:40 +0800
commit0e96866357490f6f70bb8fbca4cdfff5a19ff081 (patch)
tree15abeeca4e880d1b605c358cfaa04725e343a2e2 /mail
parent83a4f9dcafebfdf6310921e682f5fbedee29989d (diff)
downloadfreebsd-ports-gnome-0e96866357490f6f70bb8fbca4cdfff5a19ff081.tar.gz
freebsd-ports-gnome-0e96866357490f6f70bb8fbca4cdfff5a19ff081.tar.zst
freebsd-ports-gnome-0e96866357490f6f70bb8fbca4cdfff5a19ff081.zip
- 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)
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: