aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-09-04 08:06:22 +0800
committerbeech <beech@FreeBSD.org>2008-09-04 08:06:22 +0800
commit7d0f2d19ac8c794ea7de5c727d5a542c68c84e9b (patch)
tree7a62bb7ef9c0205030616036f1c56c6b4a042aa9 /devel
parent983e7822d9372d5e273e3707606fef26501e003b (diff)
downloadfreebsd-ports-gnome-7d0f2d19ac8c794ea7de5c727d5a542c68c84e9b.tar.gz
freebsd-ports-gnome-7d0f2d19ac8c794ea7de5c727d5a542c68c84e9b.tar.zst
freebsd-ports-gnome-7d0f2d19ac8c794ea7de5c727d5a542c68c84e9b.zip
- Fix handling of portdocs and portexamples
- Make fetchable
Diffstat (limited to 'devel')
-rw-r--r--devel/cdk/Makefile25
-rw-r--r--devel/cdk/files/extra-patch-Makefile.in23
-rw-r--r--devel/cdk/pkg-plist317
3 files changed, 198 insertions, 167 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index 78b8a267fb7a..8f9a510b92fc 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -10,8 +10,7 @@ PORTNAME= cdk
PORTVERSION= 5.0.20050424
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://invisible-island.net/cdk/ \
- http://fresh.t-systems-sfr.com/linux/src/
+MASTER_SITES= LOCAL/beech
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
EXTRACT_SUFX= .tgz
@@ -22,6 +21,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
NOPRECIOUSSOFTMAKEVARS= yes # to many _MLINKS
+PORTDOCS= COPYING EXPANDING INSTALL NOTES README TODO
.include <bsd.port.pre.mk>
@@ -44,19 +44,34 @@ USE_LDCONFIG= yes
.include "${.CURDIR}/maninfo.mk"
+post-extract:
+.if defined(NOPORTDOCS)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/doc/cdk|/share/doc/cdk| ; s|VERSION)|VERSION_MAJOR)|' ${WRKSRC}/Makefile.in
+pre-install:
+.if !defined(NOPORTEXAMPLES)
+PLIST_SUB+= EXAMPLES=""
+.else
+PLIST_SUB+= EXAMPLES="@comment "
+.endif
+
post-install:
- ${MKDIR} ${EXAMPLESDIR}/cli
+.if !defined(NOPORTEXAMPLES)
+ ${INSTALL} -d ${EXAMPLESDIR}
+ ${INSTALL} -d ${EXAMPLESDIR}/cli
cd ${WRKSRC}/cli; \
${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${EXAMPLESDIR}/cli
- ${MKDIR} ${EXAMPLESDIR}/demos
+ ${INSTALL} -d ${EXAMPLESDIR}/demos
cd ${WRKSRC}/demos; \
${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${EXAMPLESDIR}/demos
- ${MKDIR} ${EXAMPLESDIR}/examples
+ ${INSTALL} -d ${EXAMPLESDIR}/examples
cd ${WRKSRC}/examples; \
${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${EXAMPLESDIR}/examples
+.endif
.include "${.CURDIR}/mancompress.mk"
diff --git a/devel/cdk/files/extra-patch-Makefile.in b/devel/cdk/files/extra-patch-Makefile.in
new file mode 100644
index 000000000000..fb0d2e171dcf
--- /dev/null
+++ b/devel/cdk/files/extra-patch-Makefile.in
@@ -0,0 +1,23 @@
+--- Makefile.in.orig 2005-04-24 15:06:20.000000000 -0800
++++ Makefile.in 2008-09-02 21:52:52.000000000 -0800
+@@ -301,13 +301,13 @@
+ #
+ # This installs the informational readme files.
+ #
+-install \
+-installCDKReadme :: $(DOCUMENT_DIR)
+- @echo "Installing CDK Readme files in $(DOCUMENT_DIR)..."
+- @for i in $(CDKREADME); do \
+- echo " ... $$i"; \
+- $(INSTALL_DATA) $(srcdir)/$$i $(DOCUMENT_DIR)/$$i; \
+- done
++#install \
++#installCDKReadme :: $(DOCUMENT_DIR)
++# @echo "Installing CDK Readme files in $(DOCUMENT_DIR)..."
++# @for i in $(CDKREADME); do \
++# echo " ... $$i"; \
++# $(INSTALL_DATA) $(srcdir)/$$i $(DOCUMENT_DIR)/$$i; \
++# done
+
+ uninstall \
+ uninstallCDKReadme ::
diff --git a/devel/cdk/pkg-plist b/devel/cdk/pkg-plist
index 0bfba441ebd1..4e6f5b68421f 100644
--- a/devel/cdk/pkg-plist
+++ b/devel/cdk/pkg-plist
@@ -41,166 +41,159 @@ include/cdk/viewer.h
lib/libcdk.a
lib/libcdk.so
lib/libcdk.so.5
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/EXPANDING
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NOTES
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%EXAMPLESDIR%%/cli/Makefile
-%%EXAMPLESDIR%%/cli/Makefile.in
-%%EXAMPLESDIR%%/cli/cdkalphalist
-%%EXAMPLESDIR%%/cli/cdkalphalist.c
-%%EXAMPLESDIR%%/cli/cdkcalendar
-%%EXAMPLESDIR%%/cli/cdkcalendar.c
-%%EXAMPLESDIR%%/cli/cdkdialog
-%%EXAMPLESDIR%%/cli/cdkdialog.c
-%%EXAMPLESDIR%%/cli/cdkentry
-%%EXAMPLESDIR%%/cli/cdkentry.c
-%%EXAMPLESDIR%%/cli/cdkfselect
-%%EXAMPLESDIR%%/cli/cdkfselect.c
-%%EXAMPLESDIR%%/cli/cdkitemlist
-%%EXAMPLESDIR%%/cli/cdkitemlist.c
-%%EXAMPLESDIR%%/cli/cdklabel
-%%EXAMPLESDIR%%/cli/cdklabel.c
-%%EXAMPLESDIR%%/cli/cdkmatrix
-%%EXAMPLESDIR%%/cli/cdkmatrix.c
-%%EXAMPLESDIR%%/cli/cdkmentry
-%%EXAMPLESDIR%%/cli/cdkmentry.c
-%%EXAMPLESDIR%%/cli/cdkradio
-%%EXAMPLESDIR%%/cli/cdkradio.c
-%%EXAMPLESDIR%%/cli/cdkscale
-%%EXAMPLESDIR%%/cli/cdkscale.c
-%%EXAMPLESDIR%%/cli/cdkscroll
-%%EXAMPLESDIR%%/cli/cdkscroll.c
-%%EXAMPLESDIR%%/cli/cdkselection
-%%EXAMPLESDIR%%/cli/cdkselection.c
-%%EXAMPLESDIR%%/cli/cdkslider
-%%EXAMPLESDIR%%/cli/cdkslider.c
-%%EXAMPLESDIR%%/cli/cdktemplate
-%%EXAMPLESDIR%%/cli/cdktemplate.c
-%%EXAMPLESDIR%%/cli/cdkviewer
-%%EXAMPLESDIR%%/cli/cdkviewer.c
-%%EXAMPLESDIR%%/cli/samples/alphalist.sh
-%%EXAMPLESDIR%%/cli/samples/calendar.sh
-%%EXAMPLESDIR%%/cli/samples/dialog.sh
-%%EXAMPLESDIR%%/cli/samples/entry.sh
-%%EXAMPLESDIR%%/cli/samples/fselect.sh
-%%EXAMPLESDIR%%/cli/samples/itemlist.sh
-%%EXAMPLESDIR%%/cli/samples/label.sh
-%%EXAMPLESDIR%%/cli/samples/matrix.sh
-%%EXAMPLESDIR%%/cli/samples/mentry.sh
-%%EXAMPLESDIR%%/cli/samples/radio.sh
-%%EXAMPLESDIR%%/cli/samples/scale.sh
-%%EXAMPLESDIR%%/cli/samples/scroll.sh
-%%EXAMPLESDIR%%/cli/samples/selection.sh
-%%EXAMPLESDIR%%/cli/samples/slider.sh
-%%EXAMPLESDIR%%/cli/samples/template.sh
-%%EXAMPLESDIR%%/cli/samples/viewer.sh
-%%EXAMPLESDIR%%/cli/utils/adduser
-%%EXAMPLESDIR%%/cli/utils/netconfig
-%%EXAMPLESDIR%%/demos/Makefile
-%%EXAMPLESDIR%%/demos/Makefile.in
-%%EXAMPLESDIR%%/demos/appointment
-%%EXAMPLESDIR%%/demos/appointment.c
-%%EXAMPLESDIR%%/demos/appointment.o
-%%EXAMPLESDIR%%/demos/clock
-%%EXAMPLESDIR%%/demos/clock.c
-%%EXAMPLESDIR%%/demos/clock.o
-%%EXAMPLESDIR%%/demos/command
-%%EXAMPLESDIR%%/demos/command.c
-%%EXAMPLESDIR%%/demos/command.o
-%%EXAMPLESDIR%%/demos/fileview
-%%EXAMPLESDIR%%/demos/fileview.c
-%%EXAMPLESDIR%%/demos/fileview.o
-%%EXAMPLESDIR%%/demos/rolodex
-%%EXAMPLESDIR%%/demos/rolodex.c
-%%EXAMPLESDIR%%/demos/rolodex.h
-%%EXAMPLESDIR%%/demos/rolodex.o
-%%EXAMPLESDIR%%/demos/serial.c
-%%EXAMPLESDIR%%/demos/stopSign
-%%EXAMPLESDIR%%/demos/stopSign.c
-%%EXAMPLESDIR%%/demos/stopSign.o
-%%EXAMPLESDIR%%/demos/syb.c
-%%EXAMPLESDIR%%/demos/vinstall
-%%EXAMPLESDIR%%/demos/vinstall.c
-%%EXAMPLESDIR%%/demos/vinstall.o
-%%EXAMPLESDIR%%/examples/Makefile
-%%EXAMPLESDIR%%/examples/Makefile.in
-%%EXAMPLESDIR%%/examples/alphalist_ex
-%%EXAMPLESDIR%%/examples/alphalist_ex.c
-%%EXAMPLESDIR%%/examples/bind_ex
-%%EXAMPLESDIR%%/examples/bind_ex.c
-%%EXAMPLESDIR%%/examples/buttonbox_ex
-%%EXAMPLESDIR%%/examples/buttonbox_ex.c
-%%EXAMPLESDIR%%/examples/calendar_ex
-%%EXAMPLESDIR%%/examples/calendar_ex.c
-%%EXAMPLESDIR%%/examples/cdkscreen_ex
-%%EXAMPLESDIR%%/examples/cdkscreen_ex.c
-%%EXAMPLESDIR%%/examples/configure.in
-%%EXAMPLESDIR%%/examples/dialog_ex
-%%EXAMPLESDIR%%/examples/dialog_ex.c
-%%EXAMPLESDIR%%/examples/entry_ex
-%%EXAMPLESDIR%%/examples/entry_ex.c
-%%EXAMPLESDIR%%/examples/fscale_ex
-%%EXAMPLESDIR%%/examples/fscale_ex.c
-%%EXAMPLESDIR%%/examples/fselect_ex
-%%EXAMPLESDIR%%/examples/fselect_ex.c
-%%EXAMPLESDIR%%/examples/graph_ex
-%%EXAMPLESDIR%%/examples/graph_ex.c
-%%EXAMPLESDIR%%/examples/hello_ex
-%%EXAMPLESDIR%%/examples/hello_ex.c
-%%EXAMPLESDIR%%/examples/histogram_ex
-%%EXAMPLESDIR%%/examples/histogram_ex.c
-%%EXAMPLESDIR%%/examples/itemlist_ex
-%%EXAMPLESDIR%%/examples/itemlist_ex.c
-%%EXAMPLESDIR%%/examples/label_ex
-%%EXAMPLESDIR%%/examples/label_ex.c
-%%EXAMPLESDIR%%/examples/lowerCDKObject_ex
-%%EXAMPLESDIR%%/examples/lowerCDKObject_ex.c
-%%EXAMPLESDIR%%/examples/marquee_ex
-%%EXAMPLESDIR%%/examples/marquee_ex.c
-%%EXAMPLESDIR%%/examples/matrix_ex
-%%EXAMPLESDIR%%/examples/matrix_ex.c
-%%EXAMPLESDIR%%/examples/mentry_ex
-%%EXAMPLESDIR%%/examples/mentry_ex.c
-%%EXAMPLESDIR%%/examples/menu_ex
-%%EXAMPLESDIR%%/examples/menu_ex.c
-%%EXAMPLESDIR%%/examples/position_ex
-%%EXAMPLESDIR%%/examples/position_ex.c
-%%EXAMPLESDIR%%/examples/preprocess_ex
-%%EXAMPLESDIR%%/examples/preprocess_ex.c
-%%EXAMPLESDIR%%/examples/radio1_ex
-%%EXAMPLESDIR%%/examples/radio1_ex.c
-%%EXAMPLESDIR%%/examples/radio_ex
-%%EXAMPLESDIR%%/examples/radio_ex.c
-%%EXAMPLESDIR%%/examples/raiseCDKObject_ex
-%%EXAMPLESDIR%%/examples/raiseCDKObject_ex.c
-%%EXAMPLESDIR%%/examples/scale_ex
-%%EXAMPLESDIR%%/examples/scale_ex.c
-%%EXAMPLESDIR%%/examples/scroll_ex
-%%EXAMPLESDIR%%/examples/scroll_ex.c
-%%EXAMPLESDIR%%/examples/selection_ex
-%%EXAMPLESDIR%%/examples/selection_ex.c
-%%EXAMPLESDIR%%/examples/slider_ex
-%%EXAMPLESDIR%%/examples/slider_ex.c
-%%EXAMPLESDIR%%/examples/subwindow_ex
-%%EXAMPLESDIR%%/examples/subwindow_ex.c
-%%EXAMPLESDIR%%/examples/swindow_ex
-%%EXAMPLESDIR%%/examples/swindow_ex.c
-%%EXAMPLESDIR%%/examples/template_ex
-%%EXAMPLESDIR%%/examples/template_ex.c
-%%EXAMPLESDIR%%/examples/traverse_ex
-%%EXAMPLESDIR%%/examples/traverse_ex.c
-%%EXAMPLESDIR%%/examples/viewer_ex
-%%EXAMPLESDIR%%/examples/viewer_ex.c
-%%EXAMPLESDIR%%/examples/viewer_ex2
-%%EXAMPLESDIR%%/examples/viewer_ex2.c
-@dirrm %%EXAMPLESDIR%%/examples
-@dirrm %%EXAMPLESDIR%%/demos
-@dirrm %%EXAMPLESDIR%%/cli/utils
-@dirrm %%EXAMPLESDIR%%/cli/samples
-@dirrm %%EXAMPLESDIR%%/cli
-@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/Makefile
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/Makefile.in
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkalphalist
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkalphalist.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkcalendar
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkcalendar.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkdialog
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkdialog.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkentry
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkentry.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkfselect
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkfselect.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkitemlist
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkitemlist.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdklabel
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdklabel.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkmatrix
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkmatrix.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkmentry
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkmentry.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkradio
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkradio.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkscale
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkscale.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkscroll
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkscroll.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkselection
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkselection.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkslider
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkslider.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdktemplate
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdktemplate.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkviewer
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/cdkviewer.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/alphalist.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/calendar.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/dialog.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/entry.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/fselect.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/itemlist.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/label.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/matrix.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/mentry.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/radio.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/scale.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/scroll.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/selection.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/slider.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/template.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/samples/viewer.sh
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/utils/adduser
+%%EXAMPLES%%%%EXAMPLESDIR%%/cli/utils/netconfig
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/Makefile
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/Makefile.in
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/appointment
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/appointment.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/appointment.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/clock
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/clock.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/clock.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/command
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/command.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/command.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/fileview
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/fileview.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/fileview.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/rolodex
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/rolodex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/rolodex.h
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/rolodex.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/serial.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/stopSign
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/stopSign.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/stopSign.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/syb.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/vinstall
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/vinstall.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/demos/vinstall.o
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/Makefile
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/Makefile.in
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/alphalist_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/alphalist_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/bind_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/bind_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/buttonbox_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/buttonbox_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/calendar_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/calendar_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/cdkscreen_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/cdkscreen_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/configure.in
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/dialog_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/dialog_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/entry_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/entry_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/fscale_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/fscale_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/fselect_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/fselect_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/graph_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/graph_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/hello_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/hello_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/histogram_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/histogram_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/itemlist_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/itemlist_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/label_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/label_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/lowerCDKObject_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/lowerCDKObject_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/marquee_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/marquee_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/matrix_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/matrix_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/mentry_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/mentry_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/menu_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/menu_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/position_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/position_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/preprocess_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/preprocess_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/radio1_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/radio1_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/radio_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/radio_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/raiseCDKObject_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/raiseCDKObject_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/scale_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/scale_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/scroll_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/scroll_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/selection_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/selection_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/slider_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/slider_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/subwindow_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/subwindow_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/swindow_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/swindow_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/template_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/template_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/traverse_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/traverse_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/viewer_ex
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/viewer_ex.c
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/viewer_ex2
+%%EXAMPLES%%%%EXAMPLESDIR%%/examples/viewer_ex2.c
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/examples
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/demos
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/cli/utils
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/cli/samples
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/cli
+%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm include/cdk