diff options
author | wiz <wiz@pkgsrc.org> | 2010-12-18 12:47:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-12-18 12:47:11 +0000 |
commit | 5a889e12f5550c95bb2f0bfd2f7180017d771dd2 (patch) | |
tree | 4bdd0748ce00741ce28b2320404f82d50758f20d /lang | |
parent | 8ff5f07b3526ade4d7ea02294ca42e74ef9b27b3 (diff) | |
download | pkgsrc-5a889e12f5550c95bb2f0bfd2f7180017d771dd2.tar.gz |
Initial import of boomerang-0.2:
Boomerang is a programming language for writing lenses--well-behaved
bidirectional transformations--that operate on ad-hoc, textual data
formats. Every lens program, when read from left to right, describes
a function that maps an input to an output; when read from right
to left, the very same program describes a "backwards" function
that maps a modified output, together with the original input, back
to a modified input.
Lenses have been used to solve problems across a wide range of
areas in computing including: in data converters and synchronizers,
in parsers and pretty printers, in picklers and unpicklers, in
structure editors, in constraint maintainers for user interfaces,
in software model transformations, in schema evolution, in tools
for managing system configuration files, and in databases where
they provide updatable views.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/boomerang/DESCR | 15 | ||||
-rw-r--r-- | lang/boomerang/Makefile | 50 | ||||
-rw-r--r-- | lang/boomerang/PLIST | 34 | ||||
-rw-r--r-- | lang/boomerang/distinfo | 5 |
4 files changed, 104 insertions, 0 deletions
diff --git a/lang/boomerang/DESCR b/lang/boomerang/DESCR new file mode 100644 index 00000000000..e683032ab98 --- /dev/null +++ b/lang/boomerang/DESCR @@ -0,0 +1,15 @@ +Boomerang is a programming language for writing lenses--well-behaved +bidirectional transformations--that operate on ad-hoc, textual data +formats. Every lens program, when read from left to right, describes +a function that maps an input to an output; when read from right +to left, the very same program describes a "backwards" function +that maps a modified output, together with the original input, back +to a modified input. + +Lenses have been used to solve problems across a wide range of +areas in computing including: in data converters and synchronizers, +in parsers and pretty printers, in picklers and unpicklers, in +structure editors, in constraint maintainers for user interfaces, +in software model transformations, in schema evolution, in tools +for managing system configuration files, and in databases where +they provide updatable views. diff --git a/lang/boomerang/Makefile b/lang/boomerang/Makefile new file mode 100644 index 00000000000..642cc696522 --- /dev/null +++ b/lang/boomerang/Makefile @@ -0,0 +1,50 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/12/18 12:47:11 wiz Exp $ +# + +DISTNAME= boomerang-0.2-source +PKGNAME= ${DISTNAME:S/-source//} +CATEGORIES= lang +MASTER_SITES= http://www.seas.upenn.edu/~harmony/download/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.seas.upenn.edu/~harmony/ +COMMENT= Bidirectional programming language for ad-hoc, textual data +LICENSE= gnu-lgpl-v2.1 + +BUILD_DEPENDS+= omake-[0-9]*:../../devel/omake +# for pdflatex +BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin +BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref +BUILD_DEPENDS+= tex-pgf-[0-9]*:../../print/tex-pgf +BUILD_DEPENDS+= tex-ms-[0-9]*:../../print/tex-ms +BUILD_DEPENDS+= tex-amscls-[0-9]*:../../print/tex-amscls +BUILD_DEPENDS+= tex-preprint-[0-9]*:../../print/tex-preprint +BUILD_DEPENDS+= teTeX-texmf-[0-9]*:../../print/teTeX3-texmf +BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/boomerang-20090902 +USE_LANGUAGES= c +INSTALLATION_DIRS= bin share/doc/boomerang share/examples/boomerang/xsugar +INSTALLATION_DIRS+= share/examples/boomerang/units + +do-build: + cd ${WRKSRC} && omake + +do-install: + cd ${WRKSRC} && \ + ${INSTALL_PROGRAM} bin/boomerang ${DESTDIR}${PREFIX}/bin; \ + ${INSTALL_DATA} doc/main.pdf \ + ${DESTDIR}${PREFIX}/share/doc/boomerang; \ + ${INSTALL_DATA} examples/*.* \ + ${DESTDIR}${PREFIX}/share/examples/boomerang; \ + ${INSTALL_DATA} examples/OMakefile \ + ${DESTDIR}${PREFIX}/share/examples/boomerang; \ + ${INSTALL_DATA} examples/units/*.* \ + ${DESTDIR}${PREFIX}/share/examples/boomerang/units; \ + ${INSTALL_DATA} examples/xsugar/*.* \ + ${DESTDIR}${PREFIX}/share/examples/boomerang/xsugar + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/boomerang/PLIST b/lang/boomerang/PLIST new file mode 100644 index 00000000000..b2290a8aa9e --- /dev/null +++ b/lang/boomerang/PLIST @@ -0,0 +1,34 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/18 12:47:11 wiz Exp $ +bin/boomerang +share/doc/boomerang/main.pdf +share/examples/boomerang/ISO8601.boom +share/examples/boomerang/OMakefile +share/examples/boomerang/OMakefile.omc +share/examples/boomerang/address.boom +share/examples/boomerang/alignment.src +share/examples/boomerang/bibtex.boom +share/examples/boomerang/conflin.boom +share/examples/boomerang/coqsplit.boom +share/examples/boomerang/demo.boom +share/examples/boomerang/escaping.boom +share/examples/boomerang/ffactor.boom +share/examples/boomerang/ical.boom +share/examples/boomerang/mkXml.boom +share/examples/boomerang/plist.boom +share/examples/boomerang/uniProtV2.boom +share/examples/boomerang/units/apply_contract.boom +share/examples/boomerang/units/diffy.boom +share/examples/boomerang/units/greedy.boom +share/examples/boomerang/units/poly.boom +share/examples/boomerang/units/setlike.boom +share/examples/boomerang/units/test_alias.boom +share/examples/boomerang/units/test_cex.boom +share/examples/boomerang/units/test_patsubst.boom +share/examples/boomerang/units/test_poly_coercion.boom +share/examples/boomerang/units/test_qmark.boom +share/examples/boomerang/units/uniRX.boom +share/examples/boomerang/units/units.boom +share/examples/boomerang/xml.boom +share/examples/boomerang/xsugar/bcard.boom +share/examples/boomerang/xsugar/nice.boom +share/examples/boomerang/xsugar/students.boom diff --git a/lang/boomerang/distinfo b/lang/boomerang/distinfo new file mode 100644 index 00000000000..bb3cd91e9ad --- /dev/null +++ b/lang/boomerang/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/12/18 12:47:11 wiz Exp $ + +SHA1 (boomerang-0.2-source.tar.gz) = 4c6ca181b6f306c398a1bf3a0b96a6653ee80f98 +RMD160 (boomerang-0.2-source.tar.gz) = b0ebefa993fd8da041c9bb4b50da9eb378b218b3 +Size (boomerang-0.2-source.tar.gz) = 950116 bytes |