diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-27 22:38:06 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-27 22:38:06 +0000 |
commit | d437afe7420ae5fe124d17e9113ef634d543a690 (patch) | |
tree | 75a7b05d521774d447639251dad39e7efc97946d /games/cutemaze | |
parent | db9989e931d1144b340fae9c6290092e61f63741 (diff) | |
download | ports-d437afe7420ae5fe124d17e9113ef634d543a690.tar.gz ports-d437afe7420ae5fe124d17e9113ef634d543a690.zip |
- 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)
Notes
Notes:
svn path=/head/; revision=335071
Diffstat (limited to 'games/cutemaze')
-rw-r--r-- | games/cutemaze/Makefile | 29 | ||||
-rw-r--r-- | games/cutemaze/pkg-plist | 9 |
2 files changed, 13 insertions, 25 deletions
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile index 1106583577e8..d007095fafbf 100644 --- a/games/cutemaze/Makefile +++ b/games/cutemaze/Makefile @@ -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/) - -# Pixmaps - ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ - -# Documentation -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor -.endif +.for d in 16x16 22x22 scalable + @(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \ + ${STAGEDIR}${PREFIX}/share/icons/oxygen) +.endfor + + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/games/cutemaze/pkg-plist b/games/cutemaze/pkg-plist index 5cb3b89800fd..0754fd065303 100644 --- a/games/cutemaze/pkg-plist +++ b/games/cutemaze/pkg-plist @@ -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-playback-pause.svgz 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 |