svn commit: r509651 - in head/devel/websvn: . files

Baptiste Daroussin bapt at FreeBSD.org
Fri Aug 23 15:23:44 UTC 2019


Author: bapt
Date: Fri Aug 23 15:23:43 2019
New Revision: 509651
URL: https://svnweb.freebsd.org/changeset/ports/509651

Log:
  Use pkg's ability to only print messages on removal instead of always
  echoing a message.

Modified:
  head/devel/websvn/files/pkg-message.in
  head/devel/websvn/pkg-plist

Modified: head/devel/websvn/files/pkg-message.in
==============================================================================
--- head/devel/websvn/files/pkg-message.in	Fri Aug 23 15:20:12 2019	(r509650)
+++ head/devel/websvn/files/pkg-message.in	Fri Aug 23 15:23:43 2019	(r509651)
@@ -7,5 +7,10 @@ To setup WebSVN, please edit the configuration file:
 and modify your web server's configuration to serve
 WebSVN actually!
 EOM
+},
+{ type: remove
+  message: <<EOM
+Consider deleting %%PREFIX%%/%%ETCDIR%%!
+EOM
 }
 ]

Modified: head/devel/websvn/pkg-plist
==============================================================================
--- head/devel/websvn/pkg-plist	Fri Aug 23 15:20:12 2019	(r509650)
+++ head/devel/websvn/pkg-plist	Fri Aug 23 15:23:43 2019	(r509651)
@@ -212,6 +212,5 @@
 %%WWWDIR%%/templates/calm/revision.tmpl
 %%WWWDIR%%/templates/calm/styles.css
 @sample %%WWWDIR%%/templates/calm/user_greeting.tmpl %%WWWDIR%%/templates/calm/user_greeting.tmpl.sample
- at postunexec echo "==> If your are permanently removing this package consider deleting %%PREFIX%%/%%ETCDIR%%!"
 @dir(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/subversion
 @dir %%ETCDIR%%


More information about the svn-ports-all mailing list