1) Add WITHOUT_TIN_MAILBOX_MANPAGES knob

2) Drop my maintainership

PR:             127509
Submitted by:   "N.J. Mann" <njm@njm.me.uk> (1)
This commit is contained in:
Andrey A. Chernov 2008-09-28 15:44:09 +00:00
parent df4d3b94c3
commit 838a1baaa6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220942
2 changed files with 21 additions and 2 deletions

View file

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

View file

@ -0,0 +1,13 @@
--- src/Makefile.in~ 2006-05-04 09:19:04.000000000 +0100
+++ src/Makefile.in 2008-09-19 11:01:52.000000000 +0100
@@ -336,8 +336,8 @@
@$(INSTALL) -m 444 $(DOCDIR)/tin.1 $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)/$(PROJECT).$(INS_MANUAL_EXT)
@( $(CD) $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) && $(RM) -f r$(PROJECT).$(INS_MANUAL_EXT) && $(LN) $(PROJECT).$(INS_MANUAL_EXT) r$(PROJECT).$(INS_MANUAL_EXT) )
@$(INSTALL) -m 444 $(DOCDIR)/tin.5 $(DESTDIR)$(INS_MANUAL_DIR)5/$(PROJECT).5
- @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mbox.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 - file already exists" ; fi
- @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mmdf.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 - file already exists" ; fi
+# @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mbox.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 - file already exists" ; fi
+# @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mmdf.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 - file already exists" ; fi
uninstall_manpage :
@$(ECHO) "Uninstalling $(PROJECT) manual page in $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) ..."