Revision
90234
Author
and.damore@macports.org
Date
2012-02-27 03:36:30 -0800 (Mon, 27 Feb 2012)

Log Message

port lua-luahpdf: installing examples

Modified Paths

Diff

Modified: trunk/dports/devel/lua-luahpdf/Portfile (90233 => 90234)


--- trunk/dports/devel/lua-luahpdf/Portfile	2012-02-27 11:24:51 UTC (rev 90233)
+++ trunk/dports/devel/lua-luahpdf/Portfile	2012-02-27 11:36:30 UTC (rev 90234)
@@ -40,6 +40,8 @@
                     LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
 
 post-destroot {
+    xinstall -d -m 755                                 ${destroot}${prefix}/share/examples
+    file copy   ${worksrcpath}/demo                    ${destroot}${prefix}/share/examples/${name}
     file rename ${destroot}${prefix}/share/doc/luahpdf ${destroot}${prefix}/share/doc/${name}
 }