aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sage/Makefile
blob: 060f8a884026076284773d19592d8e35fb61724d (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
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
USE_LIBTOOL_VER=15
USE_REINPLACE=  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>