1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

{a,h,i}spell libs are only installed if you build enchant with support for them.

So, conditionalize their registration within pkg-plist.

Hurrrrrr... I should have caught that earlier...
This commit is contained in:
Adam Weinberger 2004-01-17 22:40:59 +00:00
parent 3e5f9c8003
commit aac5a28ba8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98426
2 changed files with 19 additions and 9 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= enchant
PORTVERSION= 1.1.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= abiword
@ -16,8 +16,6 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dictionary/spellchecking framework
LIB_DEPENDS= aspell.15:${PORTSDIR}/textproc/aspell
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@ -43,14 +41,23 @@ WITH_HSPELL= yes
.if defined(WITH_ASPELL)
LIB_DEPENDS+= pspell.15:${PORTSDIR}/textproc/aspell
PLIST_SUB+= ASPELL=""
.else
PLIST_SUB+= ASPELL="@comment "
.endif
.if defined(WITH_ISPELL)
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
PLIST_SUB+= ISPELL=""
.else
PLIST_SUB+= ISPELL="@comment "
.endif
.if defined(WITH_HSPELL)
BUILD_DEPENDS+= hspell:${PORTSDIR}/hebrew/hspell
PLIST_SUB+= HSPELL=""
.else
PLIST_SUB+= HSPELL="@comment "
.endif
pre-everything::

View File

@ -3,12 +3,15 @@ bin/enchant-lsmod
include/enchant/enchant++.h
include/enchant/enchant-provider.h
include/enchant/enchant.h
lib/enchant/libenchant_aspell.a
lib/enchant/libenchant_aspell.so
lib/enchant/libenchant_aspell.so.2
lib/enchant/libenchant_ispell.a
lib/enchant/libenchant_ispell.so
lib/enchant/libenchant_ispell.so.2
%%ASPELL%%lib/enchant/libenchant_aspell.a
%%ASPELL%%lib/enchant/libenchant_aspell.so
%%ASPELL%%lib/enchant/libenchant_aspell.so.2
%%HSPELL%%lib/enchant/libenchant_hspell.a
%%HSPELL%%lib/enchant/libenchant_hspell.so
%%HSPELL%%lib/enchant/libenchant_hspell.so.2
%%ISPELL%%lib/enchant/libenchant_ispell.a
%%ISPELL%%lib/enchant/libenchant_ispell.so
%%ISPELL%%lib/enchant/libenchant_ispell.so.2
lib/enchant/libenchant_myspell.a
lib/enchant/libenchant_myspell.so
lib/enchant/libenchant_myspell.so.2