aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-08-04 23:21:02 +0800
committeritetcu <itetcu@FreeBSD.org>2006-08-04 23:21:02 +0800
commit915ce7277509d6ec171b4991a5cb0c51fdbc840f (patch)
tree681a55b0a57db6bfa5d116846e2438a210aa98b6 /devel
parent8ea90e5f37e4e18798cbf443615a7adf516aa80d (diff)
downloadfreebsd-ports-graphics-915ce7277509d6ec171b4991a5cb0c51fdbc840f.tar.gz
freebsd-ports-graphics-915ce7277509d6ec171b4991a5cb0c51fdbc840f.tar.zst
freebsd-ports-graphics-915ce7277509d6ec171b4991a5cb0c51fdbc840f.zip
Various examples for the Objective Caml Camomile library.
WWW: http://camomile.sourceforge.net/ PR: ports/101170 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/ocaml-camomile-examples/Makefile33
-rw-r--r--devel/ocaml-camomile-examples/distinfo3
-rw-r--r--devel/ocaml-camomile-examples/pkg-descr3
-rw-r--r--devel/ocaml-camomile-examples/pkg-plist36
5 files changed, 76 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3e28442ca3e..31404acf2b6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -693,6 +693,7 @@
SUBDIR += obfuscatejs
SUBDIR += ocaml-camljava
SUBDIR += ocaml-camomile
+ SUBDIR += ocaml-camomile-examples
SUBDIR += ocaml-classes
SUBDIR += ocaml-equeue
SUBDIR += ocaml-event
diff --git a/devel/ocaml-camomile-examples/Makefile b/devel/ocaml-camomile-examples/Makefile
new file mode 100644
index 00000000000..beb3e92152e
--- /dev/null
+++ b/devel/ocaml-camomile-examples/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ocaml-camomile-examples
+# Date created: 2006-07-27
+# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
+#
+# $MBSDlabs$
+# $FreeBSD$
+#
+
+PORTNAME= camomile
+PORTVERSION= 0.4.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ocaml-
+PKGNAMESUFFIX= -examples
+DISTNAME= examples-${PORTVERSION}
+
+MAINTAINER= ssedov@mbsd.msk.ru
+COMMENT= Example programs for Camomile library
+
+WRKSRC= ${WRKDIR}/examples
+NO_BUILD= yes
+USE_BZIP2= yes
+EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
+
+do-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${TAR} -cf- -C ${WRKSRC} . | \
+ ${TAR} -xf- -C ${EXAMPLESDIR}
+ @${FIND} ${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ @${FIND} ${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
+
+.include <bsd.port.mk>
diff --git a/devel/ocaml-camomile-examples/distinfo b/devel/ocaml-camomile-examples/distinfo
new file mode 100644
index 00000000000..77804bf496c
--- /dev/null
+++ b/devel/ocaml-camomile-examples/distinfo
@@ -0,0 +1,3 @@
+MD5 (examples-0.4.1.tar.bz2) = 1779708e91815162761ba90a1b00e99f
+SHA256 (examples-0.4.1.tar.bz2) = ea8c3219279f5b4f2831630f81ce76c0fd9d143302a381cba4a1b161bf3d4fcd
+SIZE (examples-0.4.1.tar.bz2) = 24163
diff --git a/devel/ocaml-camomile-examples/pkg-descr b/devel/ocaml-camomile-examples/pkg-descr
new file mode 100644
index 00000000000..975e688f710
--- /dev/null
+++ b/devel/ocaml-camomile-examples/pkg-descr
@@ -0,0 +1,3 @@
+Various examples for the Objective Caml Camomile library.
+
+WWW: http://camomile.sourceforge.net/
diff --git a/devel/ocaml-camomile-examples/pkg-plist b/devel/ocaml-camomile-examples/pkg-plist
new file mode 100644
index 00000000000..63da0835da2
--- /dev/null
+++ b/devel/ocaml-camomile-examples/pkg-plist
@@ -0,0 +1,36 @@
+%%EXAMPLESDIR%%/escape/.depend
+%%EXAMPLESDIR%%/escape/Makefile
+%%EXAMPLESDIR%%/escape/Makefile.in
+%%EXAMPLESDIR%%/escape/config.cache
+%%EXAMPLESDIR%%/escape/config.status
+%%EXAMPLESDIR%%/escape/configure
+%%EXAMPLESDIR%%/escape/configure.in
+%%EXAMPLESDIR%%/escape/escape.ml
+%%EXAMPLESDIR%%/escape/get_enc.c
+%%EXAMPLESDIR%%/escape/get_enc.mli
+%%EXAMPLESDIR%%/recode/Makefile
+%%EXAMPLESDIR%%/recode/OcamlMakefile
+%%EXAMPLESDIR%%/recode/recode.ml
+%%EXAMPLESDIR%%/unescape/.depend
+%%EXAMPLESDIR%%/unescape/Makefile
+%%EXAMPLESDIR%%/unescape/Makefile.in
+%%EXAMPLESDIR%%/unescape/config.cache
+%%EXAMPLESDIR%%/unescape/config.status
+%%EXAMPLESDIR%%/unescape/configure
+%%EXAMPLESDIR%%/unescape/configure.in
+%%EXAMPLESDIR%%/unescape/get_enc.c
+%%EXAMPLESDIR%%/unescape/get_enc.mli
+%%EXAMPLESDIR%%/unescape/unescape.ml
+%%EXAMPLESDIR%%/usort/.depend
+%%EXAMPLESDIR%%/usort/Makefile.in
+%%EXAMPLESDIR%%/usort/configure
+%%EXAMPLESDIR%%/usort/configure.in
+%%EXAMPLESDIR%%/usort/get_enc.c
+%%EXAMPLESDIR%%/usort/get_enc.mli
+%%EXAMPLESDIR%%/usort/usort.ml
+@dirrm %%EXAMPLESDIR%%/usort
+@dirrm %%EXAMPLESDIR%%/unescape
+@dirrm %%EXAMPLESDIR%%/recode
+@dirrm %%EXAMPLESDIR%%/escape
+@dirrm %%EXAMPLESDIR%%
+@dirrmtry share/examples/ocaml