freebsd-ports/textproc/php-mecab/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

26 lines
490 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= mecab
PORTVERSION= 0.6.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= textproc
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= gasol.wu@gmail.com
COMMENT= PHP bindings of the MeCab
LICENSE= MIT
LIB_DEPENDS= libmecab.so:japanese/mecab
USE_GITHUB= yes
GH_ACCOUNT= rsky
GH_PROJECT= php-${PORTNAME}
WRKSRC_SUBDIR= mecab
CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config
USES= php:ext
.include <bsd.port.mk>