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

PORTNAME=	sage
PORTVERSION=	0.1.2
PORTREVISION=	1
CATEGORIES=	graphics devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	worldforge

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

USE_SDL=	sdl
USE_GL=		yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_GNOME=	gnomehack
CONFIGURE_ARGS=	--program-transform-name=
MAN3=		sage.3 sage_init.3

CFLAGS+=	-I${X11BASE}/include
CONFIGURE_ENV=	"CFLAGS=${CFLAGS}"

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

.include <bsd.port.mk>