6 | | name auto-multiple-choice |
7 | | version 1.1.1 |
8 | | revision 1 |
9 | | categories x11 tex education |
10 | | platforms darwin |
11 | | license GPL-2+ |
12 | | maintainers univ-lyon1.fr:clot |
13 | | |
14 | | description Auto Multiple Choice - Multiple Choice Papers Management |
15 | | long_description Utility to manage multiple choice questionnaires, \ |
16 | | with optionally mixed questions and answers. \ |
17 | | AMC provides automatic marking from papers' scans. \ |
18 | | Annotated papers are produced. Marks can be exported \ |
19 | | as an OpenOffice.org sheet file. |
20 | | homepage http://home.gna.org/auto-qcm |
21 | | master_sites http://download.gna.org/auto-qcm/macports/ |
22 | | distfiles ${name}_${version}_precomp${extract.suffix} |
23 | | |
24 | | checksums sha1 98f9325bb83d15d55ee15ef5a1e2b7bf9f08d0c0 \ |
25 | | rmd160 e31a9c79bad6a55812b5a2aa38c9e4da940f5ec0 |
26 | | |
27 | | depends_lib port:opencv |
28 | | depends_run port:p5.12-gtk2 \ |
29 | | port:p5.12-xml-simple \ |
30 | | port:p5.12-xml-writer \ |
31 | | port:p5.12-archive-zip \ |
32 | | port:p5.12-locale-gettext \ |
33 | | port:p5.12-digest-md5 \ |
34 | | port:p5.12-module-load-conditional \ |
35 | | port:GraphicsMagick \ |
36 | | port:p5.12-openoffice-oodoc \ |
37 | | port:p5.12-net-cups \ |
38 | | port:p5.12-file-mimeinfo \ |
39 | | port:p5.12-dbd-sqlite \ |
40 | | port:p5.12-text-csv \ |
41 | | port:p5.12-file-basedir \ |
42 | | port:sqlite3 \ |
43 | | port:poppler \ |
44 | | port:netpbm \ |
45 | | port:librsvg |
46 | | |
47 | | use_configure no |
48 | | |
49 | | build.args AMCCONF=macports \ |
50 | | BASEPATH=${prefix} \ |
51 | | LATEX_FREE=1 \ |
52 | | GCC_PP="${configure.cc} ${configure.cc_archflags}" |
| 6 | name auto-multiple-choice |
| 7 | version 1.2.1 |
| 8 | categories x11 tex education |
| 9 | platforms darwin |
| 10 | license GPL-2+ |
| 11 | maintainers laposte.fr:joel.brogniart |
| 12 | |
| 13 | description Auto Multiple Choice - Multiple Choice Papers Management |
| 14 | long_description Utility to manage multiple choice questionnaires, \ |
| 15 | with optionally mixed questions and answers. \ |
| 16 | AMC provides automatic marking from papers' scans. \ |
| 17 | Annotated papers are produced. Marks can be exported \ |
| 18 | as an OpenOffice.org sheet file. \ |
| 19 | \ |
| 20 | This version can't print directly with CUPS. User should set \ |
| 21 | "Printing method" to "file" or "command" in preferences. \ |
| 22 | "file" method produce PDF files that could be printed from OS X. |
| 23 | |
| 24 | homepage http://home.gna.org/auto-qcm |
| 25 | master_sites http://download.gna.org/auto-qcm/macports/ |
| 26 | distfiles ${name}_${version}_precomp${extract.suffix} |
| 27 | |
| 28 | checksums sha256 534b1a9cd855532bd6c065a29e09dec2ba07c8ee155317e416260a9d5942420a \ |
| 29 | rmd160 760b64682e583147b9a774233b10de68513353e3 |
| 30 | |
| 31 | conflicts auto-multiple-choice-devel |
| 32 | |
| 33 | depends_build-append port:dblatex \ |
| 34 | port:p5.12-xml-libxml |
| 35 | depends_lib port:opencv |
| 36 | depends_run port:p5.12-gtk2 \ |
| 37 | port:p5.12-xml-simple \ |
| 38 | port:p5.12-xml-writer \ |
| 39 | port:p5.12-archive-zip \ |
| 40 | port:p5.12-locale-gettext \ |
| 41 | port:p5.12-digest-md5 \ |
| 42 | port:p5.12-module-load-conditional \ |
| 43 | port:p5.12-perlmagick \ |
| 44 | port:p5.12-openoffice-oodoc \ |
| 45 | port:p5.12-file-mimeinfo \ |
| 46 | port:p5.12-dbd-sqlite \ |
| 47 | port:p5.12-text-csv \ |
| 48 | port:p5.12-file-basedir \ |
| 49 | port:p5.12-email-mime \ |
| 50 | port:p5.12-email-sender \ |
| 51 | port:sqlite3 \ |
| 52 | port:poppler \ |
| 53 | port:netpbm \ |
| 54 | port:librsvg \ |
| 55 | port:gdk-pixbuf2 |
| 56 | |
| 57 | use_configure no |
| 58 | |
| 59 | build.args AMCCONF=macports \ |
| 60 | BASEPATH=${prefix} \ |
| 61 | LATEX_FREE=1 \ |
| 62 | GCC_PP="${configure.cc} ${configure.cc_archflags}" |
| 63 | |
| 64 | # When first installed auto-multiple-choice could fail to launch with |
| 65 | # a "Format d'image non reconnu at /opt/local/lib/AMC/perl/AMC-gui.pl line 101" |
| 66 | # ("Unknown image format?"). |
| 67 | # The following update cache command makes auto-multiple-choice happy. |
| 68 | post-activate { |
| 69 | system "${prefix}/bin/gdk-pixbuf-query-loaders --update-cache 2>&1" |
| 70 | } |