Skip to content

Commit

Permalink
sysutils/*: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
Christian Weisgerber authored and Christian Weisgerber committed Mar 21, 2024
1 parent 782ef54 commit 78d0d94
Show file tree
Hide file tree
Showing 16 changed files with 76 additions and 32 deletions.
4 changes: 2 additions & 2 deletions sysutils/battmond/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= battmond
DISTVERSION= 0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils

MAINTAINER= ntarmos@gmail.com
Expand All @@ -15,6 +15,6 @@ GH_TAGNAME= 0.4

PLIST_FILES= sbin/battmond \
etc/rc.d/battmond \
man/man1/battmond.1.gz
share/man/man1/battmond.1.gz

.include <bsd.port.mk>
8 changes: 4 additions & 4 deletions sysutils/battmond/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- Makefile.orig 2019-09-19 13:32:10 UTC
--- Makefile.orig 2019-09-20 12:27:34 UTC
+++ Makefile
@@ -14,10 +14,10 @@ battmond: battmond.c
@@ -14,10 +14,10 @@ install: battmond
${CC} ${CFLAGS} battmond.c -o battmond -lutil

install: battmond
Expand All @@ -10,8 +10,8 @@
- gzip -9f ${PREFIX}/man/man1/battmond.1
+ $(INSTALL) -s battmond $(DESTDIR)${PREFIX}/sbin/battmond
+ $(INSTALL) battmond.sh $(DESTDIR)${PREFIX}/etc/rc.d/battmond
+ $(INSTALL) -c battmond.1 $(DESTDIR)${PREFIX}/man/man1/battmond.1
+ gzip -9f $(DESTDIR)${PREFIX}/man/man1/battmond.1
+ $(INSTALL) -c battmond.1 $(DESTDIR)${PREFIX}/share/man/man1/battmond.1
+ gzip -9f $(DESTDIR)${PREFIX}/share/man/man1/battmond.1

clean:
rm -f battmond
5 changes: 4 additions & 1 deletion sysutils/btsixad/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= btsixad
PORTVERSION= 0.1.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://althenia.net/files/

Expand All @@ -11,9 +12,11 @@ LICENSE= BSD2CLAUSE

USES= uidfix

MAKE_ARGS= MANDIR="${PREFIX}/share/man/man"

PLIST_FILES= sbin/btsixad \
etc/rc.d/btsixad \
etc/devd/btsixad.conf \
man/man8/btsixad.8.gz
share/man/man8/btsixad.8.gz

.include <bsd.port.mk>
5 changes: 4 additions & 1 deletion sysutils/dsbmc-cli/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= dsbmc-cli
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://freeshell.de/~mk/download/

Expand All @@ -14,6 +15,8 @@ RUN_DEPENDS= dsbmd>=0.3:sysutils/dsbmd

USES= tar:tgz

PLIST_FILES= bin/dsbmc-cli man/man1/dsbmc-cli.1.gz
MAKE_ARGS= MANDIR="${PREFIX}/share/man/man1"

PLIST_FILES= bin/dsbmc-cli share/man/man1/dsbmc-cli.1.gz

.include <bsd.port.mk>
7 changes: 5 additions & 2 deletions sysutils/egress-monitor/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= egress-monitor
DISTVERSION= 0.0.5
PORTREVISION= 1
CATEGORIES= sysutils

MAINTAINER= meka@tilda.center
Expand All @@ -16,7 +17,9 @@ SUB_FILES= pkg-message
USE_GITHUB= yes
GH_ACCOUNT= mekanix

PLIST_FILES= man/man1/egress-monitor.1.gz \
sbin/egress-monitor
MAKE_ARGS= MANDIR="${PREFIX}/share/man/man"

PLIST_FILES= sbin/egress-monitor \
share/man/man1/egress-monitor.1.gz

.include <bsd.port.mk>
3 changes: 2 additions & 1 deletion sysutils/flasher/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
PORTNAME= flasher
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.unixporting.com/downloads/flasher/

MAINTAINER= freebsd@nesbitt.ca
COMMENT= Monitors log or mail files for writes, and flashes a keyboard LED
WWW= http://www.unixporting.com/downloads/flasher/

PLIST_FILES= sbin/flasher man/man1/flasher.1.gz
PLIST_FILES= sbin/flasher share/man/man1/flasher.1.gz

.include <bsd.port.mk>
8 changes: 4 additions & 4 deletions sysutils/flasher/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- Makefile.orig 2002-07-03 13:22:08.000000000 +0800
+++ Makefile 2014-06-27 00:45:38.945108983 +0800
--- Makefile.orig 2002-07-03 05:22:08 UTC
+++ Makefile
@@ -1,8 +1,8 @@

-CFLAGS = -Wall -O
Expand All @@ -12,14 +12,14 @@

all: flasher man

@@ -16,8 +16,8 @@ man: flasher.1.gz
@@ -16,8 +16,8 @@ install: flasher man

install: flasher man
strip flasher
- install flasher $(DESTDIR)/sbin/flasher
- install flasher.1.gz $(DESTDIR)/man/man1
+ install flasher $(DESTDIR)${PREFIX}/sbin/flasher
+ install flasher.1.gz $(DESTDIR)${PREFIX}/man/man1
+ install flasher.1.gz $(DESTDIR)${PREFIX}/share/man/man1

clean:
rm -f *.o flasher flasher.1.gz
3 changes: 2 additions & 1 deletion sysutils/jkill/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= jkill
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://ext.by/jkill/
PKGNAMEPREFIX=
Expand All @@ -12,6 +13,6 @@ USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= jkill.pl

PLIST_FILES= bin/jkill man/man1/jkill.1.gz
PLIST_FILES= bin/jkill share/man/man1/jkill.1.gz

.include <bsd.port.mk>
15 changes: 12 additions & 3 deletions sysutils/jkill/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
--- Makefile.orig 2014-06-27 11:30:05.064430590 +0800
+++ Makefile 2014-06-27 11:30:18.895417404 +0800
@@ -40,8 +40,8 @@ clean:
--- Makefile.orig 2004-03-24 03:20:43 UTC
+++ Makefile
@@ -14,7 +14,7 @@ MAN_SFX=1
PKG=jkill

MAN_SFX=1
-MAN_DIR=man/man1
+MAN_DIR=share/man/man1

TARGETS=${PKG} ${PKG}.${MAN_SFX}.gz

@@ -40,8 +40,8 @@ install: all
${RM} -rf ${TARGETS}

install: all
Expand Down
3 changes: 2 additions & 1 deletion sysutils/jps/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= jps
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://ext.by/jps/

Expand All @@ -13,7 +14,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFLICTS_INSTALL= openjdk*

USES= perl5 shebangfix
PLIST_FILES= bin/jps man/man1/jps.1.gz
PLIST_FILES= bin/jps share/man/man1/jps.1.gz
SHEBANG_FILES= jps.pl

.include <bsd.port.mk>
15 changes: 12 additions & 3 deletions sysutils/jps/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
--- Makefile.orig 2014-06-27 11:33:54.689401738 +0800
+++ Makefile 2014-06-27 11:34:10.118431813 +0800
@@ -40,8 +40,8 @@ clean:
--- Makefile.orig 2004-03-24 03:20:35 UTC
+++ Makefile
@@ -14,7 +14,7 @@ MAN_SFX=1
PKG=jps

MAN_SFX=1
-MAN_DIR=man/man1
+MAN_DIR=share/man/man1

TARGETS=${PKG} ${PKG}.${MAN_SFX}.gz

@@ -40,8 +40,8 @@ install: all
${RM} -rf ${TARGETS}

install: all
Expand Down
3 changes: 2 additions & 1 deletion sysutils/jtop/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= jtop
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://ext.by/jtop/

Expand All @@ -11,7 +12,7 @@ BUILD_DEPENDS= p5-Term-ReadKey>=0:devel/p5-Term-ReadKey
RUN_DEPENDS:= ${BUILD_DEPENDS}

USES= perl5 shebangfix
PLIST_FILES= bin/jtop man/man1/jtop.1.gz
PLIST_FILES= bin/jtop share/man/man1/jtop.1.gz
SHEBANG_FILES= jtop.pl

.include <bsd.port.mk>
15 changes: 12 additions & 3 deletions sysutils/jtop/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
--- Makefile.orig 2014-06-27 11:43:49.474359774 +0800
+++ Makefile 2014-06-27 11:44:04.348361308 +0800
@@ -40,8 +40,8 @@ clean:
--- Makefile.orig 2004-03-24 04:54:58 UTC
+++ Makefile
@@ -14,7 +14,7 @@ MAN_SFX=1
PKG=jtop

MAN_SFX=1
-MAN_DIR=man/man1
+MAN_DIR=share/man/man1

TARGETS=${PKG} ${PKG}.${MAN_SFX}.gz

@@ -40,8 +40,8 @@ install: all
${RM} -rf ${TARGETS}

install: all
Expand Down
3 changes: 2 additions & 1 deletion sysutils/tdir/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= tdir
PORTVERSION= 1.73
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.tundraware.com/Software/tdir/

Expand All @@ -16,6 +17,6 @@ SHEBANG_FILES= tdir
NO_ARCH= yes

PLIST_FILES= bin/tdir \
man/man1/tdir.1.gz
share/man/man1/tdir.1.gz

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions sysutils/tdir/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- Makefile.orig 2014-02-12 18:24:13 UTC
--- Makefile.orig 2018-05-11 21:42:28 UTC
+++ Makefile
@@ -3,8 +3,5 @@
@@ -3,8 +3,5 @@ install:
all: # Do nothing - this is a python script that needs no build

install:
Expand All @@ -10,4 +10,4 @@
- install -c -o root -g wheel -m 644 ./tdir-license.txt ${PREFIX}/share/doc/tdir
-
+ ${BSD_INSTALL_SCRIPT} ./tdir ${DESTDIR}${PREFIX}/bin
+ ${BSD_INSTALL_MAN} ./tdir.1.gz ${DESTDIR}${PREFIX}/man/man1
+ ${BSD_INSTALL_MAN} ./tdir.1.gz ${DESTDIR}${PREFIX}/share/man/man1
5 changes: 4 additions & 1 deletion sysutils/wait_on/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= wait_on
DISTVERSION= 1.1-2
DISTVERSIONSUFFIX= -g2fb6f24
PORTREVISION= 1
CATEGORIES= sysutils

MAINTAINER= jcpierri@gmail.com
Expand All @@ -13,6 +14,8 @@ USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= jcpierri

PLIST_FILES= bin/wait_on man/man1/wait_on.1.gz
MAKE_ARGS= MANDIR="${PREFIX}/share/man/man"

PLIST_FILES= bin/wait_on share/man/man1/wait_on.1.gz

.include <bsd.port.mk>

0 comments on commit 78d0d94

Please sign in to comment.