Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 02:47:00 +0300 (MSK)
From:      Alexander Zhuravlev <zaa@ulstu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93211: [new port] databases/pecl-paradox A PHP extension to read and write Paradox files
Message-ID:  <20060211234700.4E365B81E@wave.zaa.local>
Resent-Message-ID: <200602112350.k1BNo5W5019689@freefall.freebsd.org>

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

>Number:         93211
>Category:       ports
>Synopsis:       [new port] databases/pecl-paradox A PHP extension to read and write Paradox files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 11 23:50:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD wave.zaa.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #16: Wed Feb 8 14:34:14 MSK 2006 root@wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	Please apply the patch provided below.

	Thank you for your efforts ;-)


--- pecl-paradox.diff 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-paradox/
#	pecl-paradox/distinfo
#	pecl-paradox/Makefile
#	pecl-paradox/pkg-descr
#	pecl-paradox/files
#	pecl-paradox/files/patch-config.m4
#
echo c - pecl-paradox/
mkdir -p pecl-paradox/ > /dev/null 2>&1
echo x - pecl-paradox/distinfo
sed 's/^X//' >pecl-paradox/distinfo << 'END-of-pecl-paradox/distinfo'
XMD5 (PECL/paradox-1.4.0.tgz) = 6780ffc7863e7940e05e811b93d19e58
XSHA256 (PECL/paradox-1.4.0.tgz) = f46979446f3de4aa1f8047497bc731593e155f58ff3f44360e463ae06cad939a
XSIZE (PECL/paradox-1.4.0.tgz) = 18696
END-of-pecl-paradox/distinfo
echo x - pecl-paradox/Makefile
sed 's/^X//' >pecl-paradox/Makefile << 'END-of-pecl-paradox/Makefile'
X# Ports collection makefile for:  pecl-paradox
X# Date created:			  2006-02-11
X# Whom:				  Alexander Zhuravlev <zaa@zaa.pp.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	paradox
XDISTVERSION=	1.4.0
XCATEGORIES=	databases www
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	zaa@zaa.pp.ru
XCOMMENT=	An extension to read and write Paradox files
X
XLIB_DEPENDS=	px.6:${PORTSDIR}/databases/pxlib
X
XUSE_PHP=	yes
XUSE_PHPIZE=	yes
XUSE_PHPEXT=	yes
XDEFAULT_PHP_VER=5
XBROKEN_WITH_PHP=4
XPHP_MODNAME=	paradox
X
XCONFIGURE_ARGS+=	--with-paradox=${LOCALBASE}
XCONFIGURE_ENV=  CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
X
X.include <bsd.port.mk>
END-of-pecl-paradox/Makefile
echo x - pecl-paradox/pkg-descr
sed 's/^X//' >pecl-paradox/pkg-descr << 'END-of-pecl-paradox/pkg-descr'
XParadox is an extension to read and write Paradox .DB and .PX files.
XIt can handle almost all field types and binary large objects stored
Xin .MB files.
X
XWWW: http://pecl.php.net/package/paradox
END-of-pecl-paradox/pkg-descr
echo c - pecl-paradox/files
mkdir -p pecl-paradox/files > /dev/null 2>&1
echo x - pecl-paradox/files/patch-config.m4
sed 's/^X//' >pecl-paradox/files/patch-config.m4 << 'END-of-pecl-paradox/files/patch-config.m4'
X--- config.m4.orig	Thu Feb  9 20:26:37 2006
X+++ config.m4	Sat Feb 11 04:35:51 2006
X@@ -44,7 +44,7 @@ if test "$PHP_PARADOX" != "no"; then
X   ],[
X     AC_MSG_ERROR([wrong paradox lib version or lib not found. Need at least pxlib 0.6.0])
X   ],[
X-    -L$PARADOX_DIR/lib -lm -ldl
X+    -L$PARADOX_DIR/lib -lm -liconv -lintl
X   ])
X 
X   PHP_SUBST(PARADOX_SHARED_LIBADD)
END-of-pecl-paradox/files/patch-config.m4
exit
--- pecl-paradox.diff ends here ---


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



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