| @@ -1,24 +1,15 @@ | | | @@ -1,24 +1,15 @@ |
1 | # $NetBSD: Makefile,v 1.7 2012/06/16 03:02:09 taca Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2012/06/18 15:16:16 taca Exp $ |
2 | | | 2 | |
3 | MODNAME= enchant | | 3 | MODNAME= enchant |
4 | CATEGORIES+= textproc | | 4 | CATEGORIES+= textproc |
5 | COMMENT= PHP extension for ENCHANT (spelling) support | | 5 | COMMENT= PHP extension for ENCHANT (spelling) support |
6 | | | 6 | |
7 | PKG_DESTDIR_SUPPORT= user-destdir | | 7 | PKG_DESTDIR_SUPPORT= user-destdir |
8 | | | 8 | |
9 | CONFIGURE_ARGS+= --with-enchant=shared,${BUILDLINK_PREFIX.enchant} | | 9 | CONFIGURE_ARGS+= --with-enchant=shared,${BUILDLINK_PREFIX.enchant} |
10 | | | 10 | |
11 | BUILDLINK_API_DEPENDS.enchant+= enchant>=1.2.4 | | 11 | BUILDLINK_API_DEPENDS.enchant+= enchant>=1.2.4 |
12 | | | 12 | |
13 | .include "../../lang/php/phpversion.mk" | | | |
14 | | | | |
15 | # PHP 5.2.x needs pecl version | | | |
16 | .if ${PKG_PHP_VERSION} == 52 | | | |
17 | PECL_VERSION= 1.1.0 | | | |
18 | PKGREVISION= 3 | | | |
19 | PECL_LEGACY_VERSION_SCHEME= yes | | | |
20 | .endif | | | |
21 | | | | |
22 | .include "../../lang/php/ext.mk" | | 13 | .include "../../lang/php/ext.mk" |
23 | .include "../../textproc/enchant/buildlink3.mk" | | 14 | .include "../../textproc/enchant/buildlink3.mk" |
24 | .include "../../mk/bsd.pkg.mk" | | 15 | .include "../../mk/bsd.pkg.mk" |