aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libwpcg/Makefile
blob: 41d3aa0ef42e6f0289dd5e858e3cc41983e451f9 (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
# ex:ts=8
# Ports collection makefile for:    libWPCG
# Date Created:         Nov 18, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libwpcg
PORTVERSION=    0.9.3
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   http://www.paassen.tmfweb.nl/
DISTNAME=   libWPCG-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A basic 2D/3D computer graphics library which uses OpenGL

USE_GCC=    3.4
USE_GL=     glut
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lGL -lGLU -lglut"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 501103
# Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
MAKE_ENV+=  CC="${CC}" CXX="${CXX}"
.endif

.include <bsd.port.post.mk>