aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-05-24 19:13:09 +0800
committerjohans <johans@FreeBSD.org>2014-05-24 19:13:09 +0800
commit850f4794109ec31002271ed9aeabbc1aaa6fcfbc (patch)
tree3bc9481ce020667bea6b11a7dec9605c8d8ea61d /news
parent77f5e0da804c05c2da3ff62aed7ae2624e5dfb1a (diff)
downloadfreebsd-ports-gnome-850f4794109ec31002271ed9aeabbc1aaa6fcfbc.tar.gz
freebsd-ports-gnome-850f4794109ec31002271ed9aeabbc1aaa6fcfbc.tar.zst
freebsd-ports-gnome-850f4794109ec31002271ed9aeabbc1aaa6fcfbc.zip
- Please poudriere build by using @sample (better and simpler)
- Bump PORTREVISION
Diffstat (limited to 'news')
-rw-r--r--news/tin/Makefile8
-rw-r--r--news/tin/pkg-plist4
2 files changed, 5 insertions, 7 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 64b1263e12f7..146a7797f3c8 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tin
PORTVERSION= 2.2.1
+PORTREVISION= 1
CATEGORIES+= news ipv6
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/v${PORTVERSION:R}/ \
ftp://ftp.sunet.se/pub/news/readers/tin/v${PORTVERSION:R}/ \
@@ -87,12 +88,11 @@ post-patch:
${WRKSRC}/tools/tinurl_handler.pl
post-build:
- cd ${WRKSRC}/po; ${GMAKE}
+ ${GMAKE} -C ${WRKSRC}/po
post-install:
- cd ${STAGEDIR}${PREFIX}/etc;\
- ${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults tin.defaults.dist;\
- ${CP} -pn tin.defaults.dist tin.defaults;
+ ${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults \
+ ${STAGEDIR}${PREFIX}/etc/tin.defaults.sample
ln -sf tin ${STAGEDIR}${PREFIX}/bin/rtin
.include <bsd.port.mk>
diff --git a/news/tin/pkg-plist b/news/tin/pkg-plist
index 55894e9b5880..26db44c477f2 100644
--- a/news/tin/pkg-plist
+++ b/news/tin/pkg-plist
@@ -5,9 +5,7 @@ bin/tin
bin/tinews.pl
bin/tinurl_handler.pl
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
-@exec [ -f %B/tin.defaults ] || cp %B/%f %B/tin.defaults
+@sample etc/tin.defaults.sample
man/man1/opt-case.pl.1.gz
man/man1/rtin.1.gz
man/man1/tin.1.gz