diff options
author | mezz <mezz@FreeBSD.org> | 2005-11-05 13:44:53 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2005-11-05 13:44:53 +0800 |
commit | 7871e5c3607aa2e8fd64c0d66990a63bd1ac3ba7 (patch) | |
tree | ca0b51bcbd0f1680b13b372842e2a1f9d174f20a /editors/abiword-plugins | |
parent | 503b53c2a437658f85001075e7a7754af33f108f (diff) | |
download | freebsd-ports-graphics-7871e5c3607aa2e8fd64c0d66990a63bd1ac3ba7.tar.gz freebsd-ports-graphics-7871e5c3607aa2e8fd64c0d66990a63bd1ac3ba7.tar.zst freebsd-ports-graphics-7871e5c3607aa2e8fd64c0d66990a63bd1ac3ba7.zip |
- Update to 2.4.1, see the release note for details:
http://www.abisource.com/release-notes/2.4.1.phtml
- Replace from pkg-install to plist by use '@exec /bin/mkdir -p...', it's
easier that way.
- Correct the plist for plugins by add '@unexec /bin/rmdir....true'
- Re-enable install the .server and .xml files for bonobo/ui stuff, only
happen if GNOME is enable (autocheck by libgnomeui).
- Add CONFLICTS with abiword(-plugins)-devel now.
- As for plugins, grammar-checker, OpenWriter and OpenDocument have been added.
Diffstat (limited to 'editors/abiword-plugins')
-rw-r--r-- | editors/abiword-plugins/Makefile | 37 | ||||
-rw-r--r-- | editors/abiword-plugins/pkg-plist | 2 |
2 files changed, 32 insertions, 7 deletions
diff --git a/editors/abiword-plugins/Makefile b/editors/abiword-plugins/Makefile index 84669bbb84c..614747c5e44 100644 --- a/editors/abiword-plugins/Makefile +++ b/editors/abiword-plugins/Makefile @@ -3,10 +3,11 @@ # Whom: FreeBSD GNOME Team <gnome@FreeBSD.org> # # $FreeBSD$ +# $MCom: ports/editors/abiword-plugins/Makefile,v 1.16 2005/10/29 22:31:16 marcus Exp $ # PORTNAME= abiword -PORTVERSION= 2.2.8 +PORTVERSION= 2.4.1 CATEGORIES= editors MASTER_SITES= http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/ MASTER_SITE_SUBDIR= abiword @@ -16,8 +17,8 @@ DIST_SUBDIR= AbiWord MAINTAINER= gnome@FreeBSD.org COMMENT= Multi-plugins for AbiWord -BUILD_DEPENDS= abiword:${PORTSDIR}/editors/abiword -RUN_DEPENDS= abiword:${PORTSDIR}/editors/abiword +BUILD_DEPENDS= AbiWord-${ABIVERSION}:${PORTSDIR}/editors/abiword +RUN_DEPENDS= AbiWord-${ABIVERSION}:${PORTSDIR}/editors/abiword USE_BZIP2= yes USE_GMAKE= yes @@ -34,12 +35,12 @@ MAKEFILE= GNUmakefile WRKSRC= ${WRKDIR}/abiword-${PORTVERSION}/abiword-plugins MD5_FILE= ${.CURDIR}/../abiword/distinfo -ABIVERSION= 2.2 +ABIVERSION= 2.4 PLIST_SUB+= ABIVERSION=${ABIVERSION} -EXCLUDE_EXTRACT= MSVC6 MSVC71 abidistfiles abipbx abiword-docs expat \ - fribidi libiconv libpng pbx popt wv zlib -EXTRACT_AFTER_ARGS= | ${TAR} -xf - ${EXCLUDE_EXTRACT:S/^/--exclude /} +EXTERNALS= MSVC* abipbx abiword-docs expat fribidi libiconv libpng pbx \ + popt wv zlib +EXTRACT_AFTER_ARGS=| ${TAR} -xpf - ${EXTERNALS:C,^,--exclude ${DISTNAME}/,} # NOTE: Please, keep those knobs in the ABC's order. @@ -130,6 +131,14 @@ PLIST_SUB+= GOOGLE:="" PLIST_SUB+= GOOGLE:="@comment " .endif +.if defined(WITH_GRAMMAR) || defined(PACKAGE_BUILDING) +LIB_DEPENDS+= link-grammar.5:${PORTSDIR}/textproc/link-grammar +CONFIGURE_ARGS+= --enable-abigrammar +PLIST_SUB+= GRAMMAR:="" +.else +PLIST_SUB+= GRAMMAR:="@comment " +.endif + .if defined(WITH_HANCOM) # Need to be tested CONFIGURE_ARGS+= --enable-hancom PLIST_SUB+= HANCOM:="" @@ -172,6 +181,14 @@ PLIST_SUB+= NROFF:="" PLIST_SUB+= NROFF:="@comment " .endif +.if defined(WITH_OPENDOCUMENT) || defined(PACKAGE_BUILDING) +USE_GNOME+= libgsf +CONFIGURE_ARGS+= --enable-OpenDocument +PLIST_SUB+= OPENDOCUMENT:="" +.else +PLIST_SUB+= OPENDOCUMENT:="@comment " +.endif + .if defined(WITH_OPENWRITER) || defined(PACKAGE_BUILDING) USE_GNOME+= libgsf CONFIGURE_ARGS+= --enable-OpenWriter @@ -288,6 +305,9 @@ pre-everything:: .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 @@ -303,6 +323,9 @@ pre-everything:: .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 diff --git a/editors/abiword-plugins/pkg-plist b/editors/abiword-plugins/pkg-plist index bc60765b56c..af019200e18 100644 --- a/editors/abiword-plugins/pkg-plist +++ b/editors/abiword-plugins/pkg-plist @@ -10,12 +10,14 @@ %%FREETRANSLATION:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiFreeTranslation.so %%GDICT:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiGdict.so %%GOOGLE:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiGoogle.so +%%GRAMMAR:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiGrammar.so %%HRTEXT:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiHRText.so %%HANCOM:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiHancom.so %%JPEG:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiJPEG.so %%LATEX:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiLaTeX.so %%MSWRITE:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiMSWrite.so %%NROFF:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiNroff.so +%%OPENDOCUMENT:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiOpenDocument.so %%OPENWRITER:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiOpenWriter.so %%PDB:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiPalmDoc.so %%PSION:%%lib/AbiWord-%%ABIVERSION%%/plugins/libAbiPsion.so |