- perl modules now install in site_perl

- initial work towards TCL flavor
From maintainer danh@nfol.com
This commit is contained in:
camield 2000-06-15 10:39:42 +00:00
parent e5fe4ee5a6
commit c99d21a189
6 changed files with 54 additions and 136 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/06/14 05:57:49 jakob Exp $
# $OpenBSD: Makefile,v 1.2 2000/06/15 10:39:42 camield Exp $
DISTNAME= rrdtool-1.0.23
CATEGORIES= net
@ -16,7 +16,26 @@ MASTER_SITES= ${HOMEPAGE}/pub/ \
ftp://ftp.sunet.se/pub/network/monitoring/rrdtool/ \
http://ftp.sunet.se/pub/network/monitoring/rrdtool/
FLAVORS= tcl
FLAVOR?=
.if defined(WITH_TCL)
FLAVOR+= tcl
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
.if ${FLAVOR:L:Mtcl}
BROKEN= "currently doesn't work"
# Makefile in tcl subdir does not work with our make
USE_GMAKE= Yes
LIB_DEPENDS= tcl83::lang/tcl/8.3
# tclConfig.sh seems to be a bit confused about installation paths...
# (so this does not work)
CONFIGURE_ARGS+= --with-tcllib=/usr/local/lib/tcl8.3
.else
CONFIGURE_ARGS+= --without-tcllib
.endif
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2000/06/14 05:57:50 jakob Exp $
$OpenBSD: patch-Makefile_in,v 1.2 2000/06/15 10:39:43 camield Exp $
--- Makefile.in.orig Mon Jun 12 14:23:37 2000
+++ Makefile.in Tue Jun 13 22:11:11 2000
+++ Makefile.in Wed Jun 14 11:47:28 2000
@@ -32,8 +32,6 @@ mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
@ -10,3 +10,22 @@ $OpenBSD: patch-Makefile_in,v 1.1.1.1 2000/06/14 05:57:50 jakob Exp $
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
@@ -382,12 +380,12 @@ maintainer-clean
# lets schedule the perl stuff for installation
-install-data-local:
- $(INSTALL) -d -m 755 $(DESTDIR)$(prefix)/lib/perl/auto/RRDs
- $(INSTALL) -m 644 perl-piped/RRDp.pm $(DESTDIR)$(prefix)/lib/perl
- $(INSTALL) -m 644 perl-shared/RRDs.pm $(DESTDIR)$(prefix)/lib/perl
- $(INSTALL) -m 644 perl-shared/blib/arch/auto/RRDs/RRDs.bs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs
- $(INSTALL) -m 755 perl-shared/blib/arch/auto/RRDs/RRDs.@SO_EXT@ $(DESTDIR)$(prefix)/lib/perl/auto/RRDs
+install-data-local:
+ $(INSTALL) -d -m 755 $(DESTDIR)$(prefix)/libdata/perl5/site_perl/$(MACHINE_ARCH)-openbsd/auto/RRDs
+ $(INSTALL) -m 644 perl-piped/RRDp.pm $(DESTDIR)$(prefix)/libdata/perl5/site_perl/$(MACHINE_ARCH)-openbsd
+ $(INSTALL) -m 644 perl-shared/RRDs.pm $(DESTDIR)$(prefix)/libdata/perl5/site_perl/$(MACHINE_ARCH)-openbsd
+ $(INSTALL) -m 644 perl-shared/blib/arch/auto/RRDs/RRDs.bs $(DESTDIR)$(prefix)/libdata/perl5/site_perl/$(MACHINE_ARCH)-openbsd/auto/RRDs
+ $(INSTALL) -m 755 perl-shared/blib/arch/auto/RRDs/RRDs.@SO_EXT@ $(DESTDIR)$(prefix)/libdata/perl5/site_perl/$(MACHINE_ARCH)-openbsd/auto/RRDs
# rules for building the perl module
perl_piped: perl-piped/Makefile

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-tcl_Makefile_in,v 1.1.1.1 2000/06/14 05:57:50 jakob Exp $
$OpenBSD: patch-tcl_Makefile_in,v 1.2 2000/06/15 10:39:44 camield Exp $
--- tcl/Makefile.in.orig Mon Jun 12 14:29:45 2000
+++ tcl/Makefile.in Tue Jun 13 22:11:11 2000
+++ tcl/Makefile.in Wed Jun 14 12:51:00 2000
@@ -32,8 +32,6 @@ mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2000/06/15 10:39:44 camield Exp $
lib/librrd.so.0.0
libdata/perl5/site_perl/@ARCH@-openbsd/auto/RRDs/RRDs.so
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
@unexec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib

View File

@ -1,123 +0,0 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/06/14 05:57:50 jakob Exp $
bin/rrdcgi
bin/rrdtool
bin/trytime
include/rrd.h
lib/librrd.a
lib/librrd.la
lib/librrd.so.0.0
lib/perl/RRDp.pm
lib/perl/RRDs.pm
lib/perl/auto/RRDs/RRDs.bs
lib/perl/auto/RRDs/RRDs.so
man/man1/RRDp.1
man/man1/RRDs.1
man/man1/bin_dec_hex.1
man/man1/cdeftutorial.1
man/man1/rpntutorial.1
man/man1/rrdcgi.1
man/man1/rrdcreate.1
man/man1/rrddump.1
man/man1/rrdfetch.1
man/man1/rrdgraph.1
man/man1/rrdinfo.1
man/man1/rrdlast.1
man/man1/rrdresize.1
man/man1/rrdrestore.1
man/man1/rrdtool.1
man/man1/rrdtune.1
man/man1/rrdtutorial.1
man/man1/rrdupdate.1
share/doc/rrdtool/RRDp.txt
share/doc/rrdtool/RRDs.txt
share/doc/rrdtool/bin_dec_hex.pod
share/doc/rrdtool/bin_dec_hex.txt
share/doc/rrdtool/cdeftutorial.pod
share/doc/rrdtool/cdeftutorial.txt
share/doc/rrdtool/html/RRDp.html
share/doc/rrdtool/html/RRDs.html
share/doc/rrdtool/html/bin_dec_hex.html
share/doc/rrdtool/html/cdeftutorial.html
share/doc/rrdtool/html/rpntutorial.html
share/doc/rrdtool/html/rrdcgi.html
share/doc/rrdtool/html/rrdcreate.html
share/doc/rrdtool/html/rrddump.html
share/doc/rrdtool/html/rrdfetch.html
share/doc/rrdtool/html/rrdgraph.html
share/doc/rrdtool/html/rrdinfo.html
share/doc/rrdtool/html/rrdlast.html
share/doc/rrdtool/html/rrdresize.html
share/doc/rrdtool/html/rrdrestore.html
share/doc/rrdtool/html/rrdtool.html
share/doc/rrdtool/html/rrdtune.html
share/doc/rrdtool/html/rrdtutorial.html
share/doc/rrdtool/html/rrdupdate.html
share/doc/rrdtool/rpntutorial.pod
share/doc/rrdtool/rpntutorial.txt
share/doc/rrdtool/rrdcgi.pod
share/doc/rrdtool/rrdcgi.txt
share/doc/rrdtool/rrdcreate.pod
share/doc/rrdtool/rrdcreate.txt
share/doc/rrdtool/rrddump.pod
share/doc/rrdtool/rrddump.txt
share/doc/rrdtool/rrdfetch.pod
share/doc/rrdtool/rrdfetch.txt
share/doc/rrdtool/rrdgraph.pod
share/doc/rrdtool/rrdgraph.txt
share/doc/rrdtool/rrdinfo.pod
share/doc/rrdtool/rrdinfo.txt
share/doc/rrdtool/rrdlast.pod
share/doc/rrdtool/rrdlast.txt
share/doc/rrdtool/rrdresize.pod
share/doc/rrdtool/rrdresize.txt
share/doc/rrdtool/rrdrestore.pod
share/doc/rrdtool/rrdrestore.txt
share/doc/rrdtool/rrdtool.pod
share/doc/rrdtool/rrdtool.txt
share/doc/rrdtool/rrdtune.pod
share/doc/rrdtool/rrdtune.txt
share/doc/rrdtool/rrdtutorial.pod
share/doc/rrdtool/rrdtutorial.txt
share/doc/rrdtool/rrdupdate.pod
share/doc/rrdtool/rrdupdate.txt
share/examples/rrdtool/bigtops.pl
share/examples/rrdtool/cgi-demo.cgi
share/examples/rrdtool/contrib/README
share/examples/rrdtool/contrib/add_ds/README
share/examples/rrdtool/contrib/add_ds/add_ds.pl
share/examples/rrdtool/contrib/add_ds/batch.pl
share/examples/rrdtool/contrib/killspike/README
share/examples/rrdtool/contrib/killspike/killspike.pl
share/examples/rrdtool/contrib/log2rrd/README
share/examples/rrdtool/contrib/log2rrd/log2rrd.pl
share/examples/rrdtool/contrib/rrd-file-icon/README
share/examples/rrdtool/contrib/rrd-file-icon/rrd.png
share/examples/rrdtool/contrib/rrdfetchnames/README
share/examples/rrdtool/contrib/rrdfetchnames/rrdfetchnames.pl
share/examples/rrdtool/contrib/rrdlastds/README
share/examples/rrdtool/contrib/rrdlastds/rrdlastds.pl
share/examples/rrdtool/contrib/rrdproc/README
share/examples/rrdtool/contrib/rrdproc/rrdproc.c
share/examples/rrdtool/contrib/trytime/README
share/examples/rrdtool/contrib/trytime/trytime.c
share/examples/rrdtool/minmax.pl
share/examples/rrdtool/piped-demo.pl
share/examples/rrdtool/shared-demo.pl
share/examples/rrdtool/stripes.pl
@dirrm share/examples/rrdtool/contrib/trytime
@dirrm share/examples/rrdtool/contrib/rrdproc
@dirrm share/examples/rrdtool/contrib/rrdlastds
@dirrm share/examples/rrdtool/contrib/rrdfetchnames
@dirrm share/examples/rrdtool/contrib/rrd-file-icon
@dirrm share/examples/rrdtool/contrib/log2rrd
@dirrm share/examples/rrdtool/contrib/killspike
@dirrm share/examples/rrdtool/contrib/add_ds
@dirrm share/examples/rrdtool/contrib
@dirrm share/examples/rrdtool
@dirrm share/doc/rrdtool/html
@dirrm share/doc/rrdtool
@dirrm lib/perl/auto/RRDs
@dirrm lib/perl/auto
@dirrm lib/perl
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
@unexec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib

View File

@ -1,14 +1,14 @@
@comment $OpenBSD: PLIST.noshared,v 1.1.1.1 2000/06/14 05:57:50 jakob Exp $
@comment $OpenBSD: PLIST.sed,v 1.1 2000/06/15 10:39:45 camield Exp $
bin/rrdcgi
bin/rrdtool
bin/trytime
include/rrd.h
lib/librrd.a
lib/librrd.la
lib/perl/RRDp.pm
lib/perl/RRDs.pm
lib/perl/auto/RRDs/RRDs.bs
lib/perl/auto/RRDs/RRDs.so
%%SHARED%%
libdata/perl5/site_perl/@ARCH@-openbsd/RRDp.pm
libdata/perl5/site_perl/@ARCH@-openbsd/RRDs.pm
libdata/perl5/site_perl/@ARCH@-openbsd/auto/RRDs/RRDs.bs
man/man1/RRDp.1
man/man1/RRDs.1
man/man1/bin_dec_hex.1
@ -115,6 +115,4 @@ share/examples/rrdtool/stripes.pl
@dirrm share/examples/rrdtool
@dirrm share/doc/rrdtool/html
@dirrm share/doc/rrdtool
@dirrm lib/perl/auto/RRDs
@dirrm lib/perl/auto
@dirrm lib/perl
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd/auto/RRDs