net/whois: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-25 11:48:03 +01:00
parent b3e11d07f2
commit 9c9aa25002
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
3 changed files with 14 additions and 17 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= whois
DISTVERSIONPREFIX= v
DISTVERSION= 5.5.7
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= coco@executive-computing.de

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2019-12-31 02:05:47 UTC
--- Makefile.orig 2020-10-03 15:43:15 UTC
+++ Makefile
@@ -1,5 +1,9 @@
@@ -1,5 +1,9 @@ prefix = /usr
prefix = /usr
+ifdef PREFIX
@ -10,7 +10,7 @@
ifdef DESTDIR
BASEDIR := $(DESTDIR)
endif
@@ -72,13 +76,13 @@ endif
@@ -72,13 +76,13 @@ CPPFLAGS += $(DEFS) $(INCLUDES)
CPPFLAGS += $(DEFS) $(INCLUDES)
##############################################################################
@ -26,7 +26,7 @@
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(whois_LDADD) $(LIBS)
mkpasswd: $(mkpasswd_OBJECTS)
@@ -115,37 +119,37 @@ servers_charset.h: servers_charset_list make_servers_c
@@ -115,21 +119,21 @@ afl:
##############################################################################
afl:
-rm -f Makefile.depend
@ -43,24 +43,20 @@
-install-whois: whois
+install-whois: %%MWHOIS%%
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man5/
$(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
$(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man5/
- $(INSTALL) -m 0755 whois $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
- $(INSTALL) -m 0644 whois.conf.5 $(BASEDIR)$(prefix)/share/man/man5/
+ $(INSTALL) -d $(BASEDIR)$(prefix)/man/man1/
+ $(INSTALL) -d $(BASEDIR)$(prefix)/man/man5/
+ $(INSTALL) -m 0755 %%MWHOIS%% $(BASEDIR)$(prefix)/bin/
+ $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/%%MWHOIS%%.1
+ $(INSTALL) -m 0644 whois.conf.5 $(BASEDIR)$(prefix)/man/man5/%%MWHOIS%%.conf.5
+ $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/%%MWHOIS%%.1
+ $(INSTALL) -m 0644 whois.conf.5 $(BASEDIR)$(prefix)/share/man/man5/%%MWHOIS%%.conf.5
install-mkpasswd: mkpasswd
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
+ $(INSTALL) -d $(BASEDIR)$(prefix)/man/man1/
@@ -137,15 +141,15 @@ install-mkpasswd: mkpasswd
$(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
+ $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/man/man1/
$(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
-install-pos:
+install-pos: pos

View File

@ -1,8 +1,8 @@
bin/mkpasswd
bin/mwhois
man/man1/mkpasswd.1.gz
man/man1/mwhois.1.gz
man/man5/mwhois.conf.5.gz
share/man/man1/mkpasswd.1.gz
share/man/man1/mwhois.1.gz
share/man/man5/mwhois.conf.5.gz
%%NLS%%share/locale/cs/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/da/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/de/LC_MESSAGES/mwhois.mo