Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
devel/ocaml-react/DESCR Normal file
View File

@@ -0,0 +1,3 @@
React is an OCaml module for functional reactive programming (FRP).
It provides support to program with time varying values: declarative events
and signals.

View File

@@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.4 2012/10/31 11:17:33 asau Exp $
PKGNAME= ocaml-${DISTNAME}
DISTNAME= react-0.9.4
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://erratique.ch/software/react/releases/
EXTRACT_SUFX= .tbz
MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://erratique.ch/software/react
COMMENT= OCaml module for functional reactive programming
LICENSE= modified-bsd
USE_LANGUAGES= c
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix "${PREFIX}" --destdir "${DESTDIR}"
SUBST_CLASSES+= destdir
SUBST_STAGE.destdir= post-configure
SUBST_MESSAGE.destdir= Changing install location to DESTDIR
SUBST_FILES.destdir= setup.ml
SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,'
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
PLIST_VARS+= opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
PLIST.opt= yes
post-build:
cd ${WRKSRC} && ocamlbuild src/react.cmxs
post-install:
cd ${WRKSRC} && ${INSTALL_LIB} _build/src/react.cmxs ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/react
.endif
do-configure:
cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && ocaml setup.ml -build
pre-install:
${MKDIR} ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib
do-install:
cd ${WRKSRC} && ocaml setup.ml -install
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

11
devel/ocaml-react/PLIST Normal file
View File

@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.2 2012/08/16 11:49:30 wiz Exp $
@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/react
lib/ocaml/site-lib/react/META
${PLIST.opt}lib/ocaml/site-lib/react/react.a
lib/ocaml/site-lib/react/react.cmi
${PLIST.opt}lib/ocaml/site-lib/react/react.cma
${PLIST.opt}lib/ocaml/site-lib/react/react.cmx
${PLIST.opt}lib/ocaml/site-lib/react/react.cmxa
${PLIST.opt}lib/ocaml/site-lib/react/react.cmxs
lib/ocaml/site-lib/react/react.mli
@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/react

View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST.opt,v 1.1.1.1 2012/05/29 14:45:14 wiz Exp $
lib/ocaml/site-lib/react/react.a
lib/ocaml/site-lib/react/react.cma
lib/ocaml/site-lib/react/react.cmx
lib/ocaml/site-lib/react/react.cmxa

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.2 2012/08/16 11:49:30 wiz Exp $
SHA1 (react-0.9.4.tbz) = b055d40f43411f8367eeb11f4e87f7d3955d7b2d
RMD160 (react-0.9.4.tbz) = 64fc6c80cb4ff1c52daa89dda0d774297f900b6c
Size (react-0.9.4.tbz) = 82964 bytes