From owner-svn-ports-head@FreeBSD.ORG Thu Jan 30 21:04:39 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10F829CE; Thu, 30 Jan 2014 21:04:39 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F152D1583; Thu, 30 Jan 2014 21:04:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0UL4chl033716; Thu, 30 Jan 2014 21:04:38 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0UL4cgJ033711; Thu, 30 Jan 2014 21:04:38 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201401302104.s0UL4cgJ033711@svn.freebsd.org> From: Pawel Pekala Date: Thu, 30 Jan 2014 21:04:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341887 - head/games/pathological X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 30 Jan 2014 21:04:39 -0000 Author: pawel Date: Thu Jan 30 21:04:38 2014 New Revision: 341887 URL: http://svnweb.freebsd.org/changeset/ports/341887 QAT: https://qat.redports.org/buildarchive/r341887/ Log: - Add LICENSE, desktop entry file [1] - Convert to new options framework [1] - Fix issues reported by portlint [1] - Use PYGAME for RUN_DEPENDS - Add staging support - Unmute install commands PR: ports/185664 [1] Submitted by: Hardy Schumacher Approved by: maintainer timeout Modified: head/games/pathological/Makefile head/games/pathological/pkg-descr head/games/pathological/pkg-plist Modified: head/games/pathological/Makefile ============================================================================== --- head/games/pathological/Makefile Thu Jan 30 20:58:42 2014 (r341886) +++ head/games/pathological/Makefile Thu Jan 30 21:04:38 2014 (r341887) @@ -3,38 +3,41 @@ PORTNAME= pathological PORTVERSION= 1.1.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF MAINTAINER= jmohacsi@bsd.hu COMMENT= Enriched clone of the game "Logical" -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYGAME} + +OPTIONS_DEFINE= DOCS USE_PYTHON= yes NO_BUILD= yes -MAN6= pathological.6 -MANCOMPRESSED= yes DOC_FILES= favicon.ico index.html -NO_STAGE= yes +DESKTOP_ENTRIES="Pathological" \ + "Logic game" \ + "${DATADIR}/pathological.ico" \ + "pathological" \ + "Game;LogicGame;" \ + false + do-install: - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}; tar -cf - circuits graphics music sounds pathological.ico pathological.py pathological.xpm) | \ - (cd ${DATADIR}; tar --unlink -xf -) - @printf "#!/bin/sh\ncd ${DATADIR} && \ + (cd ${STAGEDIR}${DATADIR}; tar --unlink -xf -) + @${PRINTF} "#!/bin/sh\ncd ${DATADIR} && \ exec ${PYTHON_CMD} ${DATADIR}/pathological.py\n" > ${WRKDIR}/pathological.sh - @${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh ${PREFIX}/bin/pathological -.ifndef(NO_INSTALL_MANPAGES) - ${INSTALL_MAN} ${WRKSRC}/${MAN6}.gz ${MAN6PREFIX}/man/man6/ -.endif -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/html/${file} ${DOCSDIR} -.endfor -.endif + ${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh \ + ${STAGEDIR}${PREFIX}/bin/pathological + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6.gz ${STAGEDIR}${MANPREFIX}/man/man6 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/html/|g} ${STAGEDIR}${DOCSDIR} .include Modified: head/games/pathological/pkg-descr ============================================================================== --- head/games/pathological/pkg-descr Thu Jan 30 20:58:42 2014 (r341886) +++ head/games/pathological/pkg-descr Thu Jan 30 21:04:38 2014 (r341887) @@ -10,4 +10,4 @@ Features * 50 diverse and challenging levels (more to come...) * A cool 6-minute ambient soundtrack by an award-winning musician -WWW: http://pathological.sourceforge.net/ +WWW: http://pathological.sourceforge.net/ Modified: head/games/pathological/pkg-plist ============================================================================== --- head/games/pathological/pkg-plist Thu Jan 30 20:58:42 2014 (r341886) +++ head/games/pathological/pkg-plist Thu Jan 30 21:04:38 2014 (r341887) @@ -1,4 +1,5 @@ bin/pathological +man/man6/pathological.6.gz %%DATADIR%%/circuits/all-boards %%DATADIR%%/graphics/backdrop.jpg %%DATADIR%%/graphics/blank-bg-tile.png