From owner-svn-ports-head@freebsd.org Mon Apr 10 09:02:11 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33CEAD37610; Mon, 10 Apr 2017 09:02:11 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id DE0FEF65; Mon, 10 Apr 2017 09:02:10 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3A92929034471; Mon, 10 Apr 2017 09:02:09 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3A929vm034448; Mon, 10 Apr 2017 09:02:09 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201704100902.v3A929vm034448@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 10 Apr 2017 09:02:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438135 - head/games/magicmaze 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.23 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: Mon, 10 Apr 2017 09:02:11 -0000 Author: amdmi3 Date: Mon Apr 10 09:02:09 2017 New Revision: 438135 URL: https://svnweb.freebsd.org/changeset/ports/438135 Log: - Simplify by using DISTVERSION - Fix LICENSE - Add NO_ARCH - Switch to options helpers Modified: head/games/magicmaze/Makefile Modified: head/games/magicmaze/Makefile ============================================================================== --- head/games/magicmaze/Makefile Mon Apr 10 08:43:16 2017 (r438134) +++ head/games/magicmaze/Makefile Mon Apr 10 09:02:09 2017 (r438135) @@ -2,47 +2,47 @@ # $FreeBSD$ PORTNAME= magicmaze -PORTVERSION= 1.4.3.6 +DISTVERSION= 1_4_3_6 PORTREVISION= 4 CATEGORIES= games ruby MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/ -DISTNAME= ${PORTNAME}-${DISTVERSION:S/./_/g} MAINTAINER= ports@FreeBSD.org COMMENT= Simple and low-tech monster-bashing maze game -LICENSE= GPLv2 RUBY +LICENSE= GPLv2+ RUBY LICENSE_COMB= dual -LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING_GPL.txt +LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING_GPL.txt RUN_DEPENDS= ruby${RUBY_SUFFIX}-sdl>=0:devel/ruby-sdl -WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/./_/g} - USES= shebangfix SHEBANG_FILES= mm.rb testmm.rb USE_SDL= sdl image mixer USE_RUBY= yes NO_BUILD= yes - -PORTDOCS= * - -OPTIONS_DEFINE= DOCS +NO_ARCH= yes SUB_FILES= ${PORTNAME} SUB_LIST= RUBY=${RUBY} +PORTDOCS= * + DESKTOP_ENTRIES="Magic Maze" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data magicmaze" ${STAGEDIR}${DATADIR}) ${INSTALL_SCRIPT} ${WRKSRC}/*.rb ${STAGEDIR}${DATADIR} - - ${LN} -sf ${DATADIR}/data/gfx/icon.png \ + ${LN} -sf ../../${DATADIR_REL}/data/gfx/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png - cd ${WRKSRC} && ${COPYTREE_SHARE} "README.TXT doc/BUGS.TXT" \ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.TXT ${WRKSRC}/doc/BUGS.TXT \ ${STAGEDIR}${DOCSDIR} .include