[116177] trunk/dports/textproc/c2html/Portfile

sean at macports.org sean at macports.org
Mon Jan 20 20:49:02 PST 2014


Revision: 116177
          https://trac.macports.org/changeset/116177
Author:   sean at macports.org
Date:     2014-01-20 20:49:02 -0800 (Mon, 20 Jan 2014)
Log Message:
-----------
c2html: remove files that previously skipped destroot

Modified Paths:
--------------
    trunk/dports/textproc/c2html/Portfile

Modified: trunk/dports/textproc/c2html/Portfile
===================================================================
--- trunk/dports/textproc/c2html/Portfile	2014-01-21 04:01:27 UTC (rev 116176)
+++ trunk/dports/textproc/c2html/Portfile	2014-01-21 04:49:02 UTC (rev 116177)
@@ -33,6 +33,13 @@
 
 configure.args      --mandir=${prefix}/share/man
 
+pre-activate {
+    set cachefile ${prefix}/share/man/man1/c2html.1
+    if {[file exists $cachefile] && [registry_file_registered $cachefile] == "0"} {
+        file delete -force $cachefile
+    }
+}
+
 livecheck.version   ${version}-3
 livecheck.type      regex
 livecheck.regex     ${name}/(\[0-9.-\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140120/9614d5f0/attachment-0001.html>


More information about the macports-changes mailing list