aboutsummaryrefslogtreecommitdiffstats
path: root/games/penguin-command/Makefile
blob: 2f8e01154aec6ca79f2a4c7d0a62f7c434d9b9d2 (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
35
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=   penguin-command
PORTVERSION=    1.6.11
PORTREVISION=   11
CATEGORIES= games
MASTER_SITES=   SF

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Clone of the classic game Missile Command

LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png

USES=       jpeg
USE_SDL=    mixer image sdl
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/${PORTNAME} \
        man/man6/penguin-command.6.gz \
        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>