svn commit: r355009 - head/news/tin

Johan van Selst johans at FreeBSD.org
Sat May 24 11:13:10 UTC 2014


Author: johans
Date: Sat May 24 11:13:09 2014
New Revision: 355009
URL: http://svnweb.freebsd.org/changeset/ports/355009
QAT: https://qat.redports.org/buildarchive/r355009/

Log:
  - Please poudriere build by using @sample (better and simpler)
  - Bump PORTREVISION

Modified:
  head/news/tin/Makefile
  head/news/tin/pkg-plist

Modified: head/news/tin/Makefile
==============================================================================
--- head/news/tin/Makefile	Sat May 24 10:31:27 2014	(r355008)
+++ head/news/tin/Makefile	Sat May 24 11:13:09 2014	(r355009)
@@ -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>

Modified: head/news/tin/pkg-plist
==============================================================================
--- head/news/tin/pkg-plist	Sat May 24 10:31:27 2014	(r355008)
+++ head/news/tin/pkg-plist	Sat May 24 11:13:09 2014	(r355009)
@@ -5,9 +5,7 @@ bin/tin
 bin/tinews.pl
 bin/tinurl_handler.pl
 bin/w2r.pl
- at 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
- at exec [ -f %B/tin.defaults ] || cp %B/%f %B/tin.defaults
+ at sample etc/tin.defaults.sample
 man/man1/opt-case.pl.1.gz
 man/man1/rtin.1.gz
 man/man1/tin.1.gz


More information about the svn-ports-all mailing list