1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net/wmnet: Move manpages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Gleb Popov 2024-03-18 18:11:23 +03:00
parent 568cbbb8ad
commit 5a3fceb399
3 changed files with 9 additions and 8 deletions

View File

@ -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/ \

View File

@ -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

View File

@ -5,4 +5,4 @@ bin/wmnet
@mode
@group
@owner
man/man1/wmnet.1.gz
share/man/man1/wmnet.1.gz