diff options
author | mezz <mezz@FreeBSD.org> | 2005-05-22 08:27:39 +0000 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2005-05-22 08:27:39 +0000 |
commit | 9962d7156b7d56c8563fc334b64db97766934a7f (patch) | |
tree | e2d825a0249d99f206275560bc791e73de53094d | |
parent | 6057113cb53aa33fb88b721462b5ceb0b416623b (diff) | |
download | FreeBSD-ports-9962d7156b7d56c8563fc334b64db97766934a7f.zip FreeBSD-ports-9962d7156b7d56c8563fc334b64db97766934a7f.tar.gz |
- Arrgh, correct two missing of abiword -> abiword-devel.
- My punishment is to add grammar checker plugins, a WITH_GRAMMAR knob. ;-) It
depends on textproc/link-grammar.
- Bump the PORTREVISION.
-rw-r--r-- | editors/abiword-plugins-devel/Makefile | 16 | ||||
-rw-r--r-- | editors/abiword-plugins-devel/pkg-plist | 1 |
2 files changed, 15 insertions, 2 deletions
diff --git a/editors/abiword-plugins-devel/Makefile b/editors/abiword-plugins-devel/Makefile index d6f01e3..5158812 100644 --- a/editors/abiword-plugins-devel/Makefile +++ b/editors/abiword-plugins-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= abiword PORTVERSION= 2.3.0 +PORTREVISION= 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-2.4:${PORTSDIR}/editors/abiword -RUN_DEPENDS= AbiWord-2.4:${PORTSDIR}/editors/abiword +BUILD_DEPENDS= AbiWord-2.4:${PORTSDIR}/editors/abiword-devel +RUN_DEPENDS= AbiWord-2.4:${PORTSDIR}/editors/abiword-devel USE_BZIP2= yes USE_GMAKE= yes @@ -126,6 +127,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:="" @@ -284,6 +293,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 diff --git a/editors/abiword-plugins-devel/pkg-plist b/editors/abiword-plugins-devel/pkg-plist index bc60765..8e87bda 100644 --- a/editors/abiword-plugins-devel/pkg-plist +++ b/editors/abiword-plugins-devel/pkg-plist @@ -10,6 +10,7 @@ %%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 |