aboutsummaryrefslogtreecommitdiff
path: root/databases/rrdtool12
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-27 18:28:05 +0000
committerRenato Botelho <garga@FreeBSD.org>2014-03-27 18:28:05 +0000
commit84bdd1f3a00323f4cd07d1f54b6cf9c1034aa524 (patch)
tree34c95489d5fd535c47685b72faec7444b0cf744e /databases/rrdtool12
parent7071465ba531a88d61aedb8cad717612173a5a97 (diff)
downloadports-84bdd1f3a00323f4cd07d1f54b6cf9c1034aa524.tar.gz
ports-84bdd1f3a00323f4cd07d1f54b6cf9c1034aa524.zip
Support stage
Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=349351
Diffstat (limited to 'databases/rrdtool12')
-rw-r--r--databases/rrdtool12/Makefile15
-rw-r--r--databases/rrdtool12/pkg-plist28
2 files changed, 30 insertions, 13 deletions
diff --git a/databases/rrdtool12/Makefile b/databases/rrdtool12/Makefile
index 5ae7ff9f447f..b53077224b36 100644
--- a/databases/rrdtool12/Makefile
+++ b/databases/rrdtool12/Makefile
@@ -27,7 +27,6 @@ CONFIGURE_ARGS= --disable-tcl
OPTIONS_DEFINE= PYTHON RUBY PERL DOCS EXAMPLES
OPTIONS_DEFAULT= PERL
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
@@ -65,18 +64,6 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 -I${LOCALBAS
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS:= ${CFLAGS:N-ffast-math}
-MAN1= bin_dec_hex.1 cdeftutorial.1 rpntutorial.1 rrd-beginners.1 \
- rrdbuild.1 rrdcgi.1 rrdcreate.1 rrddump.1 rrdfetch.1 rrdfirst.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
-
-.if ${PORT_OPTIONS:MPERL}
-MAN3= RRDp.3 RRDs.3
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}
-.endif
-
post-extract:
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e 's/install-idocDATA install-ihtmlDATA//g' \
@@ -89,6 +76,8 @@ post-extract:
.endif
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librrd.so.2
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librrd_th.so.2
.if !defined(BATCH) && empty(PORT_OPTIONS:MEXAMPLES)
@${ECHO_MSG} ""
@${ECHO_MSG} "############################################################################"
diff --git a/databases/rrdtool12/pkg-plist b/databases/rrdtool12/pkg-plist
index c2094e3d4310..fb6ea04e5d18 100644
--- a/databases/rrdtool12/pkg-plist
+++ b/databases/rrdtool12/pkg-plist
@@ -10,6 +10,32 @@ lib/librrd_th.la
lib/librrd_th.so
lib/librrd_th.so.2
include/rrd.h
+man/man1/bin_dec_hex.1.gz
+man/man1/cdeftutorial.1.gz
+man/man1/rpntutorial.1.gz
+man/man1/rrd-beginners.1.gz
+man/man1/rrdbuild.1.gz
+man/man1/rrdcgi.1.gz
+man/man1/rrdcreate.1.gz
+man/man1/rrddump.1.gz
+man/man1/rrdfetch.1.gz
+man/man1/rrdfirst.1.gz
+man/man1/rrdgraph.1.gz
+man/man1/rrdgraph_data.1.gz
+man/man1/rrdgraph_examples.1.gz
+man/man1/rrdgraph_graph.1.gz
+man/man1/rrdgraph_rpn.1.gz
+man/man1/rrdinfo.1.gz
+man/man1/rrdlast.1.gz
+man/man1/rrdresize.1.gz
+man/man1/rrdrestore.1.gz
+man/man1/rrdthreads.1.gz
+man/man1/rrdtool.1.gz
+man/man1/rrdtune.1.gz
+man/man1/rrdtutorial.1.gz
+man/man1/rrdupdate.1.gz
+man/man1/rrdxport.1.gz
+man/man1/rrdlastupdate.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/4charts.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bigtops.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi-demo.cgi
@@ -100,6 +126,8 @@ include/rrd.h
%%PORTDOCS%%%%DOCSDIR%%/txt/rrdxport.pod
%%PORTDOCS%%%%DOCSDIR%%/txt/rrdxport.txt
%%DATADIR%%/fonts/DejaVuSansMono-Roman.ttf
+%%WITH_PERL%%%%PERL5_MAN3%%/RRDp.3.gz
+%%WITH_PERL%%%%PERL5_MAN3%%/RRDs.3.gz
%%WITH_PERL%%%%SITE_PERL%%/RRDp.pm
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDp/.packlist
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/RRDs.pm