aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-03-10 08:13:13 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-03-10 09:55:39 +0000
commit999f7279e1e351267e65dd0c86da7b57712a5c69 (patch)
tree4c60b51e1f5becb084588c9553a94183ac15185d
parent92e54b5191cab57ca7271c73d233ded8a0f79216 (diff)
downloadports-999f7279e1e351267e65dd0c86da7b57712a5c69.tar.gz
ports-999f7279e1e351267e65dd0c86da7b57712a5c69.zip
mail/mls: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--mail/mls/Makefile4
-rw-r--r--mail/mls/files/patch-Makefile4
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 ***"