Note: This PR supersedes ports/178783.
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.
Generated with FreeBSD Port Tools 0.99_8 (mode: new)
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.
Sorry, I updated the shar file for refining STAGEDIR handling and
using CC/CXX variables.
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.
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). 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:
> The job was finished but the buildstatus could not be determined.
> This might be because of circular dependencies or because of
> redports internal problems.
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 .
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.
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.
I added the post-patch line because shebangfix did not process spaces between '#!' and '/usr/bin/perl' as expected when I tested.
The bophook port has been removed. I guess I have to remove these 3 lines then?
A commit references this bug:
Date: Sat Sep 20 13:41:23 UTC 2014
New revision: 368639
Add new port misc/auto-multiple-choice
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.
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.