summaryrefslogtreecommitdiffstats
path: root/graphics/sage/Makefile
blob: 999ab50f2092dd2640d0772306565db0a115f0ff (plain)
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
# New ports collection makefile for:   sage
# Date created:        4 February 2005
# Whom:                Janni
#
# $FreeBSD$
#

PORTNAME=	sage
PORTVERSION=	0.2.0
PORTREVISION=	2
CATEGORIES=	graphics devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	worldforge

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

CONFIGURE_ARGS=	--program-transform-name=
GNU_CONFIGURE=	yes
USE_GL=		yes
USE_GNOME=	gnomehack
USE_LDCONFIG=	yes
USE_SDL=	sdl

MAN3=		sage.3 sage_init.3

CONFIGURE_ENV=	"CFLAGS=${CFLAGS} -I${LOCALBASE}/include"

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud