Index: head/games/openbubbles/Makefile =================================================================== --- head/games/openbubbles/Makefile (revision 438828) +++ head/games/openbubbles/Makefile (revision 438829) @@ -1,43 +1,46 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= openbubbles PORTVERSION= 1.2 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Clone of Evan Bailey's game Bubbles 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 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} .include