aboutsummaryrefslogtreecommitdiffstats
path: root/devel/otrs
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-24 08:02:41 +0800
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-24 08:02:41 +0800
commit020e3725d1b57628e410cdf1fdf816341a054efe (patch)
tree8278008a4a534494acb798185751e62fecd644eb /devel/otrs
parent8e261ebb13eb137d3f8a7e7f93ca3d80e9d3fe90 (diff)
downloadfreebsd-ports-gnome-020e3725d1b57628e410cdf1fdf816341a054efe.tar.gz
freebsd-ports-gnome-020e3725d1b57628e410cdf1fdf816341a054efe.tar.zst
freebsd-ports-gnome-020e3725d1b57628e410cdf1fdf816341a054efe.zip
- OPTIONS+= ASPELL
PR: ports/146201 Submitted by: pgollucci@ (myself) Sponsored by: RideCharge Inc. / Taximagic Approved by: maintainer timeout (skv; 24 days)
Diffstat (limited to 'devel/otrs')
-rw-r--r--devel/otrs/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/devel/otrs/Makefile b/devel/otrs/Makefile
index ace14424670c..2b82c51c8143 100644
--- a/devel/otrs/Makefile
+++ b/devel/otrs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= otrs
PORTVERSION= 2.4.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://ftp.otrs.org/pub/otrs/ \
ftp://ftp.samurai.com/pub/otrs/ \
@@ -41,7 +41,8 @@ OPTIONS= MYSQL "MySQL database support" on \
IMAP "Fetch email via IMAP" on \
LDAP "Enable LDAP support" off \
PDF "Enable PDF output" on \
- ISPELL "Enable spell checking" on \
+ ISPELL "Enable ispell checking" off \
+ ASPELL "Enable aspell checking" on \
GNUPG "Use GnuPG" off
USE_BZIP2= yes
@@ -113,10 +114,18 @@ RUN_DEPENDS+= p5-PDF-API2>=0.57:${PORTSDIR}/textproc/p5-PDF-API2 \
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
.endif
+.ifdef WITH_ASPELL
+RUN_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+.endif
+
.ifdef WITH_GNUPG
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1
.endif
+.ifdef WITH_ISPELL && WITH_ASPELL
+IGNORE= you only need 1 spell checker
+.endif
+
do-build:
@${FIND} ${WRKSRC} -name "*.orig" -delete
@${FIND} ${WRKSRC}/Kernel -type d | ${XARGS} ${CHMOD} 0755
@@ -129,6 +138,10 @@ do-build:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \
-e "s=/usr/bin/ispell=${PREFIX}/bin/ispell=g"
.endif
+.ifdef WITH_ASPELL
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \
+ -e "s=/usr/bin/ispell=${PREFIX}/bin/aspell=g"
+.endif
.ifdef WITH_GNUPG
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \
-e "s=/usr/bin/gpg=${PREFIX}/bin/gpg=g"