From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 23 12:30:17 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9696516A404 for ; Tue, 23 Jan 2007 12:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 73A7513C45D for ; Tue, 23 Jan 2007 12:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0NCUH69049870 for ; Tue, 23 Jan 2007 12:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0NCUHfC049867; Tue, 23 Jan 2007 12:30:17 GMT (envelope-from gnats) Resent-Date: Tue, 23 Jan 2007 12:30:17 GMT Resent-Message-Id: <200701231230.l0NCUHfC049867@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Simonenko Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2520B16A405 for ; Tue, 23 Jan 2007 12:28:22 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.freebsd.org (Postfix) with ESMTP id 5EDD913C465 for ; Tue, 23 Jan 2007 12:28:18 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm513-1.comsys.ntu-kpi.kiev.ua (pm513-1.comsys.ntu-kpi.kiev.ua [10.18.52.101]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.13.7/8.13.7) with ESMTP id l0NFZ2sa049066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 23 Jan 2007 15:35:03 GMT Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id 6C1495C0C2; Tue, 23 Jan 2007 14:28:15 +0200 (EET) Message-Id: <20070123122815.GA9944@pm513-1.comsys.ntu-kpi.kiev.ua> Date: Tue, 23 Jan 2007 14:28:15 +0200 From: Andrey Simonenko To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/108241: Use OPTIONS for editors/abiword-plugins X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 12:30:17 -0000 >Number: 108241 >Category: ports >Synopsis: Use OPTIONS in editors/abiword-plugins >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: Tue Jan 23 12:30:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: >Description: The editors/abiword-plugins port has many options, the following patch use OPTIONS for them. >How-To-Repeat: >Fix: --- Makefile.orig Fri Dec 8 12:33:25 2006 +++ Makefile Tue Jan 23 13:54:48 2007 @@ -40,6 +40,40 @@ popt wv zlib EXTRACT_AFTER_ARGS=| ${TAR} -xpf - ${EXTERNALS:C,^,--exclude ${DISTNAME}/,} +OPTIONS= APPLIX "Import/Export Applix Word files" on \ + BABELFISH "Translate selected text" on \ + BMP "View Bitmap Images" on \ + BZ2ABW "Import/Export BZ2 compressed AbiWord files" on \ + COMMAND "Allows command line control of AbiWord" on \ + FREETRANSLATION "Translate selected text" on \ + GOOGLE "Search Google for your selected text" on \ + MSWRITE "Import MSWrite files" on \ + SHELL "Execute shell commands from within AbiWord" on \ + URLDICT "URL dictionary" on \ + WIKIPEDIA "Search online encyclopedia for selected text" on \ + XSLFO "Import/export XSL-FO" on \ + AIKSAURUS "English language thesaurus" off \ + CLARISWORKS "Import/Export Clarisworks files" off \ + DOCBOOK "Import/export Docbook files" off \ + EML "Import/export as MS Outlook Email files" off \ + GDICT "Look up definitions of selected text" off \ + GRAMMAR "Allows AbiWord to be Grammar checked" off \ + HANCOM "Hancom Word Importer. Only does text" off \ + HRTEXT "Export text with \"newsgroup\" markup" off \ + JPEG "View JPEG Images" off \ + LATEX "LaTeX export" off \ + NROFF "Nroff/Man file format" off \ + OPENDOCUMENT "Iport/export OpenDocument files" off \ + OPENWRITER "Import/export OpenOffice files" off \ + PDB "Import/export Palm Database files" off \ + PSION "Import/export Psion files" off \ + SDW "Import StarOffice 5.x files" off \ + T602 "Import T602 files" off \ + WMF "View Windows Metafiles" off \ + WORDPERFECT "Import/export Wordperfect files" off + +.include + # NOTE: Please, keep those knobs in the ABC's order. .if defined(WITH_AIKSAURUS) || defined(PACKAGE_BUILDING) @@ -269,8 +303,6 @@ PLIST_SUB+= XSLFO:="@comment " .endif -.include - #.if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mlibgnomeprintui}!="" #USE_GNOME+= nautilus2 libgnomeprintui #CONFIGURE_ARGS+= --enable-gnome @@ -281,108 +313,6 @@ PLIST_SUB+= SVG:="" .else PLIST_SUB+= SVG:="@comment " -.endif - -pre-everything:: - @${ECHO_MSG} "You may specify the following on the command line:" - @${ECHO_MSG} "" - @${ECHO_MSG} "To enable plugins:" - @${ECHO_MSG} "========================================================" -.if !defined(WITH_AIKSAURUS) - @${ECHO_MSG} "WITH_AIKSAURUS=yes English language thesaurus." -.endif -.if !defined(WITH_CLARISWORKS) - @${ECHO_MSG} "WITH_CLARISWORKS=yes Import/Export Clarisworks files." -.endif -.if !defined(WITH_DOCBOOK) - @${ECHO_MSG} "WITH_DOCBOOK=yes Import/export Docbook files." -.endif -.if !defined(WITH_EML) - @${ECHO_MSG} "WITH_EML=yes Import/export as MS Outlook Email files." -.endif -.if !defined(WITH_GDICT) - @${ECHO_MSG} "WITH_GDICT=yes Look up definitions of selected text." -.endif -.if !defined(WITH_GRAMMAR) - @${ECHO_MSG} "WITH_GRAMMAR=yes Allows AbiWord to be Grammar checked." -.endif -.if !defined(WITH_HANCOM) - @${ECHO_MSG} "WITH_HANCOM=yes Hancom Word Importer. Only does text." -.endif -.if !defined(WITH_HRTEXT) - @${ECHO_MSG} "WITH_HRTEXT=yes Export text with \"newsgroup\" markup." -.endif -.if !defined(WITH_JPEG) - @${ECHO_MSG} "WITH_JPEG=yes View JPEG Images." -.endif -.if !defined(WITH_LATEX) - @${ECHO_MSG} "WITH_LATEX=yes LaTeX export." -.endif -.if !defined(WITH_NROFF) - @${ECHO_MSG} "WITH_NROFF=yes Nroff/Man file format." -.endif -.if !defined(WITH_OPENDOCUMENT) - @${ECHO_MSG} "WITH_OPENDOCUMENT=yes Import/export OpenDocument files." -.endif -.if !defined(WITH_OPENWRITER) - @${ECHO_MSG} "WITH_OPENWRITER=yes Import/export OpenOffice files." -.endif -.if !defined(WITH_PDB) - @${ECHO_MSG} "WITH_PDB=yes Import/export Palm Database files." -.endif -.if !defined(WITH_PSION) - @${ECHO_MSG} "WITH_PSION=yes Import/export Psion files." -.endif -.if !defined(WITH_SDW) - @${ECHO_MSG} "WITH_SDW=yes Import StarOffice 5.x files." -.endif -.if !defined(WITH_T602) - @${ECHO_MSG} "WITH_T602=yes Import T602 files." -.endif -.if !defined(WITH_WMF) - @${ECHO_MSG} "WITH_WMF=yes View Windows Metafiles." -.endif -.if !defined(WITH_WORDPERFECT) - @${ECHO_MSG} "WITH_WORDPERFECT=yes Import/export Wordperfect files." -.endif - @${ECHO_MSG} "" - @${ECHO_MSG} "To disable plugins:" - @${ECHO_MSG} "========================================================" -.if !defined(WITH_APPLIX) - @${ECHO_MSG} "WITHOUT_APPLIX=yes Import/Export Applix Word files." -.endif -.if !defined(WITHOUT_BABELFISH) - @${ECHO_MSG} "WITHOUT_BABELFISH=yes Translate selected text." -.endif -.if !defined(WITHOUT_BMP) - @${ECHO_MSG} "WITHOUT_BMP=yes View Bitmap Images." -.endif -.if !defined(WITHOUT_BZ2ABW) - @${ECHO_MSG} "WITHOUT_BZ2ABW=yes Import/Export BZ2 compressed AbiWord files." -.endif -.if !defined(WITHOUT_COMMAND) - @${ECHO_MSG} "WITHOUT_COMMAND=yes Allows command line control of AbiWord." -.endif -.if !defined(WITHOUT_FREETRANSLATION) - @${ECHO_MSG} "WITHOUT_FREETRANSLATION=yes Translate selected text." -.endif -.if !defined(WITHOUT_GOOGLE) - @${ECHO_MSG} "WITHOUT_GOOGLE=yes Search Google for your selected text." -.endif -.if !defined(WITHOUT_MSWRITE) - @${ECHO_MSG} "WITHOUT_MSWRITE=yes Import MSWrite files." -.endif -.if !defined(WITHOUT_SHELL) - @${ECHO_MSG} "WITHOUT_SHELL=yes Execute shell commands from within AbiWord." -.endif -.if !defined(WITHOUT_URLDICT) - @${ECHO_MSG} "WITHOUT_URLDICT=yes Url dictionary." -.endif -.if !defined(WITHOUT_WIKIPEDIA) - @${ECHO_MSG} "WITHOUT_WIKIPEDIA=yes Search online encyclopedia for selected text." -.endif -.if !defined(WITHOUT_XSLFO) - @${ECHO_MSG} "WITHOUT_XSLFO=yes Import/export XSL-FO." .endif post-patch: >Release-Note: >Audit-Trail: >Unformatted: