1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name auto-multiple-choice |
---|
7 | version 1.1.1 |
---|
8 | categories x11 tex education |
---|
9 | platforms darwin |
---|
10 | license GPL-2+ |
---|
11 | maintainers univ-lyon1.fr:clot |
---|
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 a OpenOffice.org sheet file. |
---|
19 | homepage http://home.gna.org/auto-qcm |
---|
20 | master_sites http://download.gna.org/auto-qcm/macports/ |
---|
21 | distfiles ${name}_${version}_precomp${extract.suffix} |
---|
22 | |
---|
23 | checksums sha1 98f9325bb83d15d55ee15ef5a1e2b7bf9f08d0c0 \ |
---|
24 | rmd160 e31a9c79bad6a55812b5a2aa38c9e4da940f5ec0 |
---|
25 | |
---|
26 | depends_lib port:opencv |
---|
27 | depends_run port:p5.12-gtk2 \ |
---|
28 | port:p5.12-xml-simple \ |
---|
29 | port:p5.12-xml-writer \ |
---|
30 | port:p5.12-archive-zip \ |
---|
31 | port:p5.12-locale-gettext \ |
---|
32 | port:p5.12-digest-md5 \ |
---|
33 | port:p5.12-module-load-conditional \ |
---|
34 | port:GraphicsMagick \ |
---|
35 | port:p5.12-openoffice-oodoc \ |
---|
36 | port:p5.12-net-cups \ |
---|
37 | port:p5.12-file-mimeinfo \ |
---|
38 | port:p5.12-dbd-sqlite \ |
---|
39 | port:p5.12-text-csv \ |
---|
40 | port:p5.12-file-basedir \ |
---|
41 | port:sqlite3 \ |
---|
42 | port:poppler \ |
---|
43 | port:netpbm \ |
---|
44 | port:librsvg |
---|
45 | |
---|
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}" |
---|
53 | |
---|
54 | destroot.args AMCCONF=macports \ |
---|
55 | BASEPATH=${prefix} |
---|
56 | |
---|
57 | variant latex description "Add LaTeX support" { |
---|
58 | depends_run-append port:texlive-latex-extra \ |
---|
59 | port:texlive-latex-recommended \ |
---|
60 | port:texlive-xetex |
---|
61 | |
---|
62 | build.args-delete LATEX_FREE=1 |
---|
63 | |
---|
64 | post-activate { |
---|
65 | system "${prefix}/bin/mktexlsr 2>&1" |
---|
66 | } |
---|
67 | |
---|
68 | post-deactivate { |
---|
69 | system "${prefix}/bin/mktexlsr 2>&1" |
---|
70 | } |
---|
71 | } |
---|
72 | |
---|
73 | default_variants +latex |
---|