From 74a5f6e6902b83c9d8c4d08db2649269fdcaa19e Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 6 Apr 2003 12:08:10 +0000 Subject: slurp port overwrites/delete existing configuration file Installing(/deinstalling) package slurp-1.10_1 causes any existing configuration file /usr/local/news/lib/slurp.sys to be overwritten(/deleted). Since this file may be quite long this is a considerable annoyance. Package should install a sample file instead, eg. /usr/local/news/lib/slurp.sys.sample PR: ports/40276 Submitted by: Thomas Sandford --- news/slurp/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'news/slurp/Makefile') diff --git a/news/slurp/Makefile b/news/slurp/Makefile index e85bb17..229ef32 100644 --- a/news/slurp/Makefile +++ b/news/slurp/Makefile @@ -7,7 +7,7 @@ PORTNAME= slurp PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= news MASTER_SITES= ftp://ftp.demon.co.uk/pub/news/slurp/ EXTRACT_SUFX= .tar.Z @@ -24,6 +24,9 @@ pre-install: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/slurp ${PREFIX}/news/bin ${INSTALL_MAN} ${WRKSRC}/slurp.1 ${PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/slurp.sys ${PREFIX}/news/lib + ${INSTALL_DATA} ${WRKSRC}/slurp.sys ${PREFIX}/news/lib/slurp.sys.sample + +post-install: + ${CAT} ${PKGMESSAGE} .include -- cgit v1.1