aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/paragui/Makefile
blob: 08b5e42a3530f77e6dc910572bc9c9845d675be6 (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
36
# ex:ts=8
# New ports collection makefile for:    paragui
# Date Created:         Mar 28, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   paragui
PORTVERSION=    0.7.2
CATEGORIES= x11-toolkits
MASTER_SITES=   ftp://ftp.bms-austria.com/pub/paragui/release/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
        SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf

SDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config

USE_X_PREFIX=   yes
USE_FREETYPE=   yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}" \
        CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

USE_GMAKE=  yes

INSTALLS_SHLIB= yes

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

.include <bsd.port.mk>