svn commit: r438829 - head/games/openbubbles

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Apr 19 09:05:04 UTC 2017


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}
 


More information about the svn-ports-head mailing list