2005-02-05 21:47:23 +00:00
|
|
|
# New ports collection makefile for: sage
|
|
|
|
# Date created: 4 February 2005
|
|
|
|
# Whom: Janni
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sage
|
2005-10-18 21:58:16 +00:00
|
|
|
PORTVERSION= 0.1.2
|
2005-02-05 21:47:23 +00:00
|
|
|
CATEGORIES= graphics devel
|
2005-10-18 21:58:16 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2005-02-05 21:47:23 +00:00
|
|
|
MASTER_SITE_SUBDIR= worldforge
|
|
|
|
|
2005-09-30 13:07:16 +00:00
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
2005-02-05 21:47:23 +00:00
|
|
|
COMMENT= OpenGL extension library
|
|
|
|
|
|
|
|
USE_SDL= sdl
|
|
|
|
USE_GL= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-02-05 21:47:23 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2005-10-18 21:58:16 +00:00
|
|
|
USE_GNOME= gnomehack
|
|
|
|
CONFIGURE_ARGS= --program-transform-name=
|
|
|
|
MAN3= sage.3 sage_init.3
|
2005-02-05 21:47:23 +00:00
|
|
|
|
|
|
|
CFLAGS= -I${X11BASE}/include
|
|
|
|
CONFIGURE_ENV= "CFLAGS=${CFLAGS}"
|
|
|
|
|
|
|
|
post-patch:
|
2005-10-18 21:58:16 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g; \
|
|
|
|
s|-DSAGE_COMPILE||g' ${WRKSRC}/configure
|
2005-02-05 21:47:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|