aboutsummaryrefslogtreecommitdiff
path: root/news/tin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-02-12 18:28:37 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-02-12 18:28:37 +0000
commit536c789c22100afea4d39bf615468d75e6770ab4 (patch)
tree6d9fdf2f16f2dc93c2aea3996cedd62c61e8e716 /news/tin
parentfe41cb24c79e9558d8172a62cf225b1e5161980e (diff)
downloadports-536c789c22100afea4d39bf615468d75e6770ab4.tar.gz
ports-536c789c22100afea4d39bf615468d75e6770ab4.zip
Notes
Diffstat (limited to 'news/tin')
-rw-r--r--news/tin/Makefile17
-rw-r--r--news/tin/pkg-plist2
2 files changed, 13 insertions, 6 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 2074e785b15b..d9e0371aa2d8 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tin
PORTVERSION= 1.8.3
+PORTREVISION= 1
CATEGORIES+= news ipv6
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
ftp://ftp.sunet.se/pub/news/readers/tin/stable/ \
@@ -95,14 +96,20 @@ CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail
.endif
post-patch:
- ${REINPLACE_CMD} -e 's:/var/spool/news:/var/news:' \
- -e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:' \
- -e 's:/usr/lib/news:${PREFIX}/news/lib:' \
- -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:' \
+ ${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' \
+ -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:g' \
+ -e 's:url_handler\.sh:tinurl_handler.sh:g' \
${WRKSRC}/doc/tin.1 ${WRKSRC}/doc/tin.5
${REINPLACE_CMD} \
- -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:' \
+ -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:g' \
${WRKSRC}/src/mimetypes.c
+ ${REINPLACE_CMD} \
+ -e 's:url_handler\.sh:tinurl_handler.sh:g' \
+ ${WRKSRC}/src/Makefile.in ${WRKSRC}/include/tin.h
+ ${MV} ${WRKSRC}/tools/url_handler.sh \
+ ${WRKSRC}/tools/tinurl_handler.sh
.if defined(WITH_TIN_CANLOCK)
MAKE_ARGS+= CANLIB='-L../libcanlock -lcanlock' \
diff --git a/news/tin/pkg-plist b/news/tin/pkg-plist
index bc4555acb010..5af50e7026dd 100644
--- a/news/tin/pkg-plist
+++ b/news/tin/pkg-plist
@@ -4,7 +4,7 @@ bin/tin
@exec ln -fs %f %B/rtin
@unexec rm -f %B/rtin
bin/tinews.pl
-bin/url_handler.sh
+bin/tinurl_handler.sh
bin/w2r.pl
@unexec if cmp -s %D/etc/tin.defaults %D/etc/tin.defaults.dist; then rm -f %D/etc/tin.defaults; fi
etc/tin.defaults.dist