From owner-svn-ports-head@FreeBSD.ORG Wed Nov 27 22:38:07 2013 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 B3EC86BC; Wed, 27 Nov 2013 22:38:07 +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 94511204C; Wed, 27 Nov 2013 22:38:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rARMc71I071996; Wed, 27 Nov 2013 22:38:07 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rARMc7mW071994; Wed, 27 Nov 2013 22:38:07 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201311272238.rARMc7mW071994@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 27 Nov 2013 22:38:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335071 - head/games/cutemaze 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.16 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: Wed, 27 Nov 2013 22:38:07 -0000 Author: nemysis Date: Wed Nov 27 22:38:06 2013 New Revision: 335071 URL: http://svnweb.freebsd.org/changeset/ports/335071 Log: - Change Makefile header - Change maintainer email to @FreeBSD.org - Support STAGEDIR - Add DOCS Option - Simplify Makefile - Change pkg-plist, remove mtree Approved by: pawel / wg (mentors, implicit) Modified: head/games/cutemaze/Makefile head/games/cutemaze/pkg-plist (contents, props changed) Modified: head/games/cutemaze/Makefile ============================================================================== --- head/games/cutemaze/Makefile Wed Nov 27 22:33:26 2013 (r335070) +++ head/games/cutemaze/Makefile Wed Nov 27 22:38:06 2013 (r335071) @@ -1,3 +1,4 @@ +# Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= cutemaze @@ -7,7 +8,7 @@ CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Simple, top-down game in which mazes are randomly generated LICENSE= GPLv3 @@ -22,22 +23,18 @@ INSTALLS_ICONS= yes PORTDOCS= ChangeLog README -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS post-install: -# Icons - @(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/) +.for d in 16x16 22x22 scalable + @(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \ + ${STAGEDIR}${PREFIX}/share/icons/oxygen) +.endfor -# Pixmaps - ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ -# Documentation -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/games/cutemaze/pkg-plist ============================================================================== --- head/games/cutemaze/pkg-plist Wed Nov 27 22:33:26 2013 (r335070) +++ head/games/cutemaze/pkg-plist Wed Nov 27 22:38:06 2013 (r335071) @@ -19,7 +19,6 @@ share/icons/oxygen/22x22/help-about.png share/icons/oxygen/22x22/media-playback-pause.png share/icons/oxygen/22x22/zoom-in.png share/icons/oxygen/22x22/zoom-out.png -share/icons/oxygen/LGPL share/icons/oxygen/scalable/application-exit.svgz share/icons/oxygen/scalable/document-new.svgz share/icons/oxygen/scalable/games-config-options.svgz @@ -30,11 +29,3 @@ share/icons/oxygen/scalable/media-playba share/icons/oxygen/scalable/zoom-in.svgz share/icons/oxygen/scalable/zoom-out.svgz share/pixmaps/cutemaze.png -@dirrmtry share/icons/oxygen/scalable -@dirrmtry share/icons/oxygen/22x22 -@dirrmtry share/icons/oxygen/16x16 -@dirrmtry share/icons/oxygen -@dirrmtry share/icons/hicolor/48x48/apps -@dirrmtry share/icons/hicolor/48x48 -@dirrmtry share/icons/hicolor -@dirrmtry share/icons