Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 21:44:14 +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: r339551 - head/games/domination
Message-ID:  <201401122144.s0CLiERg027329@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sun Jan 12 21:44:13 2014
New Revision: 339551
URL: http://svnweb.freebsd.org/changeset/ports/339551

Log:
  - Change Desktop entry file
  - Support STAGEDIR
  - Break lines around 80 characters
  - Use only one WWW

Modified:
  head/games/domination/Makefile
  head/games/domination/pkg-descr   (contents, props changed)

Modified: head/games/domination/Makefile
==============================================================================
--- head/games/domination/Makefile	Sun Jan 12 21:16:06 2014	(r339550)
+++ head/games/domination/Makefile	Sun Jan 12 21:44:13 2014	(r339551)
@@ -40,6 +40,9 @@ MAPS=		solar bigeurope google europass e
 		simpsons_world simpsons germany2
 
 PORTDOCS=	ChangeLog.txt ReadMe.txt commands.txt todo.txt
+
+OPTIONS_DEFINE=	DOCS
+
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 
 SUB_FILES=	${PORTNAME}-FlashGUI \
@@ -47,12 +50,9 @@ SUB_FILES=	${PORTNAME}-FlashGUI \
 		${PORTNAME}-SimpleGUI \
 		${PORTNAME}-SwingGUI
 
-DESKTOP_ENTRIES="Domination" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}-SwingGUI" "Game;StrategyGame;" false
+DESKTOP_ENTRIES="Domination" "" "${PORTNAME}" \
+		"${PORTNAME}-SwingGUI" "Game;StrategyGame;" ""
 
-OPTIONS_DEFINE=	DOCS
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-extract-script:
@@ -61,15 +61,16 @@ post-extract-script:
 .endfor
 
 do-install:
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "help lib maps resources saves *.jar *.cmd *.htm *.txt *.ini" ${DATADIR})
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-* ${PREFIX}/bin
-	@(cd ${WRKSRC} && ${INSTALL_SCRIPT} *.sh ${DATADIR})
-	@(cd ${DATADIR} && ${CHMOD} 774 saves)
-	${LN} -sf ${DATADIR}/resources/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
-
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
+		"help lib maps resources saves *.jar *.cmd *.htm *.txt *.ini" \
+			${STAGEDIR}${DATADIR})
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-* ${STAGEDIR}${PREFIX}/bin/
+	@(cd ${WRKSRC} && ${INSTALL_SCRIPT} *.sh ${STAGEDIR}${DATADIR})
+	@(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 774 saves)
+	${LN} -sf ${DATADIR}/resources/icon.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/domination/pkg-descr
==============================================================================
--- head/games/domination/pkg-descr	Sun Jan 12 21:16:06 2014	(r339550)
+++ head/games/domination/pkg-descr	Sun Jan 12 21:44:13 2014	(r339551)
@@ -7,5 +7,4 @@ Written in java it includes a map editor
 network play, single player, hotseat, 5 user interfaces and many more features,
 it works in all OSs that run java.
 
-WWW: http://domination.sourceforge.net/
 WWW: http://yura.net/projects/domination/



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