Skip to content

Commit

Permalink
net/wmnet: Move manpages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
arrowd committed Mar 18, 2024
1 parent 568cbbb commit 5a3fceb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 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/ \
Expand Down
13 changes: 7 additions & 6 deletions 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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion net/wmnet/pkg-plist
Expand Up @@ -5,4 +5,4 @@ bin/wmnet
@mode
@group
@owner
man/man1/wmnet.1.gz
share/man/man1/wmnet.1.gz

0 comments on commit 5a3fceb

Please sign in to comment.