svn commit: r420657 - in head: Mk/Uses lang/php55 lang/php55-extensions lang/php56 lang/php56-extensions lang/php70 lang/php70-extensions textproc textproc/php55-enchant textproc/php56-enchant text...

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Aug 23 10:54:52 UTC 2016


Author: amdmi3
Date: Tue Aug 23 10:54:49 2016
New Revision: 420657
URL: https://svnweb.freebsd.org/changeset/ports/420657

Log:
  - Add enchant php55/php56/php70 extension
  
  PR:		208828
  Submitted by:	daniel at blodan.se
  Approved by:	maintainer timeout (ale, 4 months)

Added:
  head/textproc/php55-enchant/
  head/textproc/php55-enchant/Makefile   (contents, props changed)
  head/textproc/php56-enchant/
  head/textproc/php56-enchant/Makefile   (contents, props changed)
  head/textproc/php70-enchant/
  head/textproc/php70-enchant/Makefile   (contents, props changed)
Modified:
  head/Mk/Uses/php.mk
  head/lang/php55-extensions/Makefile
  head/lang/php55/Makefile.ext
  head/lang/php56-extensions/Makefile
  head/lang/php56/Makefile.ext
  head/lang/php70-extensions/Makefile
  head/lang/php70/Makefile.ext
  head/textproc/Makefile

Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/Mk/Uses/php.mk	Tue Aug 23 10:54:49 2016	(r420657)
@@ -289,7 +289,7 @@ add-plist-phpext:
 .  if defined(USE_PHP) && ${USE_PHP:tl} != "yes"
 # non-version specific components
 _USE_PHP_ALL=	bcmath bitset bz2 calendar ctype curl dba dom \
-		exif fileinfo filter ftp gd gettext gmp \
+		enchant exif fileinfo filter ftp gd gettext gmp \
 		hash iconv igbinary imap interbase intl json ldap mbstring mcrypt \
 		memcache mysqli odbc opcache \
 		openssl pcntl pcre pdf pdo pdo_dblib pdo_firebird pdo_mysql \
@@ -315,6 +315,7 @@ curl_DEPENDS=	ftp/php${PHP_VER}-curl
 dba_DEPENDS=	databases/php${PHP_VER}-dba
 dbase_DEPENDS=	databases/php${PHP_VER}-dbase
 dom_DEPENDS=	textproc/php${PHP_VER}-dom
+enchant_DEPENDS=	textproc/php${PHP_VER}-enchant
 exif_DEPENDS=	graphics/php${PHP_VER}-exif
 fileinfo_DEPENDS=	sysutils/php${PHP_VER}-fileinfo
 filter_DEPENDS=	security/php${PHP_VER}-filter

Modified: head/lang/php55-extensions/Makefile
==============================================================================
--- head/lang/php55-extensions/Makefile	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/lang/php55-extensions/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -14,7 +14,7 @@ PHP_VER=	55
 IGNORE_WITH_PHP=56 70
 
 OPTIONS_DEFINE=	BCMATH BZ2 CALENDAR CTYPE CURL DBA \
-		DOM EXIF FILEINFO FILTER FTP GD GETTEXT \
+		DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \
 		GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \
 		MSSQL MYSQL MYSQLI \
 		ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \
@@ -31,6 +31,7 @@ CTYPE_DESC=		ctype functions
 CURL_DESC=		CURL support
 DBA_DESC=		dba support
 DOM_DESC=		DOM support
+ENCHANT_DESC=		Enchant spelling support
 EXIF_DESC=		EXIF support
 FILEINFO_DESC=		fileinfo support
 FILTER_DESC=		input filter support

Modified: head/lang/php55/Makefile.ext
==============================================================================
--- head/lang/php55/Makefile.ext	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/lang/php55/Makefile.ext	Tue Aug 23 10:54:49 2016	(r420657)
@@ -60,6 +60,11 @@ CONFIGURE_ARGS+=--enable-dom \
 USE_GNOME=	libxml2
 .endif
 
+.if ${PHP_MODNAME} == "enchant"
+LIB_DEPENDS+=   libenchant.so:textproc/enchant
+CONFIGURE_ARGS+=--with-enchant=${LOCALBASE}
+.endif
+
 .if ${PHP_MODNAME} == "exif"
 CONFIGURE_ARGS+=--enable-exif
 .endif

Modified: head/lang/php56-extensions/Makefile
==============================================================================
--- head/lang/php56-extensions/Makefile	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/lang/php56-extensions/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -14,7 +14,7 @@ PHP_VER=	56
 IGNORE_WITH_PHP=	55 70
 
 OPTIONS_DEFINE=	BCMATH BZ2 CALENDAR CTYPE CURL DBA \
