aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 17:36:22 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 17:49:51 +0000
commitdc4aa7278c574a4a6044c712b26bd171a385f44d (patch)
tree5763021c7210834117bb583e71d11bbdaa803c24
parent52bc261a82a30a6d2bf5a145366368d08894921a (diff)
downloadports-dc4aa7278c574a4a6044c712b26bd171a385f44d.tar.gz
ports-dc4aa7278c574a4a6044c712b26bd171a385f44d.zip
sysutils/fortunelock: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--sysutils/fortunelock/Makefile3
-rw-r--r--sysutils/fortunelock/files/patch-Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/fortunelock/Makefile b/sysutils/fortunelock/Makefile
index 1f9f455cfdc2..29b2ab9c0728 100644
--- a/sysutils/fortunelock/Makefile
+++ b/sysutils/fortunelock/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fortunelock
PORTVERSION= 0.1.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= LOCAL/dannyboy
@@ -9,6 +10,6 @@ COMMENT= Locks a terminal while showing fortunes
USES= ncurses tar:bzip2
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
-PLIST_FILES= bin/fortunelock man/man1/${PORTNAME}.1.gz
+PLIST_FILES= bin/fortunelock share/man/man1/${PORTNAME}.1.gz
.include <bsd.port.mk>
diff --git a/sysutils/fortunelock/files/patch-Makefile b/sysutils/fortunelock/files/patch-Makefile
index d6fdac07c8a0..028f49eb09e5 100644
--- a/sysutils/fortunelock/files/patch-Makefile
+++ b/sysutils/fortunelock/files/patch-Makefile
@@ -21,7 +21,7 @@
- install -m 755 fortunelock $(PREFIXDIR)/bin
- install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1
+ install -c -m 755 fortunelock $(DESTDIR)$(PREFIX)/bin
-+ install -c -m 644 fortunelock.1 $(DESTDIR)$(PREFIX)/man/man1
++ install -c -m 644 fortunelock.1 $(DESTDIR)$(PREFIX)/share/man/man1
uninstall:
- rm -rf $(PREFIXDIR)/bin/fortunelock