Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 15:12:51 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5a3fceb399bf - main - net/wmnet: Move manpages to share/man
Message-ID:  <202403181512.42IFCpwY034034@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a3fceb399bfd277f135791e2f0eef87f2478963

commit 5a3fceb399bfd277f135791e2f0eef87f2478963
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-18 15:11:23 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-18 15:11:23 +0000

    net/wmnet: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/wmnet/Makefile             |  2 +-
 net/wmnet/files/patch-Makefile | 13 +++++++------
 net/wmnet/pkg-plist            |  2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/net/wmnet/Makefile b/net/wmnet/Makefile
index 21417378bc27..09655f6d0718 100644
--- a/net/wmnet/Makefile
+++ b/net/wmnet/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wmnet
 PORTVERSION=	1.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net windowmaker
 MASTER_SITES=	http://vault.101011010.xyz/distfiles/ \
 		http://freebsd.nsu.ru/distfiles/ \
diff --git a/net/wmnet/files/patch-Makefile b/net/wmnet/files/patch-Makefile
index 1be8854b6b5b..4700cded574d 100644
--- a/net/wmnet/files/patch-Makefile
+++ b/net/wmnet/files/patch-Makefile
@@ -1,11 +1,12 @@
---- Makefile.orig	1998-12-03 23:33:58.000000000 +0800
-+++ Makefile	2014-06-24 15:23:31.901094203 +0800
+--- Makefile.orig	1998-12-03 15:33:58 UTC
++++ Makefile
 @@ -2,22 +2,24 @@
  #	Makefile,v 1.8 1998/12/03 15:33:58 rneswold Exp
  #
  
 -PREFIX=/usr/local
- MANDIR=${PREFIX}/man
+-MANDIR=${PREFIX}/man
++MANDIR=${PREFIX}/share/man
  BINDIR=${PREFIX}/bin
  
 -LIBDIR = -L/usr/X11R6/lib -L/usr/local/lib
@@ -14,10 +15,10 @@
  OBJS =	main.o if.o wmgeneral.o
 -INCDIR = -I${X11BASE}/include
 +INCDIR = -I${LOCALBASE}/include
-+
+ 
 +CC ?= cc
 +CFLAGS ?= -O
- 
++
  .c.o :
 -	cc -c -g -O1 -Wall ${INCDIR} $< -o $*.o
 +	$(CC) -c $(CFLAGS) -g -Wall ${INCDIR} $< -o $*.o
@@ -30,7 +31,7 @@
  
  main.o : wmnet-mask.xbm wmnet-master.xpm wmnet.h wmgeneral.h
  
-@@ -29,9 +31,9 @@ clean :
+@@ -29,9 +31,9 @@ install.man : wmnet.1
  	rm -f $(OBJS) wmnet
  
  install.man : wmnet.1
diff --git a/net/wmnet/pkg-plist b/net/wmnet/pkg-plist
index 9c5e2ebaedf5..e77c45f88dd9 100644
--- a/net/wmnet/pkg-plist
+++ b/net/wmnet/pkg-plist
@@ -5,4 +5,4 @@ bin/wmnet
 @mode
 @group
 @owner
-man/man1/wmnet.1.gz
+share/man/man1/wmnet.1.gz



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