Date: Fri, 30 Apr 2010 18:06:59 -0400 (EDT) From: "Philip M. Gollucci" <pgollucci@frieza.p6m7g8.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org Subject: ports/146201: [PATCH] devel/otrs: OPTIONS+= aspell Message-ID: <201004302206.o3UM6xE9035003@frieza.p6m7g8.net> Resent-Message-ID: <201004302210.o3UMADdO086328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146201 >Category: ports >Synopsis: [PATCH] devel/otrs: OPTIONS+= aspell >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 30 22:10:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Philip M. Gollucci >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Apr 26 16:20:00 EDT 2010 >Description: Sponsored by: RideCharge Inc. / Taxi Magic Port maintainer (skv@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- otrs-2.4.7_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/otrs/Makefile,v retrieving revision 1.28 diff -u -u -r1.28 Makefile --- Makefile 28 Mar 2010 06:33:25 -0000 1.28 +++ Makefile 30 Apr 2010 21:08:56 -0000 @@ -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 @@ 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+= 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 @@ @${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" --- otrs-2.4.7_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004302206.o3UM6xE9035003>