Hello.

luarexlib installs its documentation in a strange place: ${PREFIX}/doc
instead of ${PREFIX}/share/doc , as other ports do. Here is a fix.

-- 
  Best wishes,
    Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/luarexlib/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    10 Sep 2009 20:23:18 -0000      1.7
+++ Makefile    4 Mar 2010 06:59:33 -0000
@@ -28,12 +28,12 @@ REGRESS_DEPENDS+=::devel/luarexlib
 
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
-       ${INSTALL_DATA_DIR} ${PREFIX}/doc/luarexlib
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luarexlib
        ${INSTALL_DATA} ${WRKSRC}/src/oniguruma/*.so \
                ${WRKSRC}/src/pcre/*.so \
                ${WRKSRC}/src/posix/*.so \
                ${PREFIX}/lib/lua/5.1
-       ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/doc/luarexlib
+       ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/luarexlib
 
 do-regress:
        cd ${WRKDIST}/test && lua runtest.lua -v onig
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/luarexlib/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   12 May 2007 09:25:13 -0000      1.1.1.1
+++ pkg/PLIST   4 Mar 2010 06:59:33 -0000
@@ -1,7 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/12 09:25:13 pedro Exp $
 %%SHARED%%
-doc/
-doc/luarexlib/
-doc/luarexlib/html4css1.css
-doc/luarexlib/lrexlib.css
-doc/luarexlib/manual.html
+share/doc/luarexlib/
+share/doc/luarexlib/html4css1.css
+share/doc/luarexlib/lrexlib.css
+share/doc/luarexlib/manual.html

Reply via email to