svn commit: r335071 - head/games/cutemaze
Rusmir Dusko
nemysis at FreeBSD.org
Wed Nov 27 22:38:07 UTC 2013
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 at FreeBSD.org>
# $FreeBSD$
PORTNAME= cutemaze
@@ -7,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
-MAINTAINER= nemysis at gmx.ch
+MAINTAINER= nemysis at 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
- at dirrmtry share/icons/oxygen/scalable
- at dirrmtry share/icons/oxygen/22x22
- at dirrmtry share/icons/oxygen/16x16
- at dirrmtry share/icons/oxygen
- at dirrmtry share/icons/hicolor/48x48/apps
- at dirrmtry share/icons/hicolor/48x48
- at dirrmtry share/icons/hicolor
- at dirrmtry share/icons
More information about the svn-ports-all
mailing list