aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/rrdtool/Makefile10
-rw-r--r--databases/rrdtool/files/patch-bindings-Makefile.in8
-rw-r--r--databases/rrdtool/pkg-plist6
3 files changed, 20 insertions, 4 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index 90e1996358e9..15c730b9f39f 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/rrdtool/Makefile
@@ -3,6 +3,7 @@
PORTNAME= rrdtool
PORTVERSION= 1.5.5
+PORTREVISION= 1
CATEGORIES= databases graphics
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/
@@ -116,5 +117,14 @@ post-install:
@${ECHO_MSG} "# See ${EXAMPLESDIR} for some demonstration code #"
@${ECHO_MSG} "############################################################################"
.endif
+.if ${PORT_OPTIONS:MPERL_MODULE}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/RRDs/RRDs.so
+.endif
+.if ${PORT_OPTIONS:MPYTHON_MODULE}
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/rrdtool.so
+.endif
+.if ${PORT_OPTIONS:MRUBY_MODULE}
+ ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/RRD.so
+.endif
.include <bsd.port.mk>
diff --git a/databases/rrdtool/files/patch-bindings-Makefile.in b/databases/rrdtool/files/patch-bindings-Makefile.in
index 9d4e5f6ad2cf..e5bb6791a9b2 100644
--- a/databases/rrdtool/files/patch-bindings-Makefile.in
+++ b/databases/rrdtool/files/patch-bindings-Makefile.in
@@ -1,21 +1,21 @@
---- bindings/Makefile.in.orig 2016-01-27 10:49:53 UTC
+--- bindings/Makefile.in.orig 2016-01-27 17:19:31 UTC
+++ bindings/Makefile.in
@@ -711,15 +711,15 @@ all-local: @COMP_PERL@ @COMP_RUBY@ @COM
install-data-local:
$(AM_V_GEN)test -f ${builddir}/perl-piped/Makefile \
&& ( cd ${builddir}/perl-piped \
- && $(MAKE) install ) \
-+ && $(MAKE) pure-install ) \
++ && $(MAKE) pure_install ) \
|| true
$(AM_V_GEN)test -f ${builddir}/perl-shared/Makefile \
&& ( cd ${builddir}/perl-shared \
- && $(MAKE) install ) \
-+ && $(MAKE) pure-install ) \
++ && $(MAKE) pure_install ) \
|| true
$(AM_V_GEN)test -f ${builddir}/ruby/Makefile \
&& ( cd ${builddir}/ruby \
- && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) install ) \
-+ && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) pure-install ) \
++ && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) install ) \
|| true
$(AM_V_GEN)test -d ${builddir}/python/build \
&& ( cd ${builddir}/python \
diff --git a/databases/rrdtool/pkg-plist b/databases/rrdtool/pkg-plist
index 48fbd988791c..ff2f1b66f01a 100644
--- a/databases/rrdtool/pkg-plist
+++ b/databases/rrdtool/pkg-plist
@@ -45,8 +45,14 @@ libdata/pkgconfig/librrd.pc
%%PORTDOCS%%man/man1/rrdupdate.1.gz
%%PORTDOCS%%man/man1/rrdxport.1.gz
%%PORTDOCS%%man/man3/librrd.3.gz
+%%WITH_PERL%%%%PERL5_MAN3%%/RRDp.3.gz
+%%WITH_PERL%%%%PERL5_MAN3%%/RRDs.3.gz
+%%WITH_PERL%%%%SITE_ARCH%%/auto/RRDs/RRDs.so
+%%WITH_PERL%%%%SITE_ARCH%%/RRDs.pm
+%%WITH_PERL%%%%SITE_PERL%%/RRDp.pm
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtool.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info
+%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrdcached/RRDCached.pm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrdcached/rrdcached-size.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stripes.py