summaryrefslogtreecommitdiff
path: root/graphics/sage/Makefile
blob: eb556ccfa9097eefe642f37c761e07470ae86b3c (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
INSTALLS_SHLIB=	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>