aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rrdtool
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2010-04-27 06:47:08 +0800
committersylvio <sylvio@FreeBSD.org>2010-04-27 06:47:08 +0800
commitf09fd23b516b07d305a62cfddc7b816f61ad7e25 (patch)
treec51751b3685a7337411823f86e2578a47efffba0 /databases/rrdtool
parent2c9095e458ad2db88cbedd7ee49c92cd0fbf835e (diff)
downloadfreebsd-ports-gnome-f09fd23b516b07d305a62cfddc7b816f61ad7e25.tar.gz
freebsd-ports-gnome-f09fd23b516b07d305a62cfddc7b816f61ad7e25.tar.zst
freebsd-ports-gnome-f09fd23b516b07d305a62cfddc7b816f61ad7e25.zip
- Fix of 'make deinstall' when NOPORTEXAMPLES is defined [1]
- Update to 1.4.3 [2] PR: ports/144850 [1] ports/146052 [2] Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'databases/rrdtool')
-rw-r--r--databases/rrdtool/Makefile30
-rw-r--r--databases/rrdtool/distinfo6
-rw-r--r--databases/rrdtool/files/patch-bindings-Makefile.in11
-rw-r--r--databases/rrdtool/files/patch-doc-Makefile.in6
-rw-r--r--databases/rrdtool/files/patch-examples-Makefile.in6
-rw-r--r--databases/rrdtool/files/patch-src-rrd_open.c6
-rw-r--r--databases/rrdtool/pkg-plist11
7 files changed, 38 insertions, 38 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index 32316e424e31..a04f07b102be 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/rrdtool/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= rrdtool
-PORTVERSION= 1.4.2
-PORTREVISION= 1
+PORTVERSION= 1.4.3
CATEGORIES= databases graphics
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/
@@ -32,14 +31,14 @@ USE_GNOME= gnomehack intltool
CONFIGURE_ARGS= --disable-tcl
PORTDOCS= *
-PORTEXAMPLES= 4charts.pl bigtops.pl cgi-demo.cgi minmax.pl piped-demo.pl \
- perftest.pl shared-demo.pl stripes.pl
+PORTEXAMPLES= 4charts.pl bigtops.pl cgi-demo.cgi minmax.pl perftest.pl \
+ piped-demo.pl shared-demo.pl stripes.pl
-OPTIONS= PYTHON_MODULE "Build PYTHON bindings" off \
- RUBY_MODULE "Build RUBY bindings" off \
+OPTIONS= DEJAVU "Use DejaVu fonts (requires X11)" off \
+ MMAP "Use mmap in rrd_update" on \
PERL_MODULE "Build PERL module" on \
- DEJAVU "Use DejaVu fonts (requires X11)" off \
- MMAP "Use mmap in rrd_update" on
+ PYTHON_MODULE "Build PYTHON bindings" off \
+ RUBY_MODULE "Build RUBY bindings" off
.include <bsd.port.options.mk>
@@ -88,11 +87,12 @@ CFLAGS:= ${CFLAGS:N-ffast-math}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= bin_dec_hex.1 cdeftutorial.1 rpntutorial.1 rrd-beginners.1 \
- rrdbuild.1 rrdcached.1 rrdcgi.1 rrdcreate.1 rrddump.1 rrdfetch.1 rrdfirst.1 rrdflushcached.1 \
- rrdgraph.1 rrdgraph_data.1 rrdgraph_examples.1 rrdgraph_graph.1 \
- rrdgraph_rpn.1 rrdinfo.1 rrdlast.1 rrdresize.1 rrdrestore.1 \
- rrdthreads.1 rrdtool.1 rrdtune.1 rrdtutorial.1 rrdupdate.1 \
- rrdxport.1 rrdlastupdate.1
+ rrdbuild.1 rrdcached.1 rrdcgi.1 rrdcreate.1 rrddump.1 \
+ rrdfetch.1 rrdfirst.1 rrdflushcached.1 rrdgraph.1 \
+ rrdgraph_data.1 rrdgraph_examples.1 rrdgraph_graph.1 \
+ rrdgraph_rpn.1 rrdinfo.1 rrdlast.1 rrdlastupdate.1 \
+ rrdresize.1 rrdrestore.1 rrdthreads.1 rrdtool.1 rrdtune.1 \
+ rrdtutorial.1 rrdupdate.1 rrdxport.1
.if !defined(WITHOUT_PERL_MODULE)
MAN3= RRDp.3 RRDs.3
@@ -113,10 +113,10 @@ post-extract:
.endif
post-install:
-.if !defined(BATCH)
+.if !defined(BATCH) && !defined(NOPORTEXAMPLES)
@${ECHO_MSG} ""
@${ECHO_MSG} "############################################################################"
- @${ECHO_MSG} "# See ${PREFIX}/share/examples/rrdtool for some demonstration code #"
+ @${ECHO_MSG} "# See ${EXAMPLESDIR} for some demonstration code #"
@${ECHO_MSG} "############################################################################"
.endif
diff --git a/databases/rrdtool/distinfo b/databases/rrdtool/distinfo
index dc5f1116d5e3..898f167b0780 100644
--- a/databases/rrdtool/distinfo
+++ b/databases/rrdtool/distinfo
@@ -1,3 +1,3 @@
-MD5 (rrdtool-1.4.2.tar.gz) = 9318d3b4016dd9dd9897f1eac7548032
-SHA256 (rrdtool-1.4.2.tar.gz) = e55ebe13b16515a275185229a93ee1fc266010a9e3c6b05b229a1530695311cb
-SIZE (rrdtool-1.4.2.tar.gz) = 1355269
+MD5 (rrdtool-1.4.3.tar.gz) = 492cf946c72f85987238faa2c311b7bb
+SHA256 (rrdtool-1.4.3.tar.gz) = 1aecfba0cb255aef6ae27534825022b83996abec0b7b94576e3b9d061ddf6d73
+SIZE (rrdtool-1.4.3.tar.gz) = 1381821
diff --git a/databases/rrdtool/files/patch-bindings-Makefile.in b/databases/rrdtool/files/patch-bindings-Makefile.in
index daa1de9eb748..5f4563ab8feb 100644
--- a/databases/rrdtool/files/patch-bindings-Makefile.in
+++ b/databases/rrdtool/files/patch-bindings-Makefile.in
@@ -1,6 +1,6 @@
---- ./bindings/Makefile.in.orig 2009-12-01 23:10:30.000000000 +0000
-+++ ./bindings/Makefile.in 2009-12-01 23:14:10.000000000 +0000
-@@ -679,9 +679,9 @@
+--- bindings/Makefile.in.orig 2010-03-23 01:30:03.000000000 +0800
++++ bindings/Makefile.in 2010-04-26 03:43:31.000000000 +0800
+@@ -696,9 +696,9 @@
all-local: @COMP_PERL@ @COMP_RUBY@ @COMP_PYTHON@
install-data-local:
@@ -13,13 +13,12 @@
$(AM_V_GEN)test -d python/build && cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py install --skip-build --prefix=$(DESTDIR)$(prefix) --exec-prefix=$(DESTDIR)$(exec_prefix) || true
# rules for building the ruby module
-@@ -692,7 +692,8 @@
+@@ -709,7 +709,7 @@
# rules for building the pyton module
- python:
+ python: Makefile
- cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py build_ext --rpath=$(libdir) && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
+ cd python && env INCDIR=../../src BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py build_ext --rpath=$(libdir) && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
-+
# rules for building the perl module
perl_piped: perl-piped/Makefile
diff --git a/databases/rrdtool/files/patch-doc-Makefile.in b/databases/rrdtool/files/patch-doc-Makefile.in
index 4ad05f5a748e..8485cde01277 100644
--- a/databases/rrdtool/files/patch-doc-Makefile.in
+++ b/databases/rrdtool/files/patch-doc-Makefile.in
@@ -1,6 +1,6 @@
---- ./doc/Makefile.in.orig 2009-12-01 23:14:57.000000000 +0000
-+++ ./doc/Makefile.in 2009-12-01 23:18:22.000000000 +0000
-@@ -327,9 +327,9 @@
+--- doc/Makefile.in.orig 2010-04-26 03:40:16.000000000 +0800
++++ doc/Makefile.in 2010-04-26 03:44:14.000000000 +0800
+@@ -344,9 +344,9 @@
# what should go into the distribution
EXTRA_DIST = $(POD) $(POD3) $(HTML) $(MAN) $(MAN3) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd rrdgraph_libdbi.pod rrdlua.pod
diff --git a/databases/rrdtool/files/patch-examples-Makefile.in b/databases/rrdtool/files/patch-examples-Makefile.in
index fd6514a2c127..f8e70fc686f5 100644
--- a/databases/rrdtool/files/patch-examples-Makefile.in
+++ b/databases/rrdtool/files/patch-examples-Makefile.in
@@ -1,6 +1,6 @@
---- ./examples/Makefile.in.orig 2009-12-01 23:18:52.000000000 +0000
-+++ ./examples/Makefile.in 2009-12-01 23:19:10.000000000 +0000
-@@ -352,7 +352,7 @@
+--- examples/Makefile.in.orig 2010-03-23 01:30:04.000000000 +0800
++++ examples/Makefile.in 2010-04-26 03:45:47.000000000 +0800
+@@ -369,7 +369,7 @@
top_srcdir = @top_srcdir@
SUBDIRS = rrdcached
EXTRA_DIST = cgi-demo.cgi.in
diff --git a/databases/rrdtool/files/patch-src-rrd_open.c b/databases/rrdtool/files/patch-src-rrd_open.c
index 25ec5cd28ab8..330547004f6c 100644
--- a/databases/rrdtool/files/patch-src-rrd_open.c
+++ b/databases/rrdtool/files/patch-src-rrd_open.c
@@ -1,6 +1,6 @@
---- ./src/rrd_open.c.orig 2009-12-01 23:21:20.000000000 +0000
-+++ ./src/rrd_open.c 2009-12-01 23:22:41.000000000 +0000
-@@ -552,9 +552,6 @@
+--- src/rrd_open.c.orig 2010-03-23 00:05:55.000000000 +0800
++++ src/rrd_open.c 2010-04-26 03:46:23.000000000 +0800
+@@ -555,9 +555,6 @@
int ret;
#ifdef HAVE_MMAP
diff --git a/databases/rrdtool/pkg-plist b/databases/rrdtool/pkg-plist
index 6fba0cd60f89..ac000bf8494d 100644
--- a/databases/rrdtool/pkg-plist
+++ b/databases/rrdtool/pkg-plist
@@ -14,18 +14,19 @@ lib/librrd_th.la
lib/librrd_th.so
lib/librrd_th.so.5
libdata/pkgconfig/librrd.pc
-%%WITH_PERL%%%%SITE_PERL%%/RRDp.pm
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp/.packlist
-%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.so
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/RRDs.bs
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs/.packlist
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm
+%%WITH_PERL%%%%SITE_PERL%%/RRDp.pm
+%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.1-py2.6.egg-info
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtoolmodule.so
%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp
%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs
%%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/RRDCached.pm
%%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/rrdcached-size.pl
-@dirrm share/rrdtool/examples/rrdcached
-@dirrm share/rrdtool/examples
-@dirrm share/rrdtool
+%%PORTEXAMPLES%%@dirrm share/rrdtool/examples/rrdcached
+%%PORTEXAMPLES%%@dirrm share/rrdtool/examples
+%%PORTEXAMPLES%%@dirrm share/rrdtool