From owner-svn-ports-head@FreeBSD.ORG Sun Feb 23 15:22:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69D61CAE; Sun, 23 Feb 2014 15:22:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 53B651638; Sun, 23 Feb 2014 15:22:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1NFM0Fr091631; Sun, 23 Feb 2014 15:22:00 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1NFLx5A091576; Sun, 23 Feb 2014 15:21:59 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201402231521.s1NFLx5A091576@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 23 Feb 2014 15:21:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345736 - in head/net: . pecl-apn pecl-apn/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 15:22:00 -0000 Author: sunpoet Date: Sun Feb 23 15:21:58 2014 New Revision: 345736 URL: http://svnweb.freebsd.org/changeset/ports/345736 QAT: https://qat.redports.org/buildarchive/r345736/ Log: - Add pecl-apn 1.0.3 - While I'm here, add IGNORE_WITH_PHP apn is a PHP extension to introduce simple yet powerful interface for sending push notifications to iOS and OS X devices from within your PHP code. WWW: http://libcapn.org/php-apn/ PR: ports/186938 Submitted by: Gasol Wu Added: head/net/pecl-apn/ head/net/pecl-apn/Makefile (contents, props changed) head/net/pecl-apn/distinfo (contents, props changed) head/net/pecl-apn/files/ head/net/pecl-apn/files/patch-config.m4 (contents, props changed) head/net/pecl-apn/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sun Feb 23 15:21:17 2014 (r345735) +++ head/net/Makefile Sun Feb 23 15:21:58 2014 (r345736) @@ -855,6 +855,7 @@ SUBDIR += pear-XML_RPC SUBDIR += pear-XML_RPC2 SUBDIR += pecl-amqp + SUBDIR += pecl-apn SUBDIR += pecl-cvsclient SUBDIR += pecl-geoip SUBDIR += pecl-gupnp Added: head/net/pecl-apn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/pecl-apn/Makefile Sun Feb 23 15:21:58 2014 (r345736) @@ -0,0 +1,25 @@ +# Created by: Gasol Wu +# $FreeBSD$ + +PORTNAME= apn +PORTVERSION= 1.0.3 +CATEGORIES= net pear +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PECL + +MAINTAINER= gasol.wu@gmail.com +COMMENT= Extension to interact with Apple Push Notification Service + +LICENSE= PHP301 + +LIB_DEPENDS= libcapn.so:${PORTSDIR}/net/libcapn + +USE_PHP= yes +USE_PHPIZE= yes +USE_PHPEXT= yes +CONFIGURE_ARGS= --with-apn=${LOCALBASE} +IGNORE_WITH_PHP=52 + +.include Added: head/net/pecl-apn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/pecl-apn/distinfo Sun Feb 23 15:21:58 2014 (r345736) @@ -0,0 +1,2 @@ +SHA256 (PECL/apn-1.0.3.tgz) = 1d554f1a79dbc86212e0abd97b380ae9ee66e073969deb522941bc7866a3c3ca +SIZE (PECL/apn-1.0.3.tgz) = 14406 Added: head/net/pecl-apn/files/patch-config.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/pecl-apn/files/patch-config.m4 Sun Feb 23 15:21:58 2014 (r345736) @@ -0,0 +1,31 @@ +--- ./config.m4.orig 2014-02-20 16:43:19.000000000 +0800 ++++ ./config.m4 2014-02-21 09:06:40.000000000 +0800 +@@ -37,16 +37,16 @@ + AC_MSG_ERROR([libcapn is not found. Please visit to http://www.libcapn.org/php-apn for more information]) + fi + +- APN_INCDIR=$APN_DIR/include/capn ++ APN_INCDIR=$APN_DIR/include + + SEARCH_LIBS_PATH="/usr/local/lib /usr/lib /usr/lib64 /usr/local/lib64" + SEARCH_LIB_FILE=libcapn.$SHLIB_SUFFIX_NAME +- if test -r $PHP_APN/capn/$SEARCH_LIB_FILE; then ++ if test -r $PHP_APN/$SEARCH_LIB_FILE; then + APN_LIBDIR=$PHP_APN + else + AC_MSG_CHECKING([for $SEARCH_LIB_FILE in default path]) + for i in $SEARCH_LIBS_PATH; do +- if test -r $i/capn/$SEARCH_LIB_FILE; then ++ if test -r $i/$SEARCH_LIB_FILE; then + APN_LIBDIR=$i + AC_MSG_RESULT(found in $i) + break +@@ -59,7 +59,7 @@ + AC_MSG_ERROR([libcapn is not found. Please visit to http://www.libcapn.org/php-apn for more information]) + fi + +- APN_LIBDIR=$APN_LIBDIR/capn ++ APN_LIBDIR=$APN_LIBDIR + + PHP_ADD_INCLUDE($APN_INCDIR) + PHP_ADD_LIBRARY_WITH_PATH(capn, $APN_LIBDIR, APN_SHARED_LIBADD) Added: head/net/pecl-apn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/pecl-apn/pkg-descr Sun Feb 23 15:21:58 2014 (r345736) @@ -0,0 +1,4 @@ +apn is a PHP extension to introduce simple yet powerful interface for sending +push notifications to iOS and OS X devices from within your PHP code. + +WWW: http://libcapn.org/php-apn/