diff --git a/www/php4/extensions/Makefile b/www/php4/extensions/Makefile index f5eacce96a9..c9f33363707 100644 --- a/www/php4/extensions/Makefile +++ b/www/php4/extensions/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2003/05/10 14:42:49 avsm Exp $ +# $OpenBSD: Makefile,v 1.23 2003/07/21 20:34:52 avsm Exp $ FULLPKGNAME= php4-extensions-${V} COMMENT= "informational package about PHP4 extensions" @@ -252,16 +252,16 @@ SNMP_DEPENDS= snmp.42::net/ucd-snmp .endif # pspell -#PSEUDO_FLAVORS+= no_pspell -#.if ${FLAVOR:L:Mno_pspell} -#CONFIGURE_ARGS+= --without-pspell -#.else -#MULTI_PACKAGES+= -pspell -#COMMENT-pspell= "spell checking extensions for php4" -#CONFIGURE_ARGS+= --with-pspell=shared,${LOCALBASE} -#LIB_DEPENDS+= pspell-modules::textproc/pspell \ -# aspell.11::textproc/aspell -#.endif +PSEUDO_FLAVORS+= no_pspell +.if ${FLAVOR:L:Mno_pspell} +CONFIGURE_ARGS+= --without-pspell +.else +MULTI_PACKAGES+= -pspell +COMMENT-pspell= "spell checking extensions for php4" +CONFIGURE_ARGS+= --with-pspell=shared,${LOCALBASE} +LIB_DEPENDS+= pspell-modules::textproc/pspell \ + aspell.11::textproc/aspell +.endif # sybase-ct PSEUDO_FLAVORS+= no_sybase_ct diff --git a/www/php4/extensions/pkg/DESCR-pspell b/www/php4/extensions/pkg/DESCR-pspell new file mode 100644 index 00000000000..7c19f2c24b0 --- /dev/null +++ b/www/php4/extensions/pkg/DESCR-pspell @@ -0,0 +1,4 @@ +This PHP extensions provides an interface to the aspell spell-checking +library, and can also offer suggestions for corrections. + +WWW: ${HOMEPAGE} diff --git a/www/php4/extensions/pkg/PLIST-pspell b/www/php4/extensions/pkg/PLIST-pspell new file mode 100644 index 00000000000..6d038092bab --- /dev/null +++ b/www/php4/extensions/pkg/PLIST-pspell @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST-pspell,v 1.1 2003/07/21 20:34:52 avsm Exp $ +lib/php/modules/pspell.so