Date: Wed, 27 Nov 2013 22:38:07 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335071 - head/games/cutemaze Message-ID: <201311272238.rARMc7mW071994@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <nemysis@FreeBSD.org> # $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 <bsd.port.options.mk> +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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311272238.rARMc7mW071994>