Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2014 21:47:10 +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: r339725 - in head/games/pangzero: . files
Message-ID:  <201401142147.s0ELlAIS080307@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Jan 14 21:47:09 2014
New Revision: 339725
URL: http://svnweb.freebsd.org/changeset/ports/339725
QAT: https://qat.redports.org/buildarchive/r339725/

Log:
  - Change master sites
  - Change Desktop entry file
  - Fix the usage of 'perl' to get rid of the implicit lang/perl dependency

Modified:
  head/games/pangzero/Makefile
  head/games/pangzero/files/pangzero.in

Modified: head/games/pangzero/Makefile
==============================================================================
--- head/games/pangzero/Makefile	Tue Jan 14 21:34:53 2014	(r339724)
+++ head/games/pangzero/Makefile	Tue Jan 14 21:47:09 2014	(r339725)
@@ -5,7 +5,7 @@ PORTNAME=	pangzero
 PORTVERSION=	1.3
 CATEGORIES=	games
 MASTER_SITES=	SF \
-		SF/nemysisfreebsdp/Apocalypse/:icons
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}_icons${EXTRACT_SUFX}:icons
 
@@ -24,10 +24,8 @@ PORTDOCS=	AUTHORS ChangeLog README
 
 SUB_FILES=	${PORTNAME}
 
-DESKTOP_ENTRIES="Pang Zero" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}" "Game;ActionGame;" false
-
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="Pang Zero" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ActionGame;" ""
 
 post-extract:
 	@${FIND} ${WRKSRC} -name "Makefile*" -delete
@@ -36,15 +34,15 @@ post-extract:
 .endfor
 
 do-install:
+	@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' \
+		${WRKDIR}/${PORTNAME}
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "bin data" ${STAGEDIR}${DATADIR})
 
 	${LN} -sf ${DATADIR}/data/icon.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
 
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/pangzero/files/pangzero.in
==============================================================================
--- head/games/pangzero/files/pangzero.in	Tue Jan 14 21:34:53 2014	(r339724)
+++ head/games/pangzero/files/pangzero.in	Tue Jan 14 21:47:09 2014	(r339725)
@@ -4,4 +4,4 @@
 #
 
 cd "%%DATADIR%%"/bin
-exec /usr/bin/env perl ./pangzero "${@}"
+exec %%PERL%% ./pangzero "${@}"



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