Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2024 21:12:04 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e25e50678d7 - main - x11/xforward: move man page
Message-ID:  <202403012112.421LC4ZD052415@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e25e50678d712619c2a62477f34c30a3e8c8ad9

commit 4e25e50678d712619c2a62477f34c30a3e8c8ad9
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-01 20:41:28 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-01 21:11:26 +0000

    x11/xforward: move man page
---
 x11/xforward/Makefile             |  4 ++--
 x11/xforward/files/patch-Makefile | 15 ++++++++-------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/x11/xforward/Makefile b/x11/xforward/Makefile
index e058f1aba42a..e9dc1efcb734 100644
--- a/x11/xforward/Makefile
+++ b/x11/xforward/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xforward
 PORTVERSION=	1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11
 MASTER_SITES=	http://komquats.com/distfiles/ \
 		http://people.freebsd.org/~cy/distfiles/
@@ -21,6 +21,6 @@ USE_XORG=	x11 xt xaw xmu xt xext sm ice xft xau xcb xdmcp xrender
 
 MAKE_ARGS=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
 NO_WRKSUBDIR=	yes
-PLIST_FILES=	bin/xforward man/man1/xforward.1.gz
+PLIST_FILES=	bin/xforward share/man/man1/xforward.1.gz
 
 .include <bsd.port.mk>
diff --git a/x11/xforward/files/patch-Makefile b/x11/xforward/files/patch-Makefile
index c2e78478a5ea..62b102409417 100644
--- a/x11/xforward/files/patch-Makefile
+++ b/x11/xforward/files/patch-Makefile
@@ -1,13 +1,15 @@
---- Makefile.orig	1993-06-04 19:32:01.000000000 -0700
-+++ Makefile	2023-02-14 20:39:04.842100000 -0800
-@@ -18,18 +18,19 @@
+diff -u Makefile.orig Makefile
+index c11964d..e1d0343 100644
+--- Makefile.orig
++++ Makefile
+@@ -18,17 +18,18 @@
  # MANDIR is where the manual page will be installed.
  
  DESTDIR=
 -BINDIR=/usr/local/bin
 -MANDIR=/usr/local/man/man1
 +BINDIR=${PREFIX}/bin
-+MANDIR=${PREFIX}/man/man1
++MANDIR=${PREFIX}/share/man/man1
  
  # Where to find things
  # INCFLAGS lists directories to search for header files
@@ -20,12 +22,11 @@
 +INCFLAGS= -I${LOCALBASE}/include
 +LDFLAGS= -L${LOCALBASE}/lib
 +LIBS= -lXm -lXt -lX11 -lXext
- 
 +
+ 
  CFLAGS= ${INCFLAGS} -O
  
- # For CenterLine CodeCenter
-@@ -51,6 +52,7 @@
+@@ -51,6 +52,7 @@ xforward.o:	xforward.c
  install: ${PROGS}
  	install -c xforward ${DESTDIR}${BINDIR}/xforward
  	install -c xforward.1 ${DESTDIR}${MANDIR}/xforward.1



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