aboutsummaryrefslogtreecommitdiffstats
path: root/games/crimson/Makefile
blob: 012a35bf46069a1a1160211f9e2e82ae53b44c01 (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
# New ports collection makefile for:    crimson
# Date created:             3 May 2001
# Whom:                 Jan Jungnickel <jan@jungnickel.com>
#
# $FreeBSD$

PORTNAME=   crimson
PORTVERSION=    0.2.3
CATEGORIES= games
MASTER_SITES=   http://www.lanipage.de/jens/crimson/
PKGNAMESUFFIX=  -fields
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= jan@jungnickel.com

LIB_DEPENDS=    SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
        SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer

USE_BZIP2=  yes
SDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE=  yes
USE_GMAKE=  yes

MAN6=   crimson.6

post-patch:
    @${PERL} -pi -e "s|sdl-config|${SDL_CONFIG}|; s|SDL/|SDL11/|" \
        ${WRKSRC}/configure

.include <bsd.port.mk>