Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 09:05:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438829 - head/games/openbubbles
Message-ID:  <201704190905.v3J953g3094384@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Apr 19 09:05:03 2017
New Revision: 438829
URL: https://svnweb.freebsd.org/changeset/ports/438829

Log:
  - Limit dos2unix to not corrupt binary files
  - Make iconon symlink relative
  - Switch to options helpers

Modified:
  head/games/openbubbles/Makefile

Modified: head/games/openbubbles/Makefile
==============================================================================
--- head/games/openbubbles/Makefile	Wed Apr 19 08:52:21 2017	(r438828)
+++ head/games/openbubbles/Makefile	Wed Apr 19 09:05:03 2017	(r438829)
@@ -15,12 +15,12 @@ COMMENT=	Clone of Evan Bailey's game Bub
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		tar:bzip2
+USES=		dos2unix tar:bzip2
+DOS2UNIX_FILES=	${WRKSRC}/src/BFont.cpp
 USE_SDL=	sdl gfx image
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
-OPTIONS_DEFINE=	DOCS
 
 INSTALLS_ICONS=	yes
 ICON_SIZES=	32x32 48x48 64x64 72x72 96x96 128x128
@@ -28,15 +28,18 @@ ICON_SIZES=	32x32 48x48 64x64 72x72 96x9
 DESKTOP_ENTRIES="OpenBubbles" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 .for s in ${ICON_SIZES}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
 		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 .endfor
-	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+	${LN} -sf ../../share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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