summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-03-03 09:45:16 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-03-03 10:04:09 +0000
commit05cfee41cbdad90d0333b07487eeff97342867e4 (patch)
treeb772cd01f010a2a380e1a6c4798b43ff8a0c3821
parente95c6a2b13927e6512860280b1b128dd8a5ebd41 (diff)
downloadfreebsd-ports-05cfee41cbdad90d0333b07487eeff97342867e4.zip
comms/mgetty+sendfax: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--comms/mgetty+sendfax/Makefile2
-rw-r--r--comms/mgetty+sendfax/files/patch-Makefile25
-rw-r--r--comms/mgetty+sendfax/pkg-plist88
3 files changed, 66 insertions, 49 deletions
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile
index 83ca8add9efc..744e9b7cc700 100644
--- a/comms/mgetty+sendfax/Makefile
+++ b/comms/mgetty+sendfax/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mgetty
PORTVERSION= 1.1.37
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= comms
MASTER_SITES= ftp://mgetty.greenie.net/pub/mgetty/source/1.1/
DISTNAME= ${PORTNAME}${PORTVERSION}-Jun05
diff --git a/comms/mgetty+sendfax/files/patch-Makefile b/comms/mgetty+sendfax/files/patch-Makefile
index 7e88c227ee96..5fb7bab5da1a 100644
--- a/comms/mgetty+sendfax/files/patch-Makefile
+++ b/comms/mgetty+sendfax/files/patch-Makefile
@@ -18,7 +18,7 @@
#CFLAGS=-O -DSVR4
#CFLAGS=-O -DSVR4 -DSVR42
#CFLAGS=-O -DUSE_POLL
-@@ -151,7 +151,7 @@ CFLAGS=-O2 -Wall -pipe
+@@ -151,7 +151,7 @@ LDFLAGS=
# For Linux, add "-lutil" if the linker complains about "updwtmp".
#
LDFLAGS=
@@ -37,7 +37,7 @@
#INSTALL=install -c -o root -g wheel # NeXT/BSD
#INSTALL=/usr/ucb/install -c -o bin -g bin # AIX, Solaris 2.x
#INSTALL=installbsd -c -o bin -g bin # OSF/1, AIX 4.1, 4.2
-@@ -223,7 +224,7 @@ FAX_SPOOL_OUT=$(FAX_SPOOL)/outgoing
+@@ -223,20 +224,20 @@ FAX_SPOOL_OUT=$(FAX_SPOOL)/outgoing
# (it's possible to run faxrunq(d) as root, but the FAX_OUT_USER
# MUST NOT BE root or any other privileged account).
#
@@ -46,6 +46,23 @@
#
#
# Where section 1 manual pages should be placed
+-MAN1DIR=$(prefix)/man/man1
++MAN1DIR=$(prefix)/share/man/man1
+ #
+ # Where section 4 manual pages (mgettydefs.4) should be placed
+-MAN4DIR=$(prefix)/man/man4
++MAN4DIR=$(prefix)/share/man/man4
+ #
+ # Section 5 man pages (faxqueue.5)
+-MAN5DIR=$(prefix)/man/man5
++MAN5DIR=$(prefix)/share/man/man5
+ #
+ # Section 8 man pages (sendfax.8)
+-MAN8DIR=$(prefix)/man/man8
++MAN8DIR=$(prefix)/share/man/man8
+ #
+ # Where the GNU Info-Files are located
+ #
@@ -265,12 +266,12 @@ AWK=awk
# and the "tkperl" frontends without PERL, so don't worry if you don't
# have it.
@@ -73,7 +90,7 @@
#
# for mgetty, that's it. If you want to use the voice
-@@ -324,7 +325,7 @@ SFAXOBJ=sendfax.o logfile.o locks.o mode
+@@ -324,7 +325,7 @@ all: bin-all doc-man-only
all: bin-all doc-man-only
@@ -183,7 +200,7 @@
fi
#
-@@ -671,11 +652,11 @@ install.bin: mgetty sendfax newslock \
+@@ -671,11 +652,11 @@ install.doc:
#
install.doc:
cd doc ; $(MAKE) install INSTALL="$(INSTALL)" \
diff --git a/comms/mgetty+sendfax/pkg-plist b/comms/mgetty+sendfax/pkg-plist
index 67cb28b73f9c..afdbceb9ff8f 100644
--- a/comms/mgetty+sendfax/pkg-plist
+++ b/comms/mgetty+sendfax/pkg-plist
@@ -81,50 +81,50 @@ lib/mgetty+sendfax/samples/new_fax.th
lib/mgetty+sendfax/samples/new_fax.tiff
lib/mgetty+sendfax/samples/new_fax.vacation
lib/mgetty+sendfax/samples/printfax.ps
-man/man1/autopvf.1.gz
-man/man1/basictopvf.1.gz
-man/man1/coverpg.1.gz
-man/man1/fax.1.gz
-man/man1/faxq.1.gz
-man/man1/faxrm.1.gz
-man/man1/faxrunq.1.gz
-man/man1/faxspool.1.gz
-man/man1/g32pbm.1.gz
-man/man1/g3cat.1.gz
-man/man1/lintopvf.1.gz
-man/man1/pbm2g3.1.gz
-man/man1/pvf.1.gz
-man/man1/pvfamp.1.gz
-man/man1/pvfcut.1.gz
-man/man1/pvfecho.1.gz
-man/man1/pvffft.1.gz
-man/man1/pvffile.1.gz
-man/man1/pvffilter.1.gz
-man/man1/pvfmix.1.gz
-man/man1/pvfnoise.1.gz
-man/man1/pvfreverse.1.gz
-man/man1/pvfsine.1.gz
-man/man1/pvfspeed.1.gz
-man/man1/pvftoau.1.gz
-man/man1/pvftobasic.1.gz
-man/man1/pvftolin.1.gz
-man/man1/pvftormd.1.gz
-man/man1/pvftovoc.1.gz
-man/man1/pvftowav.1.gz
-man/man1/rmdfile.1.gz
-man/man1/rmdtopvf.1.gz
-man/man1/sff2g3.1.gz
-man/man1/voctopvf.1.gz
-man/man1/wavtopvf.1.gz
-man/man1/zplay.1.gz
-man/man4/mgettydefs.4.gz
-man/man5/faxqueue.5.gz
-man/man8/callback.8.gz
-man/man8/faxq-helper.8.gz
-man/man8/faxrunqd.8.gz
-man/man8/mgetty.8.gz
-man/man8/sendfax.8.gz
-man/man8/vgetty.8.gz
+share/man/man1/autopvf.1.gz
+share/man/man1/basictopvf.1.gz
+share/man/man1/coverpg.1.gz
+share/man/man1/fax.1.gz
+share/man/man1/faxq.1.gz
+share/man/man1/faxrm.1.gz
+share/man/man1/faxrunq.1.gz
+share/man/man1/faxspool.1.gz
+share/man/man1/g32pbm.1.gz
+share/man/man1/g3cat.1.gz
+share/man/man1/lintopvf.1.gz
+share/man/man1/pbm2g3.1.gz
+share/man/man1/pvf.1.gz
+share/man/man1/pvfamp.1.gz
+share/man/man1/pvfcut.1.gz
+share/man/man1/pvfecho.1.gz
+share/man/man1/pvffft.1.gz
+share/man/man1/pvffile.1.gz
+share/man/man1/pvffilter.1.gz
+share/man/man1/pvfmix.1.gz
+share/man/man1/pvfnoise.1.gz
+share/man/man1/pvfreverse.1.gz
+share/man/man1/pvfsine.1.gz
+share/man/man1/pvfspeed.1.gz
+share/man/man1/pvftoau.1.gz
+share/man/man1/pvftobasic.1.gz
+share/man/man1/pvftolin.1.gz
+share/man/man1/pvftormd.1.gz
+share/man/man1/pvftovoc.1.gz
+share/man/man1/pvftowav.1.gz
+share/man/man1/rmdfile.1.gz
+share/man/man1/rmdtopvf.1.gz
+share/man/man1/sff2g3.1.gz
+share/man/man1/voctopvf.1.gz
+share/man/man1/wavtopvf.1.gz
+share/man/man1/zplay.1.gz
+share/man/man4/mgettydefs.4.gz
+share/man/man5/faxqueue.5.gz
+share/man/man8/callback.8.gz
+share/man/man8/faxq-helper.8.gz
+share/man/man8/faxrunqd.8.gz
+share/man/man8/mgetty.8.gz
+share/man/man8/sendfax.8.gz
+share/man/man8/vgetty.8.gz
sbin/callback
sbin/faxrunqd
sbin/mgetty