diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-11-28 06:38:06 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-11-28 06:38:06 +0800 |
commit | 7867868b2736a3b181ebadc5c626f0b15835256e (patch) | |
tree | 75a7b05d521774d447639251dad39e7efc97946d /games | |
parent | a0eb5459483bbc455e61fea94cb7ca40e3874606 (diff) | |
download | freebsd-ports-gnome-7867868b2736a3b181ebadc5c626f0b15835256e.tar.gz freebsd-ports-gnome-7867868b2736a3b181ebadc5c626f0b15835256e.tar.zst freebsd-ports-gnome-7867868b2736a3b181ebadc5c626f0b15835256e.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)
Diffstat (limited to 'games')
-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 |