pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/33508 (New package lang/spl for pkgsrc)



Am Freitag, 19. Mai 2006 10:15 schrieb rillig%netbsd.org@localhost:
[...]
> I have committed the package with slight modifications. In a second step
> I added the documentation that is provided within the package, since I
> don't like programming languages that come without examples and
> documentation.
>
> Thanks for packaging SPL.

Reminding me of documentation... attached patch uses the spldoc makefile 
target to generate the API documentation of builtins and modules. The result 
is put into the spldoc directory which can also be installed along with the 
other documentation. Additionally this target generates a manual.tex file out 
of README* which is also installed. I hope the patch is fine, please review 
and apply.

Thanks for adding SPL to pkgsrc!

-- 
Raphael Langerhorst
http://raphael.g-system.at
? spldoc.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spl/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    19 May 2006 08:13:25 -0000      1.2
+++ Makefile    19 May 2006 09:40:01 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=      spl-0.9h
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  http://www.clifford.at/spl/releases/
 
@@ -23,6 +23,7 @@
 _SUBST_IS_TEXT_FILE=true
 
 MAKEFILE=      GNUmakefile
+BUILD_TARGET=  all spldoc
 EGDIR=         ${PREFIX}/share/examples/spl
 DOCDIR=                ${PREFIX}/share/doc/spl
 
@@ -31,7 +32,7 @@
        ${CHMOD} a+rwx ${PREFIX}/libexec/cgi-bin/webspl_cache
        ${LN} -s ${PREFIX}/lib/spl_modules ${PREFIX}/libexec/cgi-bin/spl_modules
        ${INSTALL_DATA_DIR} ${DOCDIR}
-       cd ${WRKSRC} && ${PAX} -rw -p am README* webspl_demo webspltut ${DOCDIR}
+       cd ${WRKSRC} && ${PAX} -rw -p am README* manual.tex spldoc webspl_demo 
webspltut ${DOCDIR}
        ${INSTALL_DATA_DIR} ${EGDIR}
        cd ${WRKSRC}/examples && ${INSTALL_DATA} example* ${EGDIR}
 
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spl/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST       19 May 2006 08:13:25 -0000      1.2
+++ PLIST       19 May 2006 09:40:02 -0000
@@ -41,6 +41,94 @@
 share/doc/spl/README.API
 share/doc/spl/README.LANG
 share/doc/spl/README.WEBSPL
+share/doc/spl/manual.tex
+share/doc/spl/spldoc/builtins.html
+share/doc/spl/spldoc/builtins.txt
+share/doc/spl/spldoc/array.html
+share/doc/spl/spldoc/array.txt
+share/doc/spl/spldoc/bits.html
+share/doc/spl/spldoc/bits.txt
+share/doc/spl/spldoc/cgi.html
+share/doc/spl/spldoc/cgi.txt
+share/doc/spl/spldoc/crypt.html
+share/doc/spl/spldoc/crypt.txt
+share/doc/spl/spldoc/curl.html
+share/doc/spl/spldoc/curl.txt
+share/doc/spl/spldoc/encode_int.html
+share/doc/spl/spldoc/encode_int.txt
+share/doc/spl/spldoc/encode_js.html
+share/doc/spl/spldoc/encode_js.txt
+share/doc/spl/spldoc/encode_regex.html
+share/doc/spl/spldoc/encode_regex.txt
+share/doc/spl/spldoc/encode_url.html
+share/doc/spl/spldoc/encode_url.txt
+share/doc/spl/spldoc/encode_xml.html
+share/doc/spl/spldoc/environ.txt
+share/doc/spl/spldoc/encode_xml.txt
+share/doc/spl/spldoc/environ.html
+share/doc/spl/spldoc/file.html
+share/doc/spl/spldoc/file.txt
+share/doc/spl/spldoc/format_ini.html
+share/doc/spl/spldoc/format_ini.txt
+share/doc/spl/spldoc/format_xml.html
+share/doc/spl/spldoc/format_xml.txt
+share/doc/spl/spldoc/kde.html
+share/doc/spl/spldoc/kde.txt
+share/doc/spl/spldoc/multimouse.html
+share/doc/spl/spldoc/multimouse.txt
+share/doc/spl/spldoc/prime.html
+share/doc/spl/spldoc/prime.txt
+share/doc/spl/spldoc/qt.html
+share/doc/spl/spldoc/qt.txt
+share/doc/spl/spldoc/sdl.html
+share/doc/spl/spldoc/sdl.txt
+share/doc/spl/spldoc/sql.html
+share/doc/spl/spldoc/sql.txt
+share/doc/spl/spldoc/sql_mysql.html
+share/doc/spl/spldoc/sql_mysql.txt
+share/doc/spl/spldoc/sql_postgres.html
+share/doc/spl/spldoc/sql_sqlite.html
+share/doc/spl/spldoc/sql_postgres.txt
+share/doc/spl/spldoc/sql_sqlite.txt
+share/doc/spl/spldoc/sql_utils.html
+share/doc/spl/spldoc/sql_utils.txt
+share/doc/spl/spldoc/system.html
+share/doc/spl/spldoc/system.txt
+share/doc/spl/spldoc/task.html
+share/doc/spl/spldoc/task.txt
+share/doc/spl/spldoc/termio.html
+share/doc/spl/spldoc/termio.txt
+share/doc/spl/spldoc/time.html
+share/doc/spl/spldoc/time.txt
+share/doc/spl/spldoc/uuidgen.html
+share/doc/spl/spldoc/uuidgen.txt
+share/doc/spl/spldoc/w2t.html
+share/doc/spl/spldoc/w2t.txt
+share/doc/spl/spldoc/webdebug.html
+share/doc/spl/spldoc/webdebug.txt
+share/doc/spl/spldoc/wsf.html
+share/doc/spl/spldoc/wsf.txt
+share/doc/spl/spldoc/wsf_action.html
+share/doc/spl/spldoc/wsf_action.txt
+share/doc/spl/spldoc/wsf_debug.html
+share/doc/spl/spldoc/xml.txt
+share/doc/spl/spldoc/wsf_debug.txt
+share/doc/spl/spldoc/wsf_dialog.html
+share/doc/spl/spldoc/wsf_dialog.txt
+share/doc/spl/spldoc/wsf_display.html
+share/doc/spl/spldoc/wsf_display.txt
+share/doc/spl/spldoc/wsf_edit.html
+share/doc/spl/spldoc/wsf_edit.txt
+share/doc/spl/spldoc/wsf_edit_sql.html
+share/doc/spl/spldoc/wsf_edit_sql.txt
+share/doc/spl/spldoc/wsf_graph.html
+share/doc/spl/spldoc/wsf_graph.txt
+share/doc/spl/spldoc/wsf_menu.html
+share/doc/spl/spldoc/wsf_menu.txt
+share/doc/spl/spldoc/wsf_switch.html
+share/doc/spl/spldoc/wsf_switch.txt
+share/doc/spl/spldoc/xml.html
+share/doc/spl/spldoc/index.html
 share/doc/spl/webspl_demo/calc_off.spltpl
 share/doc/spl/webspl_demo/calc_on.spltpl
 share/doc/spl/webspl_demo/cookies.webspl
@@ -217,6 +305,7 @@
 share/examples/spl/example67.expected
 share/examples/spl/example67.spl
 @dirrm share/examples/spl
+@dirrm share/doc/spl/spldoc
 @dirrm share/doc/spl/webspltut
 @dirrm share/doc/spl/webspl_demo/images
 @dirrm share/doc/spl/webspl_demo


Home | Main Index | Thread Index | Old Index