svn commit: r504545 - head/sysutils/eclat

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jun 19 13:17:55 UTC 2019


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
+ at sample etc/eclat.conf.sample
 man/man1/eclat-assocaddr.1.gz
 man/man1/eclat-atvol.1.gz
 man/man1/eclat-clrsattr.1.gz


More information about the svn-ports-all mailing list