[39236] trunk/dports/devel/libedit/Portfile

gwright at macports.org gwright at macports.org
Tue Aug 12 23:46:07 PDT 2008


Revision: 39236
          http://trac.macosforge.org/projects/macports/changeset/39236
Author:   gwright at macports.org
Date:     2008-08-12 23:46:07 -0700 (Tue, 12 Aug 2008)
Log Message:
-----------
Move some manpages to avoid name clashes with readline port.

Modified Paths:
--------------
    trunk/dports/devel/libedit/Portfile

Modified: trunk/dports/devel/libedit/Portfile
===================================================================
--- trunk/dports/devel/libedit/Portfile	2008-08-13 04:35:11 UTC (rev 39235)
+++ trunk/dports/devel/libedit/Portfile	2008-08-13 06:46:07 UTC (rev 39236)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name             libedit
 version          2.6.10
+revision	 1
 categories       devel
 maintainers      nomaintainer
 description      command line editing and history library
@@ -29,3 +30,13 @@
 destroot.destdir PREFIX=${destroot}${prefix}
 
 depends_lib      port:ncurses
+
+# Avoid name clashes with readline port:
+post-destroot	 {
+        file rename ${destroot}${prefix}/share/man/man3/history.3 \
+	     	    ${destroot}${prefix}/share/man/man3/el_history.3
+        file rename ${destroot}${prefix}/share/man/man3/history_end.3 \
+	     	    ${destroot}${prefix}/share/man/man3/el_history_end.3
+        file rename ${destroot}${prefix}/share/man/man3/history_init.3 \
+	     	    ${destroot}${prefix}/share/man/man3/el_history_init.3
+}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080812/470eae79/attachment.html 


More information about the macports-changes mailing list