add gtksourceview2 support; simplify handling of options;

respect NOPORTEXAMPLES; change a set of sed delimiters to
permit commas in flags

PR:		157369
Approved by:	stas (maintainer)
This commit is contained in:
Brendan Fabeny 2011-09-18 15:28:34 +00:00
parent 516400410e
commit 995ffe92ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281946
2 changed files with 166 additions and 146 deletions

View File

@ -6,7 +6,7 @@
PORTNAME= lablgtk2
PORTVERSION= 2.14.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/olabl/ \
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \
@ -25,92 +25,94 @@ USE_OCAML= yes
OPTIONS= GLADE "With glade support" ON \
GNOMECANVAS "With gnomecanvas support" ON \
GNOMEUI "With gnomeui support" ON \
GTKGL "With gtkglarea support" ON \
GTKSOURCEVIEW2 "With gtksourceview2 support" ON \
GTKSPELL "With gtkspell support" ON \
GTKTL "With gtkglarea support" ON \
RSVG "With rsvg support" ON
# GNOMEPANEL "With gnomepanel support" OFF \
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
HAS_CONFIGURE= yes
ALL_TARGET= all opt
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --with-libdir=${PREFIX}/lib/ocaml
CONFIGURE_ARGS= --prefix=${PREFIX} --with-libdir=${PREFIX}/lib/ocaml --without-gtksourceview
PATTERN= [[:space:]]*(do|then)?[[:space:]]*)cp([[:space:]]
.include <bsd.port.pre.mk>
.if (exists(${LOCALBASE}/bin/lablgl) && exists(${LOCALBASE}/libdata/pkgconfig/gtkgl-2.0.pc)) || !defined(WITHOUT_GTKTL)
.if defined(WITH_GTKGL)
CONFIGURE_ARGS+= --with-gl
BUILD_DEPENDS+= lablgl:${PORTSDIR}/graphics/ocaml-lablgl
RUN_DEPENDS+= lablgl:${PORTSDIR}/graphics/ocaml-lablgl
LIB_DEPENDS+= gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2
WITH_GL= yes
PLIST_SUB+= GL=""
.else
CONFIGURE_ARGS+= --without-gl
PLIST_SUB+= GL="@comment "
.endif
.if (exists(${LOCALBASE}/libdata/pkgconfig/libglade-2.0.pc)) || !defined(WITHOUT_GLADE)
.if defined(WITH_GLADE)
CONFIGURE_ARGS+= --with-glade
USE_GNOME+= libglade2
WITH_GLADE= yes
PLIST_SUB+= GLADE=""
.else
CONFIGURE_ARGS+= --without-glade
PLIST_SUB+= GLADE="@comment "
.endif
.if (exists(${LOCALBASE}/libdata/pkgconfig/libgnomeui-2.0.pc)) || !defined(WITHOUT_GNOMEUI)
.if defined(WITH_GNOMEUI)
CONFIGURE_ARGS+= --with-gnomeui
USE_GNOME+= libgnomeui
WITH_GNOMEUI= yes
PLIST_SUB+= GNOMEUI=""
.else
CONFIGURE_ARGS+= --without-gnomeui
PLIST_SUB+= GNOMEUI="@comment "
.endif
.if (exists(${LOCALBASE}/libdata/pkgconfig/libgnomecanvas-2.0.pc)) || !defined(WITHOUT_GNOMECANVAS)
.if defined(WITH_GNOMECANVAS)
CONFIGURE_ARGS+= --with-gnomecanvas
USE_GNOME+= libgnomecanvas
PLIST_SUB+= GNOMECANVAS=""
WITH_GNOMECANVAS= yes
.else
CONFIGURE_ARGS+= --without-gnomecanvas
PLIST_SUB+= GNOMECANVAS="@comment "
.endif
.if (exists(${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc)) || !defined(WITHOUT_RSVG)
.if defined(WITH_RSVG)
CONFIGURE_ARGS+= --with-rsvg
USE_GNOME+= librsvg2
WITH_RSVG= yes
PLIST_SUB+= RSVG=""
.else
CONFIGURE_ARGS+= --without-rsvg
PLIST_SUB+= RSVG="@comment "
.endif
#.if (exists(${LOCALBASE}/libdata/pkgconfig/libpanelapplet-2.0.pc)) || !defined(WITHOUT_GNOMEPANEL)
#.if defined(WITH_GNOMEPANEL)
#CONFIGURE_ARGS+= --with-panel
#USE_GNOME+= gnomepanel
#WITH_PANEL= yes
#PLIST_SUB+= PANEL=""
#.else
CONFIGURE_ARGS+= --without-panel
PLIST_SUB+= PANEL="@comment "
#.endif
.if (exists(${LOCALBASE}/libdata/pkgconfig/gtkspell-2.0.pc)) || !defined(WITHOUT_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
.if defined(WITH_GTKSOURCEVIEW2)
CONFIGURE_ARGS+= --with-gtksourceview2
USE_GNOME+= gtksourceview2
PLIST_SUB+= GTKSOURCEVIEW2=""
.else
CONFIGURE_ARGS+= --without-gtksourceview2
PLIST_SUB+= GTKSOURCEVIEW2="@comment "
.endif
.if defined(WITH_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
CONFIGURE_ARGS+= --with-gtkspell
PLIST_SUB+= GTKSPELL=""
WITH_GTKSPELL= yes
.else
CONFIGURE_ARGS+= --without-gtkspell
PLIST_SUB+= GTKSPELL="@comment "
@ -118,44 +120,46 @@ PLIST_SUB+= GTKSPELL="@comment "
post-extract:
@${REINPLACE_CMD} -E \
-e 's,^(CFLAGS[[:space:]]*\+=[[:space:]]*-O),\1 ${CFLAGS},' \
-e 's|^(CFLAGS[[:space:]]*\+=[[:space:]]*-O)|\1 ${CFLAGS}|' \
-e 's,^(${PATTERN}+.*INSTALLDIR),\1\$${BSD_INSTALL_DATA} \3,' \
-e 's,^(${PATTERN}+.*BINDIR),\1\$${BSD_INSTALL_SCRIPT} \3,' \
-e 's,^(${PATTERN}+.*LIBDIR),\1\$${BSD_INSTALL_DATA} \3,' \
${WRKSRC}/src/Makefile
post-install:
@${INSTALL_DATA} ${WRKSRC}/META ${PREFIX}/${OCAML_LIBDIR}/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/COPYING
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/image256x256.rgb \
${WRKSRC}/examples/test.xpm \
${WRKSRC}/examples/*.ml ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/text
@${INSTALL_DATA} ${WRKSRC}/examples/text/* ${EXAMPLESDIR}/text
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/COPYING
.endif
.if defined(WITH_GL) && !defined(NOPORTDOCS)
.if defined(WITH_GTKGL)
@${MKDIR} ${EXAMPLESDIR}/GL
@${INSTALL_DATA} ${WRKSRC}/examples/GL/* ${EXAMPLESDIR}/GL
.endif
.if defined(WITH_GNOMECANVAS) && !defined(NOPORTDOCS)
.if defined(WITH_GNOMECANVAS)
@${MKDIR} ${EXAMPLESDIR}/canvas
@${INSTALL_DATA} ${WRKSRC}/examples/canvas/* ${EXAMPLESDIR}/canvas
.endif
.if defined(WITH_GLADE) && !defined(NOPORTDOCS)
.if defined(WITH_GLADE)
@${MKDIR} ${EXAMPLESDIR}/glade
@${INSTALL_DATA} ${WRKSRC}/examples/glade/* ${EXAMPLESDIR}/glade
.endif
.if defined(WITH_PANEL) && !defined(NOPORTDOCS)
.if defined(WITH_GNOMEPANEL)
@${MKDIR} ${EXAMPLESDIR}/panel
@${INSTALL_DATA} ${WRKSRC}/examples/panel/* ${EXAMPLESDIR}/panel
.endif
.if defined(WITH_RSVG) && !defined(NOPORTDOCS)
.if defined(WITH_RSVG)
@${MKDIR} ${EXAMPLESDIR}/rsvg
@${INSTALL_DATA} ${WRKSRC}/examples/rsvg/* ${EXAMPLESDIR}/rsvg
.endif
@${INSTALL_DATA} ${WRKSRC}/META ${PREFIX}/${OCAML_LIBDIR}/${PORTNAME}
.endif
.include <bsd.port.post.mk>

View File

@ -74,6 +74,9 @@ lib/ocaml/lablgtk2/gRange.cmx
lib/ocaml/lablgtk2/gRange.ml
lib/ocaml/lablgtk2/gRange.mli
lib/ocaml/lablgtk2/gSourceView.mli
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/gSourceView2.cmi
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/gSourceView2.cmx
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/gSourceView2.ml
lib/ocaml/lablgtk2/gSourceView2.mli
lib/ocaml/lablgtk2/gText.cmi
lib/ocaml/lablgtk2/gText.cmx
@ -218,6 +221,9 @@ lib/ocaml/lablgtk2/gtkSignal.cmx
lib/ocaml/lablgtk2/gtkSignal.ml
lib/ocaml/lablgtk2/gtkSignal.mli
lib/ocaml/lablgtk2/gtkSourceView_types.mli
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/gtkSourceView2.cmi
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/gtkSourceView2.cmx
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/gtkSourceView2.ml
%%GTKSPELL%%lib/ocaml/lablgtk2/gtkSpell.cmi
%%GTKSPELL%%lib/ocaml/lablgtk2/gtkSpell.cmx
%%GTKSPELL%%lib/ocaml/lablgtk2/gtkSpell.ml
@ -268,6 +274,11 @@ lib/ocaml/lablgtk2/lablgtk.cmxs
%%GL%%lib/ocaml/lablgtk2/lablgtkgl.cma
%%GL%%lib/ocaml/lablgtk2/lablgtkgl.cmxa
%%GL%%lib/ocaml/lablgtk2/lablgtkgl.cmxs
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/lablgtksourceview2.a
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/lablgtksourceview2.cma
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/lablgtksourceview2.cmxa
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/lablgtksourceview2.cmxs
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/liblablgtksourceview2.a
%%GTKSPELL%%lib/ocaml/lablgtk2/lablgtkspell.a
%%GTKSPELL%%lib/ocaml/lablgtk2/lablgtkspell.cma
%%GTKSPELL%%lib/ocaml/lablgtk2/lablgtkspell.cmxa
@ -315,6 +326,10 @@ lib/ocaml/lablgtk2/propcc
%%RSVG%%lib/ocaml/lablgtk2/rsvg.cmx
%%RSVG%%lib/ocaml/lablgtk2/rsvg.ml
lib/ocaml/lablgtk2/rsvg.mli
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/sourceView2Enums.cmi
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/sourceView2Enums.cmx
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/sourceView2Enums.ml
%%GTKSOURCEVIEW2%%lib/ocaml/lablgtk2/sourceView2_tags.h
lib/ocaml/lablgtk2/varcc
lib/ocaml/lablgtk2/win32.h
lib/ocaml/lablgtk2/wrappers.h
@ -324,124 +339,125 @@ lib/ocaml/lablgtk2/xml_lexer.mli
%%GNOMEUI%%lib/ocaml/stublibs/dlllablgnomeui.so
lib/ocaml/stublibs/dlllablgtk2.so
%%GL%%lib/ocaml/stublibs/dlllablgtkgl2.so
%%GTKSOURCEVIEW2%%lib/ocaml/stublibs/dlllablgtksourceview2.so
%%GTKSPELL%%lib/ocaml/stublibs/dlllablgtkspell.so
%%PANEL%%lib/ocaml/stublibs/dlllablpanel.so
%%RSVG%%lib/ocaml/stublibs/dlllablrsvg.so
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/aargb.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/gears.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/morph3d.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/planet.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/scene.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/simple.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/simple_th.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/texturesurf.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/tutorial-2.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/tutorial-3.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/tutorial-4.ml
%%GL%%%%PORTDOCS%%%%EXAMPLESDIR%%/GL/tutorial-5.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/about.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/accel_tree.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/action.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/assistant.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/assistant_tutorial.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/buttons.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/calc.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/calendar.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-arrowhead.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-curve.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-features.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-fifteen.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-primitives.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-richtext.ml
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/flower.png
%%PORTDOCS%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/toroid.png
%%PORTDOCS%%%%EXAMPLESDIR%%/cgets.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/clist.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/cputs.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/combo.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/combobox.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/counter.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/csview.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/curve.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/custom_list_generic.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/custom_tree.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/custom_tree_generic.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/dcalendar.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/dialog-thread.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/drawing.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/druid.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/editor.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/editor2.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/entry.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/entrycompletion.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/eventbox.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/events.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/events2.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/expander.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/fifteen.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/filechooser.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/fixed_editor.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/fixpoint.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/gioredirect.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/giotest.ml
%%PORTDOCS%%%%GLADE%%%%EXAMPLESDIR%%/glade/glade_demo.ml
%%PORTDOCS%%%%GLADE%%%%EXAMPLESDIR%%/glade/gladecalc.ml
%%PORTDOCS%%%%GLADE%%%%EXAMPLESDIR%%/glade/project1.glade
%%PORTDOCS%%%%GLADE%%%%EXAMPLESDIR%%/glade/project1.gladep
%%PORTDOCS%%%%GLADE%%%%EXAMPLESDIR%%/glade/project2.glade
%%PORTDOCS%%%%GLADE%%%%EXAMPLESDIR%%/glade/project2.gladep
%%PORTDOCS%%%%EXAMPLESDIR%%/hello.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/iconview.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/image.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/image256x256.rgb
%%PORTDOCS%%%%EXAMPLESDIR%%/kaimono.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/label.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/link_button.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/lissajous.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/nihongo.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/notebook.ml
%%PORTDOCS%%%%PANEL%%%%EXAMPLESDIR%%/panel/README
%%PORTDOCS%%%%PANEL%%%%EXAMPLESDIR%%/panel/applet.ml
%%PORTDOCS%%%%PANEL%%%%EXAMPLESDIR%%/panel/lablgtk_applet.server
%%PORTDOCS%%%%EXAMPLESDIR%%/pixview.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/pousse.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/progressbar.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/radiobuttons.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/rpn.ml
%%PORTDOCS%%%%RSVG%%%%EXAMPLESDIR%%/rsvg/floppy.svg
%%PORTDOCS%%%%RSVG%%%%EXAMPLESDIR%%/rsvg/test_rsvg.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/scrolledwin.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/signal_override.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/slide_show.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/socket.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/spell.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/spin.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/test.xpm
%%PORTDOCS%%%%EXAMPLESDIR%%/testdnd.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/testgtk.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/text/Makefile
%%PORTDOCS%%%%EXAMPLESDIR%%/text/floppybuddy.gif
%%PORTDOCS%%%%EXAMPLESDIR%%/text/gtk-logo-rgb.gif
%%PORTDOCS%%%%EXAMPLESDIR%%/text/test.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/text/test_text.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/text/text-demo.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/text/unicode_table.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/text/unicode_viewer.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/timer.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/toolbar.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/tooltip.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/tree.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/tree_model.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/tree_store.ml
%%PORTDOCS%%%%EXAMPLESDIR%%/tron.ml
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/text
%%PORTDOCS%%%%RSVG%%@dirrm %%EXAMPLESDIR%%/rsvg
%%PORTDOCS%%%%PANEL%%@dirrm %%EXAMPLESDIR%%/panel
%%PORTDOCS%%%%GLADE%%@dirrm %%EXAMPLESDIR%%/glade
%%PORTDOCS%%%%GNOMECANVAS%%@dirrm %%EXAMPLESDIR%%/canvas
%%GL%%%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/GL
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrmtry share/examples/ocaml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/aargb.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/gears.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/morph3d.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/planet.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/scene.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/simple.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/simple_th.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/texturesurf.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/tutorial-2.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/tutorial-3.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/tutorial-4.ml
%%GL%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/GL/tutorial-5.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/about.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/accel_tree.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/action.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/assistant.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/assistant_tutorial.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttons.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calc.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calendar.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-arrowhead.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-curve.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-features.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-fifteen.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-primitives.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/canvas-richtext.ml
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/flower.png
%%PORTEXAMPLES%%%%GNOMECANVAS%%%%EXAMPLESDIR%%/canvas/toroid.png
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgets.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clist.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cputs.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/combo.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/combobox.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/counter.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csview.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/curve.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom_list_generic.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom_tree.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom_tree_generic.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dcalendar.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dialog-thread.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawing.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/druid.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/editor.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/editor2.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/entry.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/entrycompletion.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventbox.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/events.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/events2.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/expander.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fifteen.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filechooser.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixed_editor.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixpoint.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gioredirect.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/giotest.ml
%%PORTEXAMPLES%%%%GLADE%%%%EXAMPLESDIR%%/glade/glade_demo.ml
%%PORTEXAMPLES%%%%GLADE%%%%EXAMPLESDIR%%/glade/gladecalc.ml
%%PORTEXAMPLES%%%%GLADE%%%%EXAMPLESDIR%%/glade/project1.glade
%%PORTEXAMPLES%%%%GLADE%%%%EXAMPLESDIR%%/glade/project1.gladep
%%PORTEXAMPLES%%%%GLADE%%%%EXAMPLESDIR%%/glade/project2.glade
%%PORTEXAMPLES%%%%GLADE%%%%EXAMPLESDIR%%/glade/project2.gladep
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iconview.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image256x256.rgb
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kaimono.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/label.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/link_button.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lissajous.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nihongo.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notebook.ml
%%PORTEXAMPLES%%%%PANEL%%%%EXAMPLESDIR%%/panel/README
%%PORTEXAMPLES%%%%PANEL%%%%EXAMPLESDIR%%/panel/applet.ml
%%PORTEXAMPLES%%%%PANEL%%%%EXAMPLESDIR%%/panel/lablgtk_applet.server
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pixview.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pousse.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/progressbar.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radiobuttons.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpn.ml
%%PORTEXAMPLES%%%%RSVG%%%%EXAMPLESDIR%%/rsvg/floppy.svg
%%PORTEXAMPLES%%%%RSVG%%%%EXAMPLESDIR%%/rsvg/test_rsvg.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scrolledwin.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/signal_override.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/slide_show.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/socket.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spell.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spin.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.xpm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testdnd.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgtk.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/floppybuddy.gif
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/gtk-logo-rgb.gif
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/test.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/test_text.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/text-demo.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/unicode_table.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text/unicode_viewer.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timer.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toolbar.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tooltip.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tree.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tree_model.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tree_store.ml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tron.ml
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/text
%%PORTEXAMPLES%%%%RSVG%%@dirrm %%EXAMPLESDIR%%/rsvg
%%PORTEXAMPLES%%%%PANEL%%@dirrm %%EXAMPLESDIR%%/panel
%%PORTEXAMPLES%%%%GLADE%%@dirrm %%EXAMPLESDIR%%/glade
%%PORTEXAMPLES%%%%GNOMECANVAS%%@dirrm %%EXAMPLESDIR%%/canvas
%%GL%%%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/GL
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrmtry share/examples/ocaml
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%