Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2007 14:28:15 +0200
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108241: Use OPTIONS for editors/abiword-plugins
Message-ID:  <20070123122815.GA9944@pm513-1.comsys.ntu-kpi.kiev.ua>
Resent-Message-ID: <200701231230.l0NCUHfC049867@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.pre.mk>
+
 # 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 <bsd.port.pre.mk>
-
 #.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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070123122815.GA9944>