aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sage/Makefile
blob: 6cef378eb387447543a425f3ce81d7b7ccc0893c (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
# Created by: Janni
# $FreeBSD$

PORTNAME=   sage
PORTVERSION=    0.2.0
PORTREVISION=   6
CATEGORIES= graphics devel
MASTER_SITES=   SF/worldforge/${PORTNAME}%20%28OpenGL%20helper%20lib%29/${PORTVERSION}

MAINTAINER= oliver@FreeBSD.org
COMMENT=    OpenGL extension library

CONFIGURE_ARGS= --program-transform-name=
GNU_CONFIGURE=  yes
USE_GL=     yes
USES=       libtool pathfix
USE_LDCONFIG=   yes
USE_SDL=    sdl

CFLAGS+=    -I${LOCALBASE}/include

post-patch:
    @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure

.include <bsd.port.mk>