summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-23 12:25:49 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-23 12:25:49 +0800
commit0f4f2dda183f0640fd279662ba4415fee1ef7098 (patch)
tree5589fc15152f8dd395701671f3eeaae4a6be85ea /editors
parent2b4538f7ef26a6534ba036823e9a8ce702664014 (diff)
downloadmarcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.tar
marcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.tar.gz
marcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.tar.bz2
marcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.tar.lz
marcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.tar.xz
marcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.tar.zst
marcuscom-ports-0f4f2dda183f0640fd279662ba4415fee1ef7098.zip
Add abiword-plugins, remind to all of you that this port isn't full finish.
There will need some tweak such as COMMENT, pkg-descr and some dependencies, which I didn't take serious with the dependencies. So far, I think most of them are correct. There are about over 30 knobs. Current, it will install GdkPixbuf and svg plugins by default. It doesn't gain any dependency and I don't think it makes any sense for the AbiWord developer to not insert GdkPixbuf in AbiWord by default, since it's part of GTK. I prefer to have the very small useful auto check if stuff exist, because 30 auto check is too much. I am hoping that I picked the stuff correct for the PACKAGE_BUILDING. I only put the stuff with PACKAGE_BUILDING if it has no or small size of dependency. If you want to tweak on PACKAGE_BUILDING, please go ahead. I will following up more by send in -gnome about abiword-plugins is available now to test, which plugins that aren't work and etc. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2542 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r--editors/abiword-plugins/Makefile416
-rw-r--r--editors/abiword-plugins/distinfo0
-rw-r--r--editors/abiword-plugins/pkg-descr0
-rw-r--r--editors/abiword-plugins/pkg-plist33
4 files changed, 449 insertions, 0 deletions
diff --git a/editors/abiword-plugins/Makefile b/editors/abiword-plugins/Makefile
new file mode 100644
index 000000000..71c4e96a7
--- /dev/null
+++ b/editors/abiword-plugins/Makefile
@@ -0,0 +1,416 @@
+# New ports collection makefile for: abiword-plugins
+# Date created: 13 June 2004
+# Whom: FreeBSD GNOME Team <gnome@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= abiword
+PORTVERSION= 2.1.3
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
+MASTER_SITE_SUBDIR= abiword
+DIST_SUBDIR= AbiWord
+PKGNAMESUFFIX= -plugins
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Multi-plugins for AbiWord
+
+BUILD_DEPENDS= abiword:${PORTSDIR}/editors/AbiWord2
+RUN_DEPENDS= abiword:${PORTSDIR}/editors/AbiWord2
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnometarget gtk20
+WANT_GNOME= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-all
+MAKEFILE= GNUmakefile
+
+
+WRKSRC= ${WRKDIR}/abiword-${PORTVERSION}/abiword-plugins
+MD5_FILE= ${.CURDIR}/../AbiWord2/distinfo
+
+ABIVERSION= 2.2
+PLIST_SUB+= "ABIVERSION=${ABIVERSION}"
+
+# NOTE: Please, keep those knobs in the ABC's order.
+
+# Not yet, need to port Aiksaurus: http://aiksaurus.sourceforge.net
+#.if defined(WITH_AIKSAURUS) || defined(PACKAGE_BUILDING)
+#CONFIGURE_ARGS+= --enable-aiksaurus
+#PLIST_SUB+= AIKSAURUS:=""
+#.else
+#PLIST_SUB+= AIKSAURUS:="@comment "
+#.endif
+
+.if defined(WITH_APPLIX) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-applix
+PLIST_SUB+= APPLIX:=""
+.else
+PLIST_SUB+= APPLIX:="@comment "
+.endif
+
+.if defined(WITH_BABELFISH) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-babelfish
+PLIST_SUB+= BABELFISH:=""
+.else
+PLIST_SUB+= BABELFISH:="@comment "
+.endif
+
+.if defined(WITH_BMP) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-bmp
+PLIST_SUB+= BMP:=""
+.else
+PLIST_SUB+= BMP:="@comment "
+.endif
+
+.if defined(WITH_BZ2ABW) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-bz2abw \
+ --with-bzip2=/usr
+PLIST_SUB+= BZ2ABW:=""
+.else
+PLIST_SUB+= BZ2ABW:="@comment "
+.endif
+
+.if defined(WITH_CLARISWORKS) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-clarisworks
+PLIST_SUB+= CLARISWORKS:=""
+.else
+PLIST_SUB+= CLARISWORKS:="@comment "
+.endif
+
+.if defined(WITH_COMMAND) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-abicommand
+PLIST_SUB+= COMMAND:=""
+.else
+PLIST_SUB+= COMMAND:="@comment "
+.endif
+
+.if defined(WITH_DOCBOOK) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-docbook
+PLIST_SUB+= DOCBOOK:=""
+.else
+PLIST_SUB+= DOCBOOK:="@comment "
+.endif
+
+.if defined(WITH_EML) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-eml
+PLIST_SUB+= EML:=""
+.else
+PLIST_SUB+= EML:="@comment "
+.endif
+
+.if defined(WITH_FREETRANSLATION) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-freetranslation
+PLIST_SUB+= FREETRANSLATION:=""
+.else
+PLIST_SUB+= FREETRANSLATION:="@comment "
+.endif
+
+.if defined(WITH_GDICT)
+RUN_DEPENDS+= gnome-dictionary:${PORTSDIR}/deskutils/gnomeutils2
+CONFIGURE_ARGS+= --enable-gdict
+PLIST_SUB+= GDICT:=""
+.else
+PLIST_SUB+= GDICT:="@comment "
+.endif
+
+.if defined(WITH_GIMP) # Doesn't work, can't load plugin.
+#RUN_DEPENDS+=
+CONFIGURE_ARGS+= --enable-abigimp
+PLIST_SUB+= GIMP:=""
+.else
+PLIST_SUB+= GIMP:="@comment "
+.endif
+
+.if defined(WITH_GOOGLE) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-google
+PLIST_SUB+= GOOGLE:=""
+.else
+PLIST_SUB+= GOOGLE:="@comment "
+.endif
+
+.if defined(WITH_GYPSYTHON) # Doesn't work, can load but no error.
+USE_PYTHON= 2.3+
+CONFIGURE_ARGS+= --enable-gypsython
+PLIST_SUB+= GYPSYTHON:=""
+.else
+PLIST_SUB+= GYPSYTHON:="@comment "
+.endif
+
+# libole2-devel is in my local, haven't commit it yet.
+#.if defined(WITH_HANCOM) # Untest...
+#LIB_DEPENDS+= gnomeole2.4:${PORTSDIR}/devel/libole2-devel
+#CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libole2-2.0"
+#CONFIGURE_ARGS+= --enable-hancom
+#PLIST_SUB+= HANCOM:=""
+#.else
+PLIST_SUB+= HANCOM:="@comment "
+#.endif
+
+.if defined(WITH_HRTEXT) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-hrtext
+PLIST_SUB+= HRTEXT:=""
+.else
+PLIST_SUB+= HRTEXT:="@comment "
+.endif
+
+.if defined(WITH_JPEG) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-jpeg
+PLIST_SUB+= JPEG:=""
+.else
+PLIST_SUB+= JPEG:="@comment "
+.endif
+
+.if defined(WITH_KWORD) || defined(PACKAGE_BUILDING) # Unstable, crashed.
+CONFIGURE_ARGS+= --enable-kword
+PLIST_SUB+= KWORD:=""
+.else
+PLIST_SUB+= KWORD:="@comment "
+.endif
+
+.if defined(WITH_LATEX) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-latex
+PLIST_SUB+= LATEX:=""
+.else
+PLIST_SUB+= LATEX:="@comment "
+.endif
+
+.if defined(WITH_MAGICK) # Unstable, crashed.
+BUILD_DEPENDS+= Magick++-config:${PORTSDIR}/graphics/ImageMagick
+CONFIGURE_ARGS+= --enable-magick
+PLIST_SUB+= MAGICK:=""
+.else
+PLIST_SUB+= MAGICK:="@comment "
+.endif
+
+.if defined(WITH_MSWRITE) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-mswrite
+PLIST_SUB+= MSWRITE:=""
+.else
+PLIST_SUB+= MSWRITE:="@comment "
+.endif
+
+.if defined(WITH_NROFF) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-nroff
+PLIST_SUB+= NROFF:=""
+.else
+PLIST_SUB+= NROFF:="@comment "
+.endif
+
+.if defined(WITH_OPENWRITER) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-OpenWriter
+PLIST_SUB+= OPENWRITER:=""
+.else
+PLIST_SUB+= OPENWRITER:="@comment "
+.endif
+
+.if defined(WITH_PDB) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-pdb
+PLIST_SUB+= PDB:=""
+.else
+PLIST_SUB+= PDB:="@comment "
+.endif
+
+# Need to update converters/psiconv to 0.9.6 first.
+#.if defined(WITH_PSION)
+#CONFIGURE_ARGS+= --enable-psion
+#PLIST_SUB+= PSION:=""
+#.else
+#PLIST_SUB+= PSION:="@comment "
+#.endif
+
+.if defined(WITH_SDW)
+USE_GNOME+= libgsf
+CONFIGURE_ARGS+= --enable-sdw
+PLIST_SUB+= SDW:=""
+.else
+PLIST_SUB+= SDW:="@comment "
+.endif
+
+.if defined(WITH_SHELL) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-shell
+PLIST_SUB+= SHELL:=""
+.else
+PLIST_SUB+= SHELL:="@comment "
+.endif
+
+.if defined(WITH_T602) || defined(PACKAGE_BUILDING) # Untest...
+CONFIGURE_ARGS+= --enable-t602
+PLIST_SUB+= T602:=""
+.else
+PLIST_SUB+= T602:="@comment "
+.endif
+
+.if defined(WITH_URLDICT) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-urldict
+PLIST_SUB+= URLDICT:=""
+.else
+PLIST_SUB+= URLDICT:="@comment "
+.endif
+
+.if defined(WITH_WIKIPEDIA) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-wikipedia
+PLIST_SUB+= WIKIPEDIA:=""
+.else
+PLIST_SUB+= WIKIPEDIA:="@comment "
+.endif
+
+.if defined(WITH_WMF) || defined(PACKAGE_BUILDING)
+LIB_DEPENDS+= wmf.2:${PORTSDIR}/graphics/libwmf
+CONFIGURE_ARGS+= --enable-wmf
+PLIST_SUB+= WMF:=""
+.else
+PLIST_SUB+= WMF:="@comment "
+.endif
+
+.if defined(WITH_WORDPERFECT) || defined(PACKAGE_BUILDING)
+LIB_DEPENDS+= wpd-1.7:${PORTSDIR}/textproc/libwpd
+CONFIGURE_ARGS+= --enable-wordperfect
+PLIST_SUB+= WORDPERFECT:=""
+.else
+PLIST_SUB+= WORDPERFECT:="@comment "
+.endif
+
+.if defined(WITH_XSLFO) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-xsl-fo
+PLIST_SUB+= XSLFO:=""
+.else
+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
+.endif
+
+.if ${HAVE_GNOME:Mgtk20}!=""
+CONFIGURE_ARGS+= --enable-AbiGdkPixbuf
+PLIST_SUB+= GTKPIXBUF:=""
+.else
+PLIST_SUB+= GTKPIXBUF:="@comment "
+.endif
+
+.if ${HAVE_GNOME:Mlibrsvg2}!=""
+CONFIGURE_ARGS+= --enable-librsvg
+PLIST_SUB+= SVG:=""
+.else
+PLIST_SUB+= SVG:="@comment "
+.endif
+
+pre-everything::
+ @${ECHO_MSG} "You may specify the following on the command line:"
+ @${ECHO_MSG} ""
+#.if !defined(WITH_AIKSAURUS)
+# @${ECHO_MSG} "WITH_AIKSAURUS=yes English language thesaurus."
+#.endif
+.if !defined(WITH_APPLIX)
+ @${ECHO_MSG} "WITH_APPLIX=yes Import/Export Applix Word files."
+.endif
+.if !defined(WITH_BABELFISH)
+ @${ECHO_MSG} "WITH_BABELFISH=yes Translate selected text."
+.endif
+.if !defined(WITH_BMP)
+ @${ECHO_MSG} "WITH_BMP=yes View Bitmap Images."
+.endif
+.if !defined(WITH_BZ2ABW)
+ @${ECHO_MSG} "WITH_BZ2ABW=yes Import/Export BZ2 compressed AbiWord files."
+.endif
+.if !defined(WITH_CLARISWORKS)
+ @${ECHO_MSG} "WITH_CLARISWORKS=yes Import/Export Clarisworks files."
+.endif
+.if !defined(WITH_COMMAND)
+ @${ECHO_MSG} "WITH_COMMAND=yes Allows command line control of AbiWord."
+.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_FREETRANSLATION)
+ @${ECHO_MSG} "WITH_FREETRANSLATION=yes Translate selected text."
+.endif
+.if !defined(WITH_GDICT)
+ @${ECHO_MSG} "WITH_GDICT=yes Look up definitions of selected text."
+.endif
+.if !defined(WITH_GIMP)
+ @${ECHO_MSG} "WITH_GIMP=yes Edit Embedded Images with the Gimp."
+.endif
+.if !defined(WITH_GOOGLE)
+ @${ECHO_MSG} "WITH_GOOGLE=yes Search Google for your selected text."
+.endif
+.if !defined(WITH_GYPSYTHON)
+ @${ECHO_MSG} "WITH_GYPSYTHON=yes Python MailMerge."
+.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_KWORD)
+ @${ECHO_MSG} "WITH_KWORD=yes KWord import/export."
+.endif
+.if !defined(WITH_LATEX)
+ @${ECHO_MSG} "WITH_LATEX=yes LaTeX export."
+.endif
+.if !defined(WITH_MAGICK)
+ @${ECHO_MSG} "WITH_MAGICK=yes View and format images that ImageMagick supports."
+.endif
+.if !defined(WITH_MSWRITE)
+ @${ECHO_MSG} "WITH_MSWRITE=yes Import MSWrite files."
+.endif
+.if !defined(WITH_NROFF)
+ @${ECHO_MSG} "WITH_NROFF=yes Nroff/Man file format."
+.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_SHELL)
+ @${ECHO_MSG} "WITH_SHELL=yes Execute shell commands from within AbiWord."
+.endif
+.if !defined(WITH_T602)
+ @${ECHO_MSG} "WITH_T602=yes Import T602 files."
+.endif
+.if !defined(WITH_URLDICT)
+ @${ECHO_MSG} "WITH_URLDICT=yes Url dictionary."
+.endif
+.if !defined(WITH_WIKIPEDIA)
+ @${ECHO_MSG} "WITH_WIKIPEDIA=yes Search online encyclopedia for selected text."
+.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
+.if !defined(WITH_XSLFO)
+ @${ECHO_MSG} "WITH_XSLFO=yes Import/export XSL-FO."
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[$$]abi_plugin_source/../wv|${LOCALBASE}/wv|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/editors/abiword-plugins/distinfo b/editors/abiword-plugins/distinfo
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/editors/abiword-plugins/distinfo
diff --git a/editors/abiword-plugins/pkg-descr b/editors/abiword-plugins/pkg-descr
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/editors/abiword-plugins/pkg-descr
diff --git a/editors/abiword-plugins/pkg-plist b/editors/abiword-plugins/pkg-plist
new file mode 100644
index 000000000..d34212c65
--- /dev/null
+++ b/editors/abiword-plugins/pkg-plist
@@ -0,0 +1,33 @@
+%%APPLIX:%%lib/AbiWord-2.2/plugins/libAbiApplix.so
+%%BMP:%%lib/AbiWord-2.2/plugins/libAbiBMP.so
+%%BZ2ABW:%%lib/AbiWord-2.2/plugins/libAbiBZ2.so
+%%BABELFISH:%%lib/AbiWord-2.2/plugins/libAbiBabelfish.so
+%%CLARISWORKS:%%lib/AbiWord-2.2/plugins/libAbiClarisWorks.so
+%%COMMAND:%%lib/AbiWord-2.2/plugins/libAbiCommand.so
+%%DOCBOOK:%%lib/AbiWord-2.2/plugins/libAbiDocBook.so
+%%EML:%%lib/AbiWord-2.2/plugins/libAbiEML.so
+%%FREETRANSLATION:%%lib/AbiWord-2.2/plugins/libAbiFreeTranslation.so
+%%GDICT:%%lib/AbiWord-2.2/plugins/libAbiGdict.so
+%%GTKPIXBUF:%%lib/AbiWord-2.2/plugins/libAbiGdkPixbuf.so
+%%GIMP:%%lib/AbiWord-2.2/plugins/libAbiGimp.so
+%%GOOGLE:%%lib/AbiWord-2.2/plugins/libAbiGoogle.so
+%%GYPSYTHON:%%lib/AbiWord-2.2/plugins/libAbiGypsython.so
+%%HRTEXT:%%lib/AbiWord-2.2/plugins/libAbiHRText.so
+%%HANCOM:%%lib/AbiWord-2.2/plugins/libAbiHancom.so
+%%JPEG:%%lib/AbiWord-2.2/plugins/libAbiJPEG.so
+%%KWORD:%%lib/AbiWord-2.2/plugins/libAbiKWord.so
+%%LATEX:%%lib/AbiWord-2.2/plugins/libAbiLaTeX.so
+%%MSWRITE:%%lib/AbiWord-2.2/plugins/libAbiMSWrite.so
+%%MAGICK:%%lib/AbiWord-2.2/plugins/libAbiMagick.so
+%%NROFF:%%lib/AbiWord-2.2/plugins/libAbiNroff.so
+%%OPENWRITER:%%lib/AbiWord-2.2/plugins/libAbiOpenWriter.so
+%%PDB:%%lib/AbiWord-2.2/plugins/libAbiPalmDoc.so
+%%SVG:%%lib/AbiWord-2.2/plugins/libAbiRSVG.so
+%%SDW:%%lib/AbiWord-2.2/plugins/libAbiSDW.so
+%%SHELL:%%lib/AbiWord-2.2/plugins/libAbiScriptHappy.so
+%%T602:%%lib/AbiWord-2.2/plugins/libAbiT602.so
+%%URLDICT:%%lib/AbiWord-2.2/plugins/libAbiURLDict.so
+%%WMF:%%lib/AbiWord-2.2/plugins/libAbiWMF.so
+%%WIKIPEDIA:%%lib/AbiWord-2.2/plugins/libAbiWikipedia.so
+%%WORDPERFECT:%%lib/AbiWord-2.2/plugins/libAbiWordPerfect.so
+%%XSLFO:%%lib/AbiWord-2.2/plugins/libAbiXSLFO.so