svn commit: r335007 - head/games/simsu
Rusmir Dusko
nemysis at FreeBSD.org
Wed Nov 27 11:49:18 UTC 2013
Author: nemysis
Date: Wed Nov 27 11:49:17 2013
New Revision: 335007
URL: http://svnweb.freebsd.org/changeset/ports/335007
Log:
- Change Makefile header
- Change maintainer email to @FreeBSD.org
- Add DOCS Option
- Add OPTIONS_SUB
- Change pkg-plist, remove mtree
Approved by: pawel / wg (mentors, implicit)
Modified:
head/games/simsu/Makefile
head/games/simsu/pkg-plist (contents, props changed)
Modified: head/games/simsu/Makefile
==============================================================================
--- head/games/simsu/Makefile Wed Nov 27 10:15:21 2013 (r335006)
+++ head/games/simsu/Makefile Wed Nov 27 11:49:17 2013 (r335007)
@@ -1,4 +1,4 @@
-# Created by: nemysis at gmx.ch
+# Created by: nemysis <nemysis at gmx.ch>
# $FreeBSD$
PORTNAME= simsu
@@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
-MAINTAINER= nemysis at gmx.ch
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= Basic Sudoku game
LICENSE= GPLv3
@@ -20,15 +20,13 @@ INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/games/simsu/pkg-plist
==============================================================================
--- head/games/simsu/pkg-plist Wed Nov 27 10:15:21 2013 (r335006)
+++ head/games/simsu/pkg-plist Wed Nov 27 11:49:17 2013 (r335007)
@@ -25,25 +25,3 @@ share/pixmaps/simsu.xpm
%%DATADIR%%/translations/simsu_uk.qm
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%
- at dirrmtry share/icons/hicolor/scalable/apps
- at dirrmtry share/icons/hicolor/scalable
- at dirrmtry share/icons/hicolor/64x64/apps
- at dirrmtry share/icons/hicolor/64x64
- at dirrmtry share/icons/hicolor/48x48/apps
- at dirrmtry share/icons/hicolor/48x48
- at dirrmtry share/icons/hicolor/32x32/apps
- at dirrmtry share/icons/hicolor/32x32
- at dirrmtry share/icons/hicolor/256x256/apps
- at dirrmtry share/icons/hicolor/256x256
- at dirrmtry share/icons/hicolor/24x24/apps
- at dirrmtry share/icons/hicolor/24x24
- at dirrmtry share/icons/hicolor/22x22/apps
- at dirrmtry share/icons/hicolor/22x22
- at dirrmtry share/icons/hicolor/16x16/apps
- at dirrmtry share/icons/hicolor/16x16
- at dirrmtry share/icons/hicolor/128x128/apps
- at dirrmtry share/icons/hicolor/128x128
- at dirrmtry share/icons/hicolor
- at dirrmtry share/icons
- at exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
- at unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
More information about the svn-ports-all
mailing list