freebsd-ports/games/barrage/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

33 lines
728 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
PORTNAME= barrage
PORTVERSION= 1.0.5
CATEGORIES= games
MASTER_SITES= SF/lgames/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Destroy as many targets as possible
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gmake gnome sdl
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS BUGS ChangeLog README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/configure
post-install:
${LN} -sf ${PREFIX}/share/icons/${PORTNAME}48.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>