aboutsummaryrefslogtreecommitdiffstats
path: root/games/penguin-command/Makefile
blob: 0a1b3a323376221c03b073049b1685a66c6ecff1 (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=   9
CATEGORIES= games
MASTER_SITES=   SF

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

LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png \
        libjpeg.so:${PORTSDIR}/graphics/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>