Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2019 13:17:54 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504545 - head/sysutils/eclat
Message-ID:  <201906191317.x5JDHsmq016212@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Jun 19 13:17:53 2019
New Revision: 504545
URL: https://svnweb.freebsd.org/changeset/ports/504545

Log:
  Annotate configuration file as @sample so it would be preserved during
  the package update or uninstall.

Modified:
  head/sysutils/eclat/Makefile
  head/sysutils/eclat/pkg-plist

Modified: head/sysutils/eclat/Makefile
==============================================================================
--- head/sysutils/eclat/Makefile	Wed Jun 19 12:41:54 2019	(r504544)
+++ head/sysutils/eclat/Makefile	Wed Jun 19 13:17:53 2019	(r504545)
@@ -3,6 +3,7 @@
 
 PORTNAME=	eclat
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	sysutils net
 MASTER_SITES=	http://download.gnu.org.ua/pub/release/${PORTNAME}/ \
 		http://download.gnu.org.ua/pub/alpha/${PORTNAME}/
@@ -29,6 +30,10 @@ GDBM_CONFIGURE_WITH=	gdbm
 
 LDAP_USE=		OPENLDAP=yes
 LDAP_CONFIGURE_WITH=	ldap
+
+post-patch:
+	@${REINPLACE_CMD} -e '/DESTDIR/s,eclat\.conf,&.sample,' \
+		${WRKSRC}/etc/Makefile.in
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/sysutils/eclat/pkg-plist
==============================================================================
--- head/sysutils/eclat/pkg-plist	Wed Jun 19 12:41:54 2019	(r504544)
+++ head/sysutils/eclat/pkg-plist	Wed Jun 19 13:17:53 2019	(r504545)
@@ -1,6 +1,6 @@
 bin/eclat
 bin/ispeek
-etc/eclat.conf
+@sample etc/eclat.conf.sample
 man/man1/eclat-assocaddr.1.gz
 man/man1/eclat-atvol.1.gz
 man/man1/eclat-clrsattr.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906191317.x5JDHsmq016212>