mail/mls: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Nuno Teixeira 2024-03-10 08:13:13 +00:00
parent 92e54b5191
commit 999f7279e1
2 changed files with 4 additions and 4 deletions

View file

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

View file

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