Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2013 16:34:37 +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: r335578 - in head/games/kye: . files
Message-ID:  <201312031634.rB3GYbtL095334@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Dec  3 16:34:36 2013
New Revision: 335578
URL: http://svnweb.freebsd.org/changeset/ports/335578

Log:
  - Change master sites
  - Change maintainer email to @FreeBSD.org
  - Add DOCS Option
  - Support STAGEDIR
  - Change pkg-message
  - Use only one WWW
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/kye/Makefile
  head/games/kye/files/pkg-message.in
  head/games/kye/pkg-descr

Modified: head/games/kye/Makefile
==============================================================================
--- head/games/kye/Makefile	Tue Dec  3 16:06:48 2013	(r335577)
+++ head/games/kye/Makefile	Tue Dec  3 16:34:36 2013	(r335578)
@@ -6,17 +6,17 @@ PORTVERSION=	1.0
 PORTREVISION=	3
 CATEGORIES=	games python
 MASTER_SITES=	http://games.moria.org.uk/kye/download/ \
-		SF/nemysisfreebsdp/kye/:nemysis
+		SF/nemysisfreebsdp/games/${PORTNAME}/:levels
 # Selection of production-ready/well-known Kye Levels
 # (Zipped levels already included from games.moria.org.uk are excluded)
 # Please contact the maintainer if a Level is missing
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
-		kye-data_moria_levels.20121101.tar.gz:nemysis \
-		kye-data_nuke_levels.20121101.tar.gz:nemysis \
-		kye-data_extra_levels.20120818.tar.gz:nemysis
+		kye-data_moria_levels.20121101.tar.gz:levels \
+		kye-data_nuke_levels.20121101.tar.gz:levels \
+		kye-data_extra_levels.20120818.tar.gz:levels
 DIST_SUBDIR=	kye
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Puzzle game with arcade game elements
 
 LICENSE=	GPLv2
@@ -24,16 +24,16 @@ LICENSE=	GPLv2
 USE_GNOME=	pygtk2 librsvg2
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-NO_BUILD=	yes
 
 PORTDOCS=	NEWS README
 
+OPTIONS_DEFINE=	DOCS
+
 SUB_FILES=	pkg-message
 
 DESKTOP_ENTRIES="Python Kye" "${COMMENT}" "Kye" \
 		"Kye" "Game;LogicGame;" false
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-extract-script:
@@ -43,17 +43,11 @@ post-extract-script:
 .endfor
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/kye-icon.png ${PREFIX}/share/pixmaps/Kye.png
-	${INSTALL_DATA} ${WRKSRC}/kye-edit-icon.png ${PREFIX}/share/pixmaps/Kye-edit.png
-	@cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} \* ${DATADIR}
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-	@${ECHO_CMD}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_CMD}
+	${INSTALL_DATA} ${WRKSRC}/kye-icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/Kye.png
+	${INSTALL_DATA} ${WRKSRC}/kye-edit-icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/Kye-edit.png
+	@cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/kye/files/pkg-message.in
==============================================================================
--- head/games/kye/files/pkg-message.in	Tue Dec  3 16:06:48 2013	(r335577)
+++ head/games/kye/files/pkg-message.in	Tue Dec  3 16:34:36 2013	(r335578)
@@ -2,6 +2,12 @@
 
 Python Kye has been installed.
 
+
+These levels are included in this package
+
+    http://www.nuke.demon.co.uk/kye/levels/
+
+
 This package does not include all Python Kye Levels.
 
 You can search for additional extra Levels here:
@@ -10,6 +16,7 @@ You can search for additional extra Leve
 
     http://www.classicdosgames.com/game/Kye.html
 
+
 and other Sites and put it in:
 
     %%DATADIR%%

Modified: head/games/kye/pkg-descr
==============================================================================
--- head/games/kye/pkg-descr	Tue Dec  3 16:06:48 2013	(r335577)
+++ head/games/kye/pkg-descr	Tue Dec  3 16:34:36 2013	(r335578)
@@ -9,5 +9,3 @@ work on any system with working Python a
 for instance.
 
 WWW: http://games.moria.org.uk/kye/
-WWW: http://www.nuke.demon.co.uk/kye/levels/
-WWW: https://sourceforge.net/projects/nemysisfreebsdp/files/kye/



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