From owner-svn-ports-head@freebsd.org Tue Mar 26 15:07:49 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 230231555B82; Tue, 26 Mar 2019 15:07:49 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEB236FCC6; Tue, 26 Mar 2019 15:07:48 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9818B21627; Tue, 26 Mar 2019 15:07:48 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2QF7mAJ079057; Tue, 26 Mar 2019 15:07:48 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2QF7mj9079055; Tue, 26 Mar 2019 15:07:48 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201903261507.x2QF7mj9079055@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 26 Mar 2019 15:07:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496900 - head/games/asciiquarium X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: head/games/asciiquarium X-SVN-Commit-Revision: 496900 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BEB236FCC6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2019 15:07:49 -0000 Author: 0mp Date: Tue Mar 26 15:07:47 2019 New Revision: 496900 URL: https://svnweb.freebsd.org/changeset/ports/496900 Log: games/asciiquarium: Clean up, install docs & set license - Standardize COMMENT - Set LICENSE - Fix shebang lines - Install documentation - Define do-test - Extend the pkg-descr a little bit Reviewed by: krion Approved by: krion (mentor), maintainer (timeout, > 14 days) Differential Revision: https://reviews.freebsd.org/D19533 Modified: head/games/asciiquarium/Makefile head/games/asciiquarium/pkg-descr Modified: head/games/asciiquarium/Makefile ============================================================================== --- head/games/asciiquarium/Makefile Tue Mar 26 14:28:10 2019 (r496899) +++ head/games/asciiquarium/Makefile Tue Mar 26 15:07:47 2019 (r496900) @@ -3,24 +3,40 @@ PORTNAME= asciiquarium PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.robobunny.com/projects/asciiquarium/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= fjoe@FreeBSD.org -COMMENT= aquarium/sea animation in ASCII art +COMMENT= Aquarium/sea animation in ASCII art +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/gpl.txt + RUN_DEPENDS= p5-Term-Animation>=0:devel/p5-Term-Animation -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= asciiquarium + +NO_ARCH= yes NO_BUILD= yes -WRKSRC= ${WRKDIR}/${DISTNAME} - PLIST_FILES= bin/asciiquarium +PORTDOCS= README +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +do-test: + (sleep 0.1 && echo p && sleep 0.1 && echo p && sleep 0.1 && echo r && \ + sleep 0.1 && echo q) | ${STAGEDIR}${PREFIX}/bin/asciiquarium .include Modified: head/games/asciiquarium/pkg-descr ============================================================================== --- head/games/asciiquarium/pkg-descr Tue Mar 26 14:28:10 2019 (r496899) +++ head/games/asciiquarium/pkg-descr Tue Mar 26 15:07:47 2019 (r496900) @@ -1,3 +1,5 @@ Asciiquarium is an aquarium/sea animation in ASCII art. +Enjoy the mysteries of the sea from the safety of your own terminal! + WWW: http://www.robobunny.com/projects/asciiquarium/