Created attachment 170023 [details] A simple card game. A simple card game with a text intefeys entertainment and survey of the theory of probability.
Hi! These are trivial, so I will just fix these, but please consider installing "portlint" and running "portlint -A" on a new port submission in the future. FATAL: Makefile: [11]: use a tab (not space) after a variable name WARN: Makefile: COMMENT is not supposed to begin with 'A ', 'An ', or 'The '. FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section. FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section. WARN: Makefile: no ftp/http mirror in MASTER_SITES for users behind a proxy. FATAL: Makefile: extra item "PLIST_FILES" placed in the MAINTAINER section. WARN: Makefile: COMMENT is set externally to this port's Makefile, but this port is not configured as a slave port. WARN: Makefile: Consider defining LICENSE. 4 fatal errors and 4 warnings found.
I fixed several other things: o add LICENSE (it's BSD2CLAUSE from reading the header in .c file) o add "Created by:" to the Makefile o add WWW to pkg-descr o use SF macro for MASTER_SITES o switch to explicit "do-build" and "do-install" targets in order to: - respect ${CXX} and ${CXXFLAGS} set by ports framework - strip installed binary Additionally, the original submission didn't work because it installed the file directly to /usr/local. Files need to be "staged" in ${STAGEDIR}${PREFIX} and then "pkg" takes care of installing them to the right place.
Created attachment 178677 [details] updated shar Please see this shar with the proposed changes.
Created attachment 178678 [details] updated shar One more fix: distinfo needs a TIMESTAMP field. If you run "make makesum", it should fill this in for you.
A commit references this bug: Author: lifanov Date: Tue Jan 10 02:53:48 UTC 2017 New revision: 431060 URL: https://svnweb.freebsd.org/changeset/ports/431060 Log: add games/redorblack: a simple card game PR: 209307 Submitted by: buratello@easy.com Reviewed by: matthew Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D9110 Changes: head/games/Makefile head/games/redorblack/ head/games/redorblack/Makefile head/games/redorblack/distinfo head/games/redorblack/pkg-descr
Committed with changes, thanks!