aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-nebulus/Makefile
blob: af5f7801e75519414e78f518cfd42c0913dac747 (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
# New ports collection makefile for:    xmms-nebulus
# Date created:             3 Oct 2002
# Whom:                 David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=   xmms-nebulus
PORTVERSION=    0.3.0
CATEGORIES= graphics
MASTER_SITES=   http://nebulus.tuxfamily.org/

MAINTAINER= dyeske@yahoo.com

BUILD_DEPENDS=  xmms-config:${PORTSDIR}/audio/xmms
LIB_DEPENDS=    SDL-1.1.4:${PORTSDIR}/devel/sdl12
RUN_DEPENDS=    xmms:${PORTSDIR}/audio/xmms

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

USE_X_PREFIX=   yes
USE_MESA=   yes
USE_GNOMENG=    yes
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}"

post-patch:
    @${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL11/SDL.h|g; \
    s|SDL/SDL_thread.h|SDL11/SDL_thread.h|g' \
         ${WRKSRC}/src/nebulus.c

.include <bsd.port.mk>