aboutsummaryrefslogtreecommitdiffstats
path: root/news/tin/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2008-09-28 23:44:09 +0800
committerache <ache@FreeBSD.org>2008-09-28 23:44:09 +0800
commit3eaf8e78bfa0edf60bf93886ebfcb7a32e355871 (patch)
tree11dc615eba2fe5db365bc5a006f9f43e072958e3 /news/tin/Makefile
parentc831080ce4310791521a9399133f6290b7ba931e (diff)
downloadfreebsd-ports-gnome-3eaf8e78bfa0edf60bf93886ebfcb7a32e355871.tar.gz
freebsd-ports-gnome-3eaf8e78bfa0edf60bf93886ebfcb7a32e355871.tar.zst
freebsd-ports-gnome-3eaf8e78bfa0edf60bf93886ebfcb7a32e355871.zip
1) Add WITHOUT_TIN_MAILBOX_MANPAGES knob
2) Drop my maintainership PR: 127509 Submitted by: "N.J. Mann" <njm@njm.me.uk> (1)
Diffstat (limited to 'news/tin/Makefile')
-rw-r--r--news/tin/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 9e2db0816868..91b8b83677cd 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -22,7 +22,7 @@ MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/ \
ftp://ftp.informatik.uni-hamburg.de/pub/soft/news/tin/stable/
-MAINTAINER?= ache@FreeBSD.org
+MAINTAINER?= ports@FreeBSD.org
COMMENT= Easy-to-use threaded newsreader with NOV/NNTP support
LIB_DEPENDS= uu.3:${PORTSDIR}/converters/uulib \
@@ -63,7 +63,10 @@ CONFIGURE_ENV= CFLAGS='${CFLAGS} -DNNTP_SERVER_FILE="\"${PREFIX}/etc/nntpserver\
LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib'
ALL_TARGET= build
MAN1= tin.1 w2r.pl.1 opt-case.pl.1 tinews.pl.1
-MAN5= tin.5 mbox.5 mmdf.5
+MAN5= tin.5
+.if !defined(WITHOUT_TIN_MAILBOX_MANPAGES)
+MAN5+= mbox.5 mmdf.5
+.endif
MLINKS= tin.1 rtin.1
.if defined(WITH_TIN_NNTP_ONLY)
@@ -102,6 +105,9 @@ CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail
.endif
post-patch:
+.if defined(WITHOUT_TIN_MAILBOX_MANPAGES)
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-no-mbox-manpage
+.endif
${REINPLACE_CMD} -e 's:/var/spool/news:/var/news:g' \
-e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:g' \
-e 's:/usr/lib/news:${PREFIX}/news/lib:g' \