-		DOM EXIF FILEINFO FILTER FTP GD GETTEXT \
+		DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \
 		GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \
 		MSSQL MYSQL MYSQLI \
 		ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \
@@ -31,6 +31,7 @@ CTYPE_DESC=		ctype functions
 CURL_DESC=		CURL support
 DBA_DESC=		dba support
 DOM_DESC=		DOM support
+ENCHANT_DESC=		Enchant spelling support
 EXIF_DESC=		EXIF support
 FILEINFO_DESC=		fileinfo support
 FILTER_DESC=		input filter support

Modified: head/lang/php56/Makefile.ext
==============================================================================
--- head/lang/php56/Makefile.ext	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/lang/php56/Makefile.ext	Tue Aug 23 10:54:49 2016	(r420657)
@@ -60,6 +60,11 @@ CONFIGURE_ARGS+=--enable-dom \
 USE_GNOME=	libxml2
 .endif
 
+.if ${PHP_MODNAME} == "enchant"
+LIB_DEPENDS+=   libenchant.so:textproc/enchant
+CONFIGURE_ARGS+=--with-enchant=${LOCALBASE}
+.endif
+
 .if ${PHP_MODNAME} == "exif"
 CONFIGURE_ARGS+=--enable-exif
 .endif

Modified: head/lang/php70-extensions/Makefile
==============================================================================
--- head/lang/php70-extensions/Makefile	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/lang/php70-extensions/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -14,7 +14,7 @@ PHP_VER=	70
 IGNORE_WITH_PHP=	55 56
 
 OPTIONS_DEFINE=	BCMATH BZ2 CALENDAR CTYPE CURL DBA \
-		DOM EXIF FILEINFO FILTER FTP GD GETTEXT \
+		DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \
 		GMP HASH ICONV INTL IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \
 		MYSQLI \
 		ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \
@@ -31,6 +31,7 @@ CTYPE_DESC=		ctype functions
 CURL_DESC=		CURL support
 DBA_DESC=		dba support
 DOM_DESC=		DOM support
+ENCHANT_DESC=		Enchant spelling support
 EXIF_DESC=		EXIF support
 FILEINFO_DESC=		fileinfo support
 FILTER_DESC=		input filter support

Modified: head/lang/php70/Makefile.ext
==============================================================================
--- head/lang/php70/Makefile.ext	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/lang/php70/Makefile.ext	Tue Aug 23 10:54:49 2016	(r420657)
@@ -60,6 +60,11 @@ CONFIGURE_ARGS+=--enable-dom \
 USE_GNOME=	libxml2
 .endif
 
+.if ${PHP_MODNAME} == "enchant"
+LIB_DEPENDS+=   libenchant.so:textproc/enchant
+CONFIGURE_ARGS+=--with-enchant=${LOCALBASE}
+.endif
+
 .if ${PHP_MODNAME} == "exif"
 CONFIGURE_ARGS+=--enable-exif
 .endif

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Aug 23 10:23:45 2016	(r420656)
+++ head/textproc/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -1169,6 +1169,7 @@
     SUBDIR += php-mecab
     SUBDIR += php55-ctype
     SUBDIR += php55-dom
+    SUBDIR += php55-enchant
     SUBDIR += php55-pspell
     SUBDIR += php55-simplexml
     SUBDIR += php55-wddx
@@ -1178,6 +1179,7 @@
     SUBDIR += php55-xsl
     SUBDIR += php56-ctype
     SUBDIR += php56-dom
+    SUBDIR += php56-enchant
     SUBDIR += php56-pspell
     SUBDIR += php56-simplexml
     SUBDIR += php56-wddx
@@ -1187,6 +1189,7 @@
     SUBDIR += php56-xsl
     SUBDIR += php70-ctype
     SUBDIR += php70-dom
+    SUBDIR += php70-enchant
     SUBDIR += php70-pspell
     SUBDIR += php70-simplexml
     SUBDIR += php70-wddx

Added: head/textproc/php55-enchant/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/php55-enchant/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+CATEGORIES=	textproc
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-enchant
+
+.include "${MASTERDIR}/Makefile"

Added: head/textproc/php56-enchant/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/php56-enchant/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+CATEGORIES=	textproc
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-enchant
+
+.include "${MASTERDIR}/Makefile"

Added: head/textproc/php70-enchant/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/php70-enchant/Makefile	Tue Aug 23 10:54:49 2016	(r420657)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+CATEGORIES=	textproc
+
+MASTERDIR=	${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX=	-enchant
+
+.include "${MASTERDIR}/Makefile"


More information about the svn-ports-head mailing list