Summary: | [NEW PORT] misc/auto-multiple-choice: Multiple Choice Questionnaires management with automated marking | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | hiroto.kagotani |
Component: | Individual Port(s) | Assignee: | John Marino <marino> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | adamw, cs, koobs, marino |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Attachments: |
Description
hiroto.kagotani
2013-08-21 10:30:00 UTC
Here I attach an updated shar file for this new port. Could anyone please confirm and create this port? Since this port is mainly for school teachers and there is not a good category for such applications, I chose "misc" category. Thank you very much in advance. Best Regards, -- Hiroto Kagotani <hiroto.kagotani@gmail.com> Sorry, I updated the shar file for refining STAGEDIR handling and using CC/CXX variables. Best Regards, -- Hiroto Kagotani <hiroto.kagotani@gmail.com> Hi, if you are still interested in having this port in FreeBSD, it may (or may not) need to be reworked to support stage, and it may need updating to other newer conventions such as "USES" which is expanding all time. For staging, see http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html Additionally, you need to provide some sort of quality assurance. In order of preference, we are looking for: 1) "poudriere testport" or "poudriere bulk -t" logs 2) Redports or tinderbox logs Please provide an updated shar file and attach a test log. Alternatively, please indicate if you are no longer interested in having this software in the Ports Collection and that we can close the PR. Thanks! I advise that you follow John's suggestions. Your port does some odd stuff like defining USE_GCC twice. Moreover though, MAN* are not used in staged ports, so it won't package. Please run this port through poudriere yourself or submit it to Redports. It'll help you catch any problems. I'd also suggest considering deskutils as the category... just a thought. I apologize, but after 30 September I'm going to close all *unstaged* "new port" PRs, even if it is through no fault of the submitter. If you are still interested in getting the port into tree, please provide an updated share and some build verification (poudriere logs, redports logs, or Porter's Handbook[1]). If you do that, we'll fast-track the port into the tree. I'm sorry about this. "make check-plist" followed by "make stage-qa" output (https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html) Created attachment 146659 [details]
shar file that passes pourdriere
Created attachment 146660 [details]
log file generated by "poudriere testport -j 100amd64 -o misc/auto-multiple-choice"
Thank you Hiroto! Please also include `portlint -AC` output in a comment. If it's not already installed, you may find it in ports-mgmt/portlint. Created attachment 146664 [details]
portlink -AC output
Thank you very much for advices. I fixed some problems regarding staging and cleaned some files. Though pourdriere finishes without any problem as in attached log file, redports finishes with just "finished" (not "success") status: https://redports.org/buildarchive/20140902033924-28903/ > finished > The job was finished but the buildstatus could not be determined. > This might be because of circular dependencies or because of > redports internal problems. Regards, You're welcome, and it's good to have both (poudriere and redports logs). 'Finished' can be a symptom of internal redports issues as well as port issues [1]. [1] https://redports.org/wiki/Buildstatus Just one note: shouldn't this port go into the textproc category? The best matching category would be "education" if there were. But, yes, it somewhat matches "textproc", "graphics" and "print". I don't persist in "misc" category. Thanks. If "education" is the best fit, then "misc/" is probably fine Quick review (I'll fix): You are manually fixing perl scripts in post-install This is what USES+=shebangfix is for. Your use of post-install target is redundant, so I'll remove it. Also, the :U modifier in make is no longer used, it's called ":tu" now. Thanks. I added the post-patch line because shebangfix did not process spaces between '#!' and '/usr/bin/perl' as expected when I tested. X.if !empty(TEX_DEFAULT:tu:MTETEX) XRUN_DEPENDS+= ${LOCALBASE}/${TEXMFLOCALDIR}/tex/latex/bophook/bophook.sty:${PORTSDIR}/print/bophook X.endif The bophook port has been removed. I guess I have to remove these 3 lines then? A commit references this bug: Author: marino Date: Sat Sep 20 13:41:23 UTC 2014 New revision: 368639 URL: http://svnweb.freebsd.org/changeset/ports/368639 Log: Add new port misc/auto-multiple-choice PR: 181451 Submitted by: Hiroto Kagotani Auto Multiple Choice (AMC) is a piece of software that helps you to create and manage multiple choice questionnaires, with automated marking. Tests can be written in plain text or LaTeX. Automated correction and grading is performed from scans of the answer sheets using optical mark recognition. Changes: head/misc/Makefile head/misc/auto-multiple-choice/ head/misc/auto-multiple-choice/Makefile head/misc/auto-multiple-choice/distinfo head/misc/auto-multiple-choice/files/ head/misc/auto-multiple-choice/files/patch-AMC-traitement-image.c head/misc/auto-multiple-choice/files/patch-Makefile head/misc/auto-multiple-choice/files/patch-Makefile.conf head/misc/auto-multiple-choice/pkg-descr head/misc/auto-multiple-choice/pkg-message head/misc/auto-multiple-choice/pkg-plist Okay, I removed that TEX stuff, it builds without out. I also converted this to use PORTDOCS and defined the DOCS option. I also trimmed some lines out of pkg-plist that were trying to remove directories that were installed by dependencies. If the TEX stuff needs to be reworked, just submit a new PR. I think the port is okay though. |