[28020] trunk/dports/textproc/most/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 18 06:48:19 PDT 2007


Revision: 28020
          http://trac.macosforge.org/projects/macports/changeset/28020
Author:   nox at macports.org
Date:     2007-08-18 06:48:19 -0700 (Sat, 18 Aug 2007)

Log Message:
-----------
most: Fixed man and doc directory installation.

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

Modified: trunk/dports/textproc/most/Portfile
===================================================================
--- trunk/dports/textproc/most/Portfile	2007-08-18 10:02:31 UTC (rev 28019)
+++ trunk/dports/textproc/most/Portfile	2007-08-18 13:48:19 UTC (rev 28020)
@@ -20,9 +20,13 @@
                  rmd160 5fca40fad3455bbaea9949268f53496055359b49
 depends_lib      port:slang
 
-configure.args  --mandir=${prefix}/share/man \
-                --docdir=${prefix}/share/doc/${name}-${version}
+post-patch {
+	cd ${worksrcpath}/src
 
+	reinplace -E "/MAN_DIR/s|man|share/man|" Makefile.in
+	reinplace -E "/DOC_DIR/s|doc.*\$|share/doc/${name}-${version}|" Makefile.in
+}
+
 variant x11 description {Enable X11 support} {
     depends_lib-append      lib:libX11.6:XFree86
     configure.args-append   --with-x

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070818/d8aad082/attachment.html


More information about the macports-changes mailing list