freebsd-ports/games/frozen-bubble/Makefile
Mathieu Arnold f6d56007b9 Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.

When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS.  In order of preference, they are:

1) use RUN_DEPENDS to set BUILD_DEPENDS:

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	foo:bar/baz

2) create another variable and use it:

MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS=	${MY_DEPENDS}
RUN_DEPENDS=	${MY_DEPENDS}

3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:

BUILD_DEPENDS=	foo:bar/baz
RUN_DEPENDS:=	${BUILD_DEPENDS}

Sponsored by:	Absolight
2018-07-09 08:40:17 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Klaus Goger <klaus.goger@reflex.at>
# $FreeBSD$
PORTNAME= frozen-bubble
DISTVERSION= 2.2.1-beta1
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://www.frozen-bubble.org/data/
MAINTAINER= ports@FreeBSD.org
COMMENT= Throw colourful bubbles to build groups and destroy the groups
LICENSE= GPLv2
BUILD_DEPENDS= ${RUN_DEPENDS} \
p5-File-Slurp>=0:devel/p5-File-Slurp
RUN_DEPENDS= p5-SDL>=2.511:devel/p5-SDL \
p5-Locale-gettext>=0:devel/p5-Locale-gettext \
p5-IPC-System-Simple>=0:devel/p5-IPC-System-Simple \
p5-Locale-Maketext-Simple>=0:devel/p5-Locale-Maketext-Simple \
p5-Locale-Maketext-Lexicon>=0:devel/p5-Locale-Maketext-Lexicon \
p5-Compress-Bzip2>=0:archivers/p5-Compress-Bzip2 \
p5-Alien-SDL>=1.413:devel/p5-Alien-SDL
USES= compiler:features perl5 pkgconfig tar:bzip2
USE_PERL5= modbuild
USE_SDL= mixer pango sdl ttf
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE:Mclang}
CFLAGS+= -Qunused-arguments
.endif
DESKTOP_ENTRIES= "Frozen Bubble" "" \
"${PREFIX}/share/pixmaps/frozen-bubble.png" \
"${PORTNAME}" "ArcadeGame;Game;" true
post-install:
${INSTALL_DATA} ${WRKSRC}/share/icons/frozen-bubble-icon-64x64.png \
${STAGEDIR}${PREFIX}/share/pixmaps/frozen-bubble.png
.include <bsd.port.post.mk>