Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2024 12:58:51 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 69a716bc0f0f - main - graphics/kplot: Move man pages to share/man
Message-ID:  <202403091258.429CwpVH068825@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69a716bc0f0f5023a6504f987564dfc95eab8606

commit 69a716bc0f0f5023a6504f987564dfc95eab8606
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 12:07:36 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 12:58:24 +0000

    graphics/kplot: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/kplot/Makefile             |  1 +
 graphics/kplot/files/patch-Makefile | 13 ++++---
 graphics/kplot/pkg-plist            | 70 ++++++++++++++++++-------------------
 3 files changed, 44 insertions(+), 40 deletions(-)

diff --git a/graphics/kplot/Makefile b/graphics/kplot/Makefile
index 95d67972e9ab..50fc98919183 100644
--- a/graphics/kplot/Makefile
+++ b/graphics/kplot/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	kplot
 DISTVERSIONPREFIX=	VERSION_
 DISTVERSION=	0_1_15
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/graphics/kplot/files/patch-Makefile b/graphics/kplot/files/patch-Makefile
index ba5278ce6640..d5a3011be698 100644
--- a/graphics/kplot/files/patch-Makefile
+++ b/graphics/kplot/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig	2022-07-03 06:07:22 UTC
+--- Makefile.orig	2016-11-03 06:33:31 UTC
 +++ Makefile
 @@ -1,6 +1,6 @@
  .SUFFIXES: .3 .3.html
@@ -8,7 +8,7 @@
  #If you're on Mac OSX without XQuarts, you'll need /usr/X11 instead of /opt/X11!
  CPPFLAGS	= `pkg-config --cflags --silence-errors cairo || echo '-I/opt/X11/include/cairo'`
  VERSION		= 0.1.15
-@@ -165,13 +165,13 @@ MANS		= man/kdata_array_alloc.3 \
+@@ -165,15 +165,15 @@ MANS		= man/kdata_array_alloc.3 \
  		  man/kplot_get_plotcfg.3 \
  	 	  man/kplotcfg_defaults.3
  
@@ -22,7 +22,10 @@
 -	install -m 0444 libkplot.a $(DESTDIR)$(PREFIX)/lib
 +	install -m 0444 libkplot.so $(DESTDIR)$(PREFIX)/lib
  	install -m 0444 kplot.h $(DESTDIR)$(PREFIX)/include
- 	install -m 0444 $(MANS) $(DESTDIR)$(PREFIX)/man/man3
+-	install -m 0444 $(MANS) $(DESTDIR)$(PREFIX)/man/man3
++	install -m 0444 $(MANS) $(DESTDIR)$(PREFIX)/share/man/man3
+ 
+ www: $(HTMLS) $(PNGS) kplot.tgz kplot.tgz.sha512
  
 @@ -186,50 +186,50 @@ installwww: www
  	install -m 0444 kplot.tgz $(PREFIX)/snapshots
@@ -91,7 +94,7 @@
  	$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $< $(EXAMPLE_LIBS)
  
  example0.png: example0
-@@ -274,8 +274,8 @@ example12.png: example12
+@@ -274,8 +274,8 @@ example13.png: example13
  example13.png: example13
  	./example13
  
@@ -102,7 +105,7 @@
  
  $(OBJS): kplot.h compat.h extern.h
  
-@@ -305,7 +305,7 @@ kplot.tgz:
+@@ -305,7 +305,7 @@ clean:
  	rm -rf .dist
  
  clean:
diff --git a/graphics/kplot/pkg-plist b/graphics/kplot/pkg-plist
index 32631b748763..0d0ea296b8de 100644
--- a/graphics/kplot/pkg-plist
+++ b/graphics/kplot/pkg-plist
@@ -1,37 +1,37 @@
 include/kplot.h
 lib/libkplot.so
-man/man3/kdata_array_alloc.3.gz
-man/man3/kdata_array_fill.3.gz
-man/man3/kdata_bucket_add.3.gz
-man/man3/kdata_bucket_alloc.3.gz
-man/man3/kdata_buffer_alloc.3.gz
-man/man3/kdata_buffer_copy.3.gz
-man/man3/kdata_destroy.3.gz
-man/man3/kdata_get.3.gz
-man/man3/kdata_hist_add.3.gz
-man/man3/kdata_hist_alloc.3.gz
-man/man3/kdata_mean_alloc.3.gz
-man/man3/kdata_mean_attach.3.gz
-man/man3/kdata_pmfmean.3.gz
-man/man3/kdata_pmfstddev.3.gz
-man/man3/kdata_pmfvar.3.gz
-man/man3/kdata_stddev_alloc.3.gz
-man/man3/kdata_stddev_attach.3.gz
-man/man3/kdata_vector_alloc.3.gz
-man/man3/kdata_vector_append.3.gz
-man/man3/kdata_xmax.3.gz
-man/man3/kdata_xmean.3.gz
-man/man3/kdata_xmin.3.gz
-man/man3/kdata_xstddev.3.gz
-man/man3/kdatacfg_defaults.3.gz
-man/man3/kplot.3.gz
-man/man3/kplot_alloc.3.gz
-man/man3/kplot_attach_data.3.gz
-man/man3/kplot_attach_datas.3.gz
-man/man3/kplot_attach_smooth.3.gz
-man/man3/kplot_detach.3.gz
-man/man3/kplot_draw.3.gz
-man/man3/kplot_free.3.gz
-man/man3/kplot_get_datacfg.3.gz
-man/man3/kplot_get_plotcfg.3.gz
-man/man3/kplotcfg_defaults.3.gz
+share/man/man3/kdata_array_alloc.3.gz
+share/man/man3/kdata_array_fill.3.gz
+share/man/man3/kdata_bucket_add.3.gz
+share/man/man3/kdata_bucket_alloc.3.gz
+share/man/man3/kdata_buffer_alloc.3.gz
+share/man/man3/kdata_buffer_copy.3.gz
+share/man/man3/kdata_destroy.3.gz
+share/man/man3/kdata_get.3.gz
+share/man/man3/kdata_hist_add.3.gz
+share/man/man3/kdata_hist_alloc.3.gz
+share/man/man3/kdata_mean_alloc.3.gz
+share/man/man3/kdata_mean_attach.3.gz
+share/man/man3/kdata_pmfmean.3.gz
+share/man/man3/kdata_pmfstddev.3.gz
+share/man/man3/kdata_pmfvar.3.gz
+share/man/man3/kdata_stddev_alloc.3.gz
+share/man/man3/kdata_stddev_attach.3.gz
+share/man/man3/kdata_vector_alloc.3.gz
+share/man/man3/kdata_vector_append.3.gz
+share/man/man3/kdata_xmax.3.gz
+share/man/man3/kdata_xmean.3.gz
+share/man/man3/kdata_xmin.3.gz
+share/man/man3/kdata_xstddev.3.gz
+share/man/man3/kdatacfg_defaults.3.gz
+share/man/man3/kplot.3.gz
+share/man/man3/kplot_alloc.3.gz
+share/man/man3/kplot_attach_data.3.gz
+share/man/man3/kplot_attach_datas.3.gz
+share/man/man3/kplot_attach_smooth.3.gz
+share/man/man3/kplot_detach.3.gz
+share/man/man3/kplot_draw.3.gz
+share/man/man3/kplot_free.3.gz
+share/man/man3/kplot_get_datacfg.3.gz
+share/man/man3/kplot_get_plotcfg.3.gz
+share/man/man3/kplotcfg_defaults.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403091258.429CwpVH068825>