aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/tin/Makefile12
-rw-r--r--news/tin/distinfo2
2 files changed, 10 insertions, 4 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 1252f814b5b..b600da64cb4 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -4,11 +4,10 @@
# Date created: 25 July 1996
# Whom: obrien@cs.ucdavis.edu
#
-# $Id: Makefile,v 1.50 1997/12/04 21:46:36 ache Exp $
+# $Id: Makefile,v 1.51 1997/12/09 07:53:56 obrien Exp $
#
-DISTNAME= tinpre-1.4-971204
-PKGNAME= tinpre-1.4-971204
+DISTNAME= tinpre-1.4-980105
CATEGORIES= news
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/tin/ \
ftp://ftp.akk.uni-karlsruhe.de/pub/tin/ \
@@ -38,6 +37,13 @@ MAN1= tin.1
CONFIGURE_ARGS+= --enable-nntp-only
.endif
+post-patch:
+ @${MV} ${WRKSRC}/doc/tin.1 ${WRKSRC}/doc/tin.1.dist
+ @${SED} -e 's:/var/spool/news:/var/news:' \
+ -e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:' \
+ -e 's:/usr/lib/news:${PREFIX}/news/lib:' \
+ <${WRKSRC}/doc/tin.1.dist >${WRKSRC}/doc/tin.1
+
post-configure:
${ECHO} '#define NNTP_SERVER_FILE "${PREFIX}/etc/nntpserver"' >>${WRKSRC}/include/autoconf.h
${ECHO} '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h
diff --git a/news/tin/distinfo b/news/tin/distinfo
index 4a4006e7e88..20368d27656 100644
--- a/news/tin/distinfo
+++ b/news/tin/distinfo
@@ -1 +1 @@
-MD5 (tinpre-1.4-971204.tgz) = 8020e0d4c17ad472373f2b68d70376d5
+MD5 (tinpre-1.4-980105.tgz) = 9e2800ff0921a0bc302a309fe097e5d5