[100997] trunk/dports/devel/ossp-uuid/Portfile

mfeiri at macports.org mfeiri at macports.org
Wed Jan 2 18:25:02 PST 2013


Revision: 100997
          https://trac.macports.org/changeset/100997
Author:   mfeiri at macports.org
Date:     2013-01-02 18:25:02 -0800 (Wed, 02 Jan 2013)
Log Message:
-----------
ossp-uuid: avoid man page conflict with libc-headers

Modified Paths:
--------------
    trunk/dports/devel/ossp-uuid/Portfile

Modified: trunk/dports/devel/ossp-uuid/Portfile
===================================================================
--- trunk/dports/devel/ossp-uuid/Portfile	2013-01-03 02:19:17 UTC (rev 100996)
+++ trunk/dports/devel/ossp-uuid/Portfile	2013-01-03 02:25:02 UTC (rev 100997)
@@ -5,6 +5,7 @@
 
 name			ossp-uuid
 version			1.6.2
+revision                1
 categories		devel
 license			MIT
 platforms		darwin
@@ -52,6 +53,13 @@
     }
 }
 
+post-destroot {
+    # avoid conflict with libc-headers
+    file rename -force ${destroot}${prefix}/share/man/man3/uuid.3 ${destroot}${prefix}/share/man/man3/ossp-uuid.3
+    file rename -force ${destroot}${prefix}/share/man/man1/uuid.1 ${destroot}${prefix}/share/man/man1/ossp-uuid.1
+    file rename -force ${destroot}${prefix}/share/man/man1/uuid-config.1 ${destroot}${prefix}/share/man/man1/ossp-uuid-config.1
+}
+
 test.run		yes
 test.target		check
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130102/d2d0f833/attachment.html>


More information about the macports-changes mailing list