Date: Tue, 04 Jan 2005 20:00:53 -0000 From: Antonio Carlos Venancio Junior <antonio@php.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75815: New port: net/pear-Net_UserAgent_Detect PEAR class that detects web browser, version and platform Message-ID: <202201052006.205K6HQe005148@digitalsign.com> Resent-Message-ID: <200501042000.j04K0lg8075501@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75815 >Category: ports >Synopsis: New port: net/pear-Net_UserAgent_Detect PEAR class that detects web browser, version and platform >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: Tue Jan 04 20:00:47 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Antônio Carlos Venâncio Júnior >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #7: Tue Jan 4 16:04:29 BRST 2005 root@antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO i386 >Description: New port: net/pear-Net_UserAgent_Detect PEAR class that detects web browser, version and platform The Net_UserAgent object does a number of tests on an HTTP user agent string. The results of these tests are available via methods of the object. This module is based upon the JavaScript browser detection code available at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html. This module had many influences from the lib/Browser.php code in version 1.3 of Horde. >How-To-Repeat: >Fix: # 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: # # pear-Net_UserAgent_Detect # pear-Net_UserAgent_Detect/Makefile # pear-Net_UserAgent_Detect/distinfo # pear-Net_UserAgent_Detect/pkg-descr # echo c - pear-Net_UserAgent_Detect mkdir -p pear-Net_UserAgent_Detect > /dev/null 2>&1 echo x - pear-Net_UserAgent_Detect/Makefile sed 's/^X//' >pear-Net_UserAgent_Detect/Makefile << 'END-of-pear-Net_UserAgent_Detect/Makefile' X# Ports collection makefile for: pear-Net_UserAgent_Detect X# Date created: 04 January 2005 X# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) X# X# $FreeBSD$ X# X XPORTNAME= Net_UserAgent_Detect XPORTVERSION= 2.0.1 XCATEGORIES= net pear X XMAINTAINER= antonio@php.net XCOMMENT= PEAR class that detects web browser, version and platform X XBUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_PHP= yes X XCATEGORY= Net/UserAgent XFILES= Detect.php X X.include <bsd.port.pre.mk> X XPHP_VERS= ${PHP_VERSION:S/.//g} X X.if defined(PHP_VERS) && ${PHP_VERS} < 410 XIGNORE= "You need PHP 4.1.0 or later to install PEAR::Net_UserAgent_Detect" X.endif X X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" X.include <bsd.port.post.mk> END-of-pear-Net_UserAgent_Detect/Makefile echo x - pear-Net_UserAgent_Detect/distinfo sed 's/^X//' >pear-Net_UserAgent_Detect/distinfo << 'END-of-pear-Net_UserAgent_Detect/distinfo' XMD5 (PEAR/Net_UserAgent_Detect-2.0.1.tgz) = b49c6a19b220d674db4355bdab3498e5 XSIZE (PEAR/Net_UserAgent_Detect-2.0.1.tgz) = 8230 END-of-pear-Net_UserAgent_Detect/distinfo echo x - pear-Net_UserAgent_Detect/pkg-descr sed 's/^X//' >pear-Net_UserAgent_Detect/pkg-descr << 'END-of-pear-Net_UserAgent_Detect/pkg-descr' XThe Net_UserAgent object does a number of tests on an HTTP user Xagent string. The results of these tests are available via methods of Xthe object. X XThis module is based upon the JavaScript browser detection code available Xat http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html. XThis module had many influences from the lib/Browser.php code in Xversion 1.3 of Horde. X XWWW: http://pear.php.net/package/Net_UserAgent_Detect/ END-of-pear-Net_UserAgent_Detect/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201052006.205K6HQe005148>