pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/omake Import omake-0.9.8.5 as devel/omake.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e53d11930014
branches:  trunk
changeset: 576022:e53d11930014
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 29 10:43:14 2010 +0000

description:
Import omake-0.9.8.5 as devel/omake.
Based on PR#43374 by YAMAMOTO Takeshi, some improvements.

OMake is a build system, similar to GNU make, but with many additional
features, including:
- Support for large projects spanning multiple directories;
- Support for commands that produce several targets at once;
- Fast, accurate, automated dependency analysis using MD5 digests;
- Portability: omake provides a consistent interface on Win32
  and on Unix systems including Linux, OSX, and Cygwin;
- Builtin functions that provide the most common features of
  programs like grep, sed, and awk;
- Active filesystem monitoring, where the build automatically
  restarts whenever you modify a source file.

diffstat:

 devel/omake/DESCR            |  11 +++++++++++
 devel/omake/Makefile         |  25 +++++++++++++++++++++++++
 devel/omake/PLIST            |  23 +++++++++++++++++++++++
 devel/omake/distinfo         |   7 +++++++
 devel/omake/patches/patch-aa |  15 +++++++++++++++
 devel/omake/patches/patch-ab |  26 ++++++++++++++++++++++++++
 6 files changed, 107 insertions(+), 0 deletions(-)

diffs (131 lines):

diff -r 26d31c44c8a8 -r e53d11930014 devel/omake/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/omake/DESCR Sat May 29 10:43:14 2010 +0000
@@ -0,0 +1,11 @@
+OMake is a build system, similar to GNU make, but with many additional
+features, including:
+- Support for large projects spanning multiple directories;
+- Support for commands that produce several targets at once;
+- Fast, accurate, automated dependency analysis using MD5 digests;
+- Portability: omake provides a consistent interface on Win32
+  and on Unix systems including Linux, OSX, and Cygwin;
+- Builtin functions that provide the most common features of
+  programs like grep, sed, and awk;
+- Active filesystem monitoring, where the build automatically
+  restarts whenever you modify a source file.
diff -r 26d31c44c8a8 -r e53d11930014 devel/omake/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/omake/Makefile      Sat May 29 10:43:14 2010 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/29 10:43:14 obache Exp $
+#
+
+DISTNAME=      omake-${VERSION}-3
+PKGNAME=       omake-${VERSION}
+CATEGORIES=    devel
+MASTER_SITES=  http://omake.metaprl.org/downloads/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://omake.metaprl.org/index.html
+COMMENT=       Build system designed for scalability and portability
+LICENSE=       gnu-gpl-v2 AND mit AND gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+MAKE_JOBS_SAFE=        no
+
+WRKSRC=                ${WRKDIR}/omake-${VERSION}
+
+MAKE_ENV+=     INSTALL_ROOT=${DESTDIR}
+
+VERSION=       0.9.8.5
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 26d31c44c8a8 -r e53d11930014 devel/omake/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/omake/PLIST Sat May 29 10:43:14 2010 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/29 10:43:14 obache Exp $
+bin/cvs_realclean
+bin/ocamldep-omake
+bin/omake
+bin/osh
+lib/omake/OMakefile.default
+lib/omake/OMakeroot.default
+lib/omake/OMakeroot.om
+lib/omake/Pervasives.om
+lib/omake/build/C.om
+lib/omake/build/Common.om
+lib/omake/build/LaTeX.om
+lib/omake/build/OCaml.om
+lib/omake/build/svn_realclean.om
+lib/omake/configure/Configure.om
+lib/omake/configure/X.om
+lib/omake/configure/fam.om
+lib/omake/configure/fs_case_sensitive.om
+lib/omake/configure/ncurses.om
+lib/omake/configure/readline.om
+lib/omake/configure/snprintf.om
+lib/omake/parse/C/Lex.om
+lib/omake/parse/C/Parse.om
diff -r 26d31c44c8a8 -r e53d11930014 devel/omake/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/omake/distinfo      Sat May 29 10:43:14 2010 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/29 10:43:14 obache Exp $
+
+SHA1 (omake-0.9.8.5-3.tar.gz) = e78c9d8858749f5e234cba303637980e24085cbc
+RMD160 (omake-0.9.8.5-3.tar.gz) = 2364e29a7cc9bd6aaf837818bbe0a64ef4afce14
+Size (omake-0.9.8.5-3.tar.gz) = 3321245 bytes
+SHA1 (patch-aa) = b8138151041b1c99ddc752361f99c1822d88ef07
+SHA1 (patch-ab) = 449aae3ff362efbc50f188cba8a76a13334eb964
diff -r 26d31c44c8a8 -r e53d11930014 devel/omake/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/omake/patches/patch-aa      Sat May 29 10:43:14 2010 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/29 10:43:14 obache Exp $
+
+http://svn.metaprl.org/viewvc/mojave?view=rev&revision=12923
+
+--- src/exec/omake_exec.ml.orig        2006-12-08 22:52:01.000000000 +0000
++++ src/exec/omake_exec.ml
+@@ -46,8 +46,6 @@ open Omake_exec_notify
+ open Omake_options
+ open Omake_command_type
+ 
+-external sync : unit -> unit = "caml_sync"
+-
+ module Exec =
+ struct
+    (*
diff -r 26d31c44c8a8 -r e53d11930014 devel/omake/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/omake/patches/patch-ab      Sat May 29 10:43:14 2010 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/05/29 10:43:14 obache Exp $
+
+--- src/libmojave-external/cutil/fam_kqueue.c.orig     2010-05-28 09:23:46.000000000 +0000
++++ src/libmojave-external/cutil/fam_kqueue.c
+@@ -181,6 +181,12 @@ static kevent_t *new_kevent() {
+     return ev;
+ }
+ 
++#if defined(__NetBSD__)
++typedef intptr_t kqueue_udata_t;
++#else
++typedef void *kqueue_udata_t;
++#endif
++
+ /*
+  * Start monitoring a directory.
+  * We store the DirInfo pointer as the userdata in the kevent.
+@@ -199,7 +205,7 @@ static int monitor_start(FAMConnection *
+         dir->kevent = kev;
+         /* Register interest in the MON_FLAGS flags of the dir */
+         EV_SET(kev, dir->handle, EVFILT_VNODE, EV_ADD | EV_CLEAR, MON_FLAGS,
+-                (intptr_t) NULL, (void *)dir);
++                (intptr_t) NULL, (kqueue_udata_t) dir);
+         code = kevent(fc->id, kev, 1, NULL, 0, &gTime0);
+ #ifdef FAM_DEBUG
+         fprintf(stderr,



Home | Main Index | Thread Index | Old Index