freebsd-ports/astro/openuniverse/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

33 lines
787 B
Makefile

# New ports collection makefile for: openuniverse
# Date created: 4 August 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= openuniverse
DISTVERSION= 1.0beta3
PORTREVISION= 7
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL Solar System simulator for X Window System
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
USE_GL= glut
USE_XORG= sm ice xmu xi xext x11
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \
CONFIGURE_ENV= LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lm
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.mk>