aboutsummaryrefslogtreecommitdiffstats
path: root/astro/openuniverse/Makefile
blob: 4f0ec02377f6cda1c4bbc6cd9710ad67a82cb478 (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:    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=  CPPFLAGS="-I${LOCALBASE}/include/GL -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lm"  \
        LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}"

.include <bsd.port.mk>