Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 08:31: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: r352738 - head/games/pacmanarena
Message-ID:  <201405010831.s418VbLS036617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Thu May  1 08:31:37 2014
New Revision: 352738
URL: http://svnweb.freebsd.org/changeset/ports/352738
QAT: https://qat.redports.org/buildarchive/r352738/

Log:
  - Add DOCS Option
  - Change Desktop entry file
  - Change REINPLACE, cosmetical changes
  - Break lines around 80 characters
  - Mute MKDIR

Modified:
  head/games/pacmanarena/Makefile

Modified: head/games/pacmanarena/Makefile
==============================================================================
--- head/games/pacmanarena/Makefile	Thu May  1 08:31:24 2014	(r352737)
+++ head/games/pacmanarena/Makefile	Thu May  1 08:31:37 2014	(r352738)
@@ -24,20 +24,22 @@ USE_SDL=	mixer net sdl
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	README
+OPTIONS_DEFINE=	DOCS
 
 INSTALLS_ICONS=	yes
 ICON_SIZES=	32x32 48x48 64x64 72x72 96x96
 
-DESKTOP_ENTRIES="Pacman Arena" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES="Pacman Arena" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ""
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|@prefix@|${DATADIR}| ; \
+	@${REINPLACE_CMD} -e 's|@prefix@|${DATADIR}|; \
 		s|@datadir@/pacman|${DATADIR}|' \
-		 ${WRKSRC}/Makefile.in
+		${WRKSRC}/Makefile.in
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/arena//} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/arena//} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 .for d in gfx sfx
 	@(cd ${WRKSRC}/../ && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
 .endfor
@@ -50,7 +52,7 @@ do-install:
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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