- 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.
This commit is contained in:
Jeremy Messenger 2005-05-22 08:27:39 +00:00
parent fe3cd0525f
commit 21a69e454b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135837
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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