Hi,

Norm Finlay wrote on Wed, Jun 20, 2018 at 04:55:04PM -0500:

> Installing the graphing package "grace" created the following warnings.
> This occurred in the v6.3 release.  The folks on irc suggested I email this
> to ports@openbsd.org.

Right.  The post-install target is plainly wrong.  Never install
manual pages outside the intended manpath.  Mandoc doesn't allow
that.

Here is a fix.

Also add the missing @bin markers while here.

OK?
  Ingo


Index: Makefile
===================================================================
RCS file: /cvs/ports/math/grace/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- Makefile    5 May 2016 19:52:28 -0000       1.43
+++ Makefile    21 Jun 2018 16:04:40 -0000
@@ -3,7 +3,7 @@
 COMMENT=       GRaphing, Advanced Computation and Exploration of data
 
 DISTNAME=      grace-5.1.15
-REVISION=      7
+REVISION=      8
 CATEGORIES=    math
 
 HOMEPAGE=      http://plasma-gate.weizmann.ac.il/Grace/
@@ -71,12 +71,12 @@ post-install:
        ln -sf ${GRACE_DIR}/bin/xmgrace ${PREFIX}/bin/grace
        ln -sf ${GRACE_DIR}/bin/xmgrace ${PREFIX}/bin/gracebat
        ln -sf ${GRACE_DIR}/bin/xmgrace ${PREFIX}/bin/xmgrace
-       ln -sf ../../grace/doc/xmgrace.1 ${PREFIX}/man/man1/xmgrace.1
+       mv ${PREFIX}/grace/doc/xmgrace.1 ${PREFIX}/man/man1/xmgrace.1
 .endif
        ln -sf ${GRACE_DIR}/include/grace_np.h ${PREFIX}/include/grace_np.h
        ln -sf ${GRACE_DIR}/lib/libgrace_np.a ${PREFIX}/lib/libgrace_np.a
-       ln -sf ../../grace/doc/grace.1 ${PREFIX}/man/man1/grace.1
-       ln -sf ../../grace/doc/gracebat.1 ${PREFIX}/man/man1/gracebat.1
-       ln -sf ../../grace/doc/grconvert.1 ${PREFIX}/man/man1/grconvert.1
+       mv ${PREFIX}/grace/doc/grace.1 ${PREFIX}/man/man1/grace.1
+       mv ${PREFIX}/grace/doc/gracebat.1 ${PREFIX}/man/man1/gracebat.1
+       mv ${PREFIX}/grace/doc/grconvert.1 ${PREFIX}/man/man1/grconvert.1
 
 .include <bsd.port.mk>
Index: pkg/PFRAG.no-no_x11
===================================================================
RCS file: /cvs/ports/math/grace/pkg/PFRAG.no-no_x11,v
retrieving revision 1.2
diff -u -p -r1.2 PFRAG.no-no_x11
--- pkg/PFRAG.no-no_x11 8 Oct 2004 10:37:24 -0000       1.2
+++ pkg/PFRAG.no-no_x11 21 Jun 2018 16:04:40 -0000
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.no-no_x11,v 1.2 2004/10/08 10:37:24 espie Exp $
 bin/xmgrace
-grace/bin/xmgrace
-grace/doc/xmgrace.1
+@bin grace/bin/xmgrace
 @man man/man1/xmgrace.1
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/grace/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   8 Oct 2004 10:37:24 -0000       1.6
+++ pkg/PLIST   21 Jun 2018 16:04:40 -0000
@@ -7,10 +7,10 @@ grace/auxiliary/README
 grace/auxiliary/convcal.c
 grace/auxiliary/magic.grace
 grace/bin/
-grace/bin/convcal
+@bin grace/bin/convcal
 grace/bin/fdf2fit
 grace/bin/gracebat
-grace/bin/grconvert
+@bin grace/bin/grconvert
 grace/doc/
 grace/doc/10.1.dat
 grace/doc/10a.dat
@@ -30,9 +30,6 @@ grace/doc/Tutorial.html
 grace/doc/UsersGuide.dvi
 grace/doc/UsersGuide.html
 grace/doc/convcal.1
-grace/doc/grace.1
-grace/doc/gracebat.1
-grace/doc/grconvert.1
 grace/doc/mygraph.png
 grace/doc/nohelp.html
 grace/doc/philosophical-gnu-sm.jpg

Reply via email to