aboutsummaryrefslogtreecommitdiff
path: root/games/penguin-command/Makefile
blob: cb32c7210461840a0c4ed2e6be11f0262633f5a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	penguin-command
PORTVERSION=	1.6.11
PORTREVISION=	13
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Clone of the classic game Missile Command
WWW=		https://www.linux-games.com/penguin-command/

LIB_DEPENDS=	libpng.so:graphics/png

USES=		jpeg sdl
USE_SDL=	mixer image sdl
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share

PLIST_FILES=	bin/${PORTNAME} \
		share/man/man6/penguin-command.6.gz \
		share/man/man6/penguin-command.ja.6.gz
PORTDATA=	*

DESKTOP_ENTRIES="Penguin Command" \
		"${COMMENT}" \
		"${DATADIR}/gfx/icon.xpm" \
		"${PORTNAME}" \
		"Game;ArcadeGame;" \
		""

post-patch:
	@${REINPLACE_CMD} 's|LIBS="-lSDL_image|LIBS="-lSDL_image $$SDL_LIBS|g; \
		s| -lSDL | |g' ${WRKSRC}/configure

.include <bsd.port.mk>