git: 999f7279e1e3 - main - mail/mls: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Mar 2024 09:56:06 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=999f7279e1e351267e65dd0c86da7b57712a5c69
commit 999f7279e1e351267e65dd0c86da7b57712a5c69
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-10 08:13:13 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-10 09:55:39 +0000
mail/mls: Move man pages to share/man
Approved by: portmgr (blanket)
---
mail/mls/Makefile | 4 ++--
mail/mls/files/patch-Makefile | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mail/mls/Makefile b/mail/mls/Makefile
index 525ba910f747..ccaf23672c54 100644
--- a/mail/mls/Makefile
+++ b/mail/mls/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mls
PORTVERSION= 1.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= https://www.marki-online.net/MLS/
@@ -17,7 +17,7 @@ MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= mls
SUB_FILES= pkg-message
-PLIST_FILES= bin/mls man/man1/mls.1.gz
+PLIST_FILES= bin/mls share/man/man1/mls.1.gz
PORTDATA= html/bar.gif html/mls_class.php html/style_mls.css
PORTDOCS= README.txt
PORTEXAMPLES= README example.php forward procmailrc
diff --git a/mail/mls/files/patch-Makefile b/mail/mls/files/patch-Makefile
index 3bd3e25bbb1c..124d6f9f04ab 100644
--- a/mail/mls/files/patch-Makefile
+++ b/mail/mls/files/patch-Makefile
@@ -16,7 +16,7 @@
CFLAGS=-Wall $(OPTIMIZE) $(DEBUG)
LIBS=-lm
CC=gcc
-@@ -37,9 +37,8 @@ mls_text.o: mls_text.c mls_text.h mls_lang.h Makefile
+@@ -37,9 +37,8 @@ install: mls
$(CC) $(CFLAGS) -c mls_text.c -o mls_text.o
install: mls
@@ -24,7 +24,7 @@
- install -m 644 -g root -o root mls.1 $(DESTDIR)/man/man1
- gzip -9f $(DESTDIR)/man/man1/mls.1
+ $(BSD_INSTALL_PROGRAM) mls $(DESTDIR)$(PREFIX)/bin
-+ $(BSD_INSTALL_MAN) mls.1 $(DESTDIR)$(PREFIX)/man/man1
++ $(BSD_INSTALL_MAN) mls.1 $(DESTDIR)$(PREFIX)/share/man/man1
@echo "**************************************************************"
@echo "*** To use HTML feature or PHP wrapper, copy contents of ***"
@echo "*** 'html' subdirectory to location accessible by your ***"