15.1. GODI

This is the Godiva file originally used to create the GODI data. At the moment this is the authoritative meta data. However, godiva may not handle all the options we need -- so the generated makefile is included as well.
Start data section to meta/godiva/flx.godiva[1 /1 ]
     1: Package: apps-felix
     2: Version: 1.1.2
     3: Revision: 0
     4: Depends:
     5: Build-Depends: godi-ocaml (> 3.08)
     6: Sources: http://felix.sf.net/flx_1.1.2_src.tgz
     7: Unpacks-To: flx_1.1.2
     8: Bytecode-Target: all
     9: Opt-Target: all
    10: Homepage: http://felix.sf.net
    11: Maintainer: John Skaller <skaller@users.sf.net>
    12: Options: configure
    13: Description: Felix Compiler
    14: Felix Compiler
    15: .
    16: 
End data section to meta/godiva/flx.godiva[1]
Start data section to meta/godiva/flx.godiva_camlsyntax[1 /1 ]
     1: name = "felix";
     2: version = "1.1.2";
     3: revision = 0;
     4: category = `apps;
     5: depends = [];
     6: build_depends = [`godi,"ocaml", Some (`gt, "3.08")];
     7: sources_site ="http://felix.sf.net/";
     8: sources_basename= "flx_1.1.2_src";
     9: sources_extension = ".tgz";
    10: sources_unpacksto = "flx_1.1.2";
    11: all_target= "all";
    12: opt_target= "all";
    13: homepage= "http://felix.sf.net";
    14: maintainer = "John Skaller <skaller@users.sf.net>";
    15: options= [`configure];
    16: short_desc = "Felix Compiler";
    17: long_desc = "Felix Compiler";
    18: confopts = [
    19:   {
    20:     name = "SUPPORT_DYNAMIC_LOADING";
    21:     default = "1";
    22:     description = "Whether to support dlopen loading";
    23:     implementation = `configarg "--SUPPORT_DYNAMIC_LOADING"
    24:   }
    25: ];
    26: specfile = "meta/godiva/flx.godiva_camlsyntax";
    27: patches = [];
    28: filesdir = None;
    29: 
End data section to meta/godiva/flx.godiva_camlsyntax[1]
Start data section to meta/godi/DESCR[1 /1 ]
     1: Felix Compiler and tools.
     2: 
End data section to meta/godi/DESCR[1]
This makefile only here for reference (don't use it, it should be generated).
Start data section to meta/godi/Makefile[1 /1 ]
     1: # This file was automatically generated by GODIVA
     2: .include "../../mk/bsd.prefs.mk"
     3: .include "../../mk/godi.pkg.mk"
     4: 
     5: VERSION=        1.1.2
     6: PKGNAME=        apps-felix-${VERSION}
     7: PKGREVISION=    0
     8: DISTNAME=       flx_1.1.2
     9: DISTFILES=      flx_1.1.2_src.tgz
    10: CATEGORIES=     apps
    11: MASTER_SITES=   http://felix.sf.net/
    12: MAINTAINER=     John Skaller <skaller@users.sf.net>
    13: HOMEPAGE=       http://felix.sf.net
    14: COMMENT=        Felix Compiler
    15: 
    16: # confopt defaults:
    17: 
    18: 
    19: AUTOGENERATE_PLIST = yes
    20: PKG  =          apps-felix
    21: MAKE_FLAGS=     PREFIX=${PREFIX}
    22: 
    23: 
    24: 
    25: PATH:=          ${LOCALBASE}/bin:"${PATH}"
    26: HAS_CONFIGURE = yes
    27: CONFIGURE_ARGS+= --prefix ${PREFIX}
    28: CONFIGURE_ENV+= ${BUILD_OCAMLFIND_ENV}
    29: USE_GMAKE = yes
    30: 
    31: MAKE_ENV+=  ${BUILD_OCAMLFIND_ENV} PKGBASE=${PKGBASE:Q}
    32: 
    33: pre-configure-copy:
    34: .       if exists(files)
    35:             cd files && ${PAX} -rw -pp . ${WRKSRC}
    36: .       endif
    37: 
    38: pre-configure: pre-configure-copy
    39: 
    40: pre-install-mkdirs:
    41: .       for d in bin lib/ocaml/pkg-lib doc share man etc info sbin include
    42:             ${_PKG_SILENT}${_PKG_DEBUG}mkdir -p ${PREFIX}/${d}
    43: .       endfor
    44: .       for n in 1 2 3 4 5 6 7 8 9
    45:             ${_PKG_SILENT}${_PKG_DEBUG}mkdir -p ${PREFIX}/man/man${n}
    46: .       endfor
    47: 
    48: pre-install: pre-install-mkdirs
    49: 
    50: ALL_TARGET=     all
    51: .if ${GODI_HAVE_OCAMLOPT} == "yes"
    52: # ALL_TARGET+= all
    53: .endif
    54: 
    55: post-install:
    56:         mkdir -p ${PREFIX}/doc/${PKG}
    57: .       for DOC in
    58:             install -m 0644 ${WRKSRC}/${DOC} ${PREFIX}/doc/${PKG}
    59: .       endfor
    60: 
    61: .include "../../mk/bsd.pkg.mk"
    62: 
End data section to meta/godi/Makefile[1]