aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 10:48:03 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 11:32:29 +0000
commit9c9aa25002bbacf51f7e617507e3ffd77cdf7b3f (patch)
tree7a63cbc1e89d6aada5aa764df7db244ac13f000e
parentb3e11d07f27f705a25d2e35fc269d61f2450ce18 (diff)
downloadports-9c9aa25002bbacf51f7e617507e3ffd77cdf7b3f.tar.gz
ports-9c9aa25002bbacf51f7e617507e3ffd77cdf7b3f.zip
net/whois: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--net/whois/Makefile1
-rw-r--r--net/whois/files/patch-Makefile24
-rw-r--r--net/whois/pkg-plist6
3 files changed, 14 insertions, 17 deletions
diff --git a/net/whois/Makefile b/net/whois/Makefile
index cbe3a4537994..5aa1b817a9dc 100644
--- a/net/whois/Makefile
+++ b/net/whois/Makefile
@@ -1,6 +1,7 @@
PORTNAME= whois
DISTVERSIONPREFIX= v
DISTVERSION= 5.5.7
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= coco@executive-computing.de
diff --git a/net/whois/files/patch-Makefile b/net/whois/files/patch-Makefile
index 8ad003137a2c..4dbdfc539c98 100644
--- a/net/whois/files/patch-Makefile
+++ b/net/whois/files/patch-Makefile
@@ -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
diff --git a/net/whois/pkg-plist b/net/whois/pkg-plist
index 4ea2fef051a6..5eb5c18f6d74 100644
--- a/net/whois/pkg-plist
+++ b/net/whois/pkg-plist
@@ -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