Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 11:49:17 +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: r335007 - head/games/simsu
Message-ID:  <201311271149.rARBnH6P042781@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD$
 
 PORTNAME=	simsu
@@ -8,7 +8,7 @@ CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
 EXTRACT_SUFX=	-src.tar.bz2
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@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%%
-@dirrmtry share/icons/hicolor/scalable/apps
-@dirrmtry share/icons/hicolor/scalable
-@dirrmtry share/icons/hicolor/64x64/apps
-@dirrmtry share/icons/hicolor/64x64
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/256x256/apps
-@dirrmtry share/icons/hicolor/256x256
-@dirrmtry share/icons/hicolor/24x24/apps
-@dirrmtry share/icons/hicolor/24x24
-@dirrmtry share/icons/hicolor/22x22/apps
-@dirrmtry share/icons/hicolor/22x22
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor/128x128/apps
-@dirrmtry share/icons/hicolor/128x128
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
-@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311271149.rARBnH6P042781>