Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 12:42:16 +0800 (CST)
From:      Gasol Wu <gasol.wu@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186938: [NEW PORT] net/pecl-apn: Extension to interact with Apple Push Notification Service
Message-ID:  <20140221044216.969A47509C2@goingmarry.kkbox.com>
Resent-Message-ID: <201402210450.s1L4o0k8046681@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186938
>Category:       ports
>Synopsis:       [NEW PORT] net/pecl-apn: Extension to interact with Apple Push Notification Service
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 21 04:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC
>Description:
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

Depends on ports/186936

Generated with FreeBSD Port Tools 0.99_11 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pecl-apn
#	pecl-apn/Makefile
#	pecl-apn/pkg-descr
#	pecl-apn/distinfo
#	pecl-apn/files
#	pecl-apn/files/patch-config.m4
#
echo c - pecl-apn
mkdir -p pecl-apn > /dev/null 2>&1
echo x - pecl-apn/Makefile
sed 's/^X//' >pecl-apn/Makefile << '7c290f292117e56377a334c42d770fe3'
X# Created by: Gasol Wu <gasol.wu@gmail.com>
X# $FreeBSD$
X
XPORTNAME=	apn
XPORTVERSION=	1.0.3
XCATEGORIES=	net pear
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	gasol.wu@gmail.com
XCOMMENT=	Extension to interact with Apple Push Notification Service
X
XLICENSE=	PHP301
X
XLIB_DEPENDS=	libcapn.so:${PORTSDIR}/net/libcapn
X
XUSE_PHP=	yes
XUSE_PHPIZE=	yes
XUSE_PHPEXT=	yes
XCONFIGURE_ARGS+=	--with-apn=${LOCALBASE}
X
X.include <bsd.port.mk>
7c290f292117e56377a334c42d770fe3
echo x - pecl-apn/pkg-descr
sed 's/^X//' >pecl-apn/pkg-descr << '09a3f556d32af92eeea8de084491a977'
Xapn is a PHP extension to introduce simple yet powerful interface for sending
Xpush notifications to iOS and OS X devices from within your PHP code.
X
XWWW: http://libcapn.org/php-apn
09a3f556d32af92eeea8de084491a977
echo x - pecl-apn/distinfo
sed 's/^X//' >pecl-apn/distinfo << '970253e058971cc07995cca9dfb631f2'
XSHA256 (PECL/apn-1.0.3.tgz) = 1d554f1a79dbc86212e0abd97b380ae9ee66e073969deb522941bc7866a3c3ca
XSIZE (PECL/apn-1.0.3.tgz) = 14406
970253e058971cc07995cca9dfb631f2
echo c - pecl-apn/files
mkdir -p pecl-apn/files > /dev/null 2>&1
echo x - pecl-apn/files/patch-config.m4
sed 's/^X//' >pecl-apn/files/patch-config.m4 << '36a58cd5ac215194683334e11684523c'
X--- ./config.m4.orig	2014-02-20 16:43:19.000000000 +0800
X+++ ./config.m4	2014-02-21 09:06:40.000000000 +0800
X@@ -37,16 +37,16 @@
X       AC_MSG_ERROR([libcapn is not found. Please visit to http://www.libcapn.org/php-apn for more information])
X     fi
X 
X-    APN_INCDIR=$APN_DIR/include/capn
X+    APN_INCDIR=$APN_DIR/include
X 
X     SEARCH_LIBS_PATH="/usr/local/lib /usr/lib /usr/lib64 /usr/local/lib64"
X     SEARCH_LIB_FILE=libcapn.$SHLIB_SUFFIX_NAME
X-    if test -r $PHP_APN/capn/$SEARCH_LIB_FILE; then
X+    if test -r $PHP_APN/$SEARCH_LIB_FILE; then
X         APN_LIBDIR=$PHP_APN
X     else
X       AC_MSG_CHECKING([for $SEARCH_LIB_FILE in default path])
X       for i in $SEARCH_LIBS_PATH; do
X-        if test -r $i/capn/$SEARCH_LIB_FILE; then
X+        if test -r $i/$SEARCH_LIB_FILE; then
X            APN_LIBDIR=$i
X            AC_MSG_RESULT(found in $i)
X            break
X@@ -59,7 +59,7 @@
X       AC_MSG_ERROR([libcapn is not found. Please visit to http://www.libcapn.org/php-apn for more information])
X     fi
X 
X-    APN_LIBDIR=$APN_LIBDIR/capn
X+    APN_LIBDIR=$APN_LIBDIR
X 
X     PHP_ADD_INCLUDE($APN_INCDIR)
X     PHP_ADD_LIBRARY_WITH_PATH(capn, $APN_LIBDIR, APN_SHARED_LIBADD)
36a58cd5ac215194683334e11684523c
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140221044216.969A47509C2>