1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

[repocopy] net//php5-rrdtool -> databases//php5-rrdtool

Follow the migration of net/rrdtool to databases/rrdtool

PR:		ports/114317
Submitted by:	Edwin Groothuis <edwin@freebsd.org>
Approved by:	Rick van der Zwet <rick@wzoeterwoude.net>
This commit is contained in:
Edwin Groothuis 2007-07-08 01:06:45 +00:00
parent 230687353d
commit fbfe255218
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195197
8 changed files with 3 additions and 94 deletions

1
MOVED
View File

@ -3097,3 +3097,4 @@ sysutils/cd-write||2007-07-06|Obsolete port
net/rubygems-rrdtool|databases/rubygems-rrdtool|2007-07-08|Chase move of databases/rrdtool
net/rrdman|databases/rrdman|2007-07-08|Chase move of databases/rrdtool
net/py-rrdpipe|databases/py-rrdpipe|2007-07-08|Chase move of databases/rrdtool
net/php5-rrdtool|databases/php5-rrdtool|2007-07-08|Chase move of databases/rrdtool

View File

@ -373,6 +373,7 @@
SUBDIR += php5-pdo_sqlite
SUBDIR += php5-pgsql
SUBDIR += php5-propel
SUBDIR += php5-rrdtool
SUBDIR += php5-sqlite
SUBDIR += php5-sybase_ct
SUBDIR += phpminiadmin

View File

@ -7,7 +7,7 @@
PORTNAME= rrdtool
PORTVERSION= 1.00
CATEGORIES= net
CATEGORIES= databases
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/contrib/ \
http://ftp.ntua.gr/pub/net/monitoring/rrdtool/contrib/ \
http://www.mirrors.wiretapped.net/security/network-monitoring/rrdtool/contrib/

View File

@ -632,7 +632,6 @@
SUBDIR += php4-xmlrpc
SUBDIR += php4-yp
SUBDIR += php5-ldap
SUBDIR += php5-rrdtool
SUBDIR += php5-soap
SUBDIR += php5-sockets
SUBDIR += php5-xmlrpc

View File

@ -1,29 +0,0 @@
# New ports collection makefile for: php5-rrdtool
# Date created: 19 Mar 2006
# Whom: rick@wzoeterwoude.net
# Credits: mat
#
# $FreeBSD$
PORTNAME= rrdtool
PORTVERSION= 1.00
CATEGORIES= net
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/contrib/ \
http://ftp.ntua.gr/pub/net/monitoring/rrdtool/contrib/ \
http://www.mirrors.wiretapped.net/security/network-monitoring/rrdtool/contrib/
PKGNAMEPREFIX= php5-
DISTNAME= php_rrdtool
EXTRACT_SUFX= .tgz
MAINTAINER= rick@wzoeterwoude.net
COMMENT= A php 5 rrdtool glue
LIB_DEPENDS= rrd:${PORTSDIR}/databases/rrdtool
WRKSRC= ${WRKDIR}/rrdtool
USE_PHP= yes
DEFAULT_PHP_VER=5
USE_PHPEXT= yes
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (php_rrdtool.tgz) = c86a45cfc54517b9066c480bbc589d43
SHA256 (php_rrdtool.tgz) = 922719f2dd8772512339e82856ed4f102b493ef5d34d6cb389eded57c0a1bce4
SIZE (php_rrdtool.tgz) = 9353

View File

@ -1,55 +0,0 @@
--- config.m4.orig Wed Nov 30 19:44:51 2005
+++ config.m4 Sun Mar 19 20:48:34 2006
@@ -13,7 +13,7 @@
[ --with-rrdtool[=DIR] Include rrdtool support (requires rrdtool >= 1.0.49).])
if test "$PHP_RRDTOOL" != "no"; then
-
+ PHP_NEW_EXTENSION(rrdtool, rrdtool.c, $ext_shared)
if test "$PHP_RRDTOOL" != "yes"; then
AC_MSG_CHECKING(if rrdtool specified path is valid)
if test -r $PHP_RRDTOOL/include/rrd.h && test -f $PHP_RRDTOOL/lib/librrd.$SHLIB_SUFFIX_NAME -o -f $PHP_RRDTOOL/lib/librrd.a; then # path given as parameter
@@ -51,7 +51,14 @@
fi
fi
-dnl Finish the setup
+
+ dnl PHP Libaries include
+ AC_DEFINE(HAVE_RRDTOOL,1,[ ])
+ PHP_SUBST(RRDTOOL_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(rrd, $RRDTOOL_LIBDIR, RRDTOOL_SHARED_LIBADD)
+ PHP_ADD_INCLUDE($RRDTOOL_INCDIR)
+
+ dnl Finish the setup
RRD_H_PATH="$RRDTOOL_INCDIR/rrd.h"
PHP_RRDTOOL_DIR=$RRDTOOL_DIR
@@ -59,14 +66,9 @@
PHP_CHECK_LIBRARY(rrd, rrd_create,
[],[
- PHP_CHECK_LIBRARY(rrd, rrd_create,
- [],[
- AC_MSG_ERROR([wrong rrd lib version or lib not found])
- ],[
- -L$RRDTOOL_LIBDIR -ldl
- ])
+ AC_MSG_ERROR([wrong rrd lib version or lib not found])
],[
- -L$RRDTOOL_LIBDIR -ldl
+ -L$RRDTOOL_LIBDIR
])
AC_MSG_CHECKING([rrdtool version])
@@ -87,10 +89,4 @@
if test "$ac_cv_rrdversion" = yes; then
AC_DEFINE(HAVE_RRD_12X, 1, [Whether you have rrd_verion])
fi
-
- PHP_ADD_LIBRARY_WITH_PATH(rrd, $RRDTOOL_LIBDIR, RRDTOOL_SHARED_LIBADD)
-
- PHP_NEW_EXTENSION(rrdtool, rrdtool.c, $ext_shared)
- PHP_SUBST(RRDTOOL_SHARED_LIBADD)
- AC_DEFINE(HAVE_RRDTOOL, 1, [ ])
fi

View File

@ -1,5 +0,0 @@
Contained herein are bindings to allow you to interface php scripts with RRD
tool directly via RRD tool's 'librrd' library, thus avoiding the need to use
system() calls to the rrdtool binary.
WWW: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/contrib/php_rrdtool.txt