summaryrefslogblamecommitdiff
path: root/x11-toolkits/plib/Makefile
blob: 4e61bcd6d70ca1b75fa80bfb38372082425ad94c (plain) (tree)
1
2
3
4
5
6




                                                                
                                                       


















                                                                              

                                                    

















                                                                         
# New ports collection makefile for:	plib
# Version required:	1.0.12a
# Date created:		26 June 1999
# Whom:			Brian Buchanan <brian@CSUA.Berkeley.EDU>
#
# $Id: Makefile,v 1.2 1999/07/08 06:11:24 cpiazza Exp $
#

DISTNAME=		plib-1.0.12a
CATEGORIES=		x11-toolkits
MASTER_SITES=		ftp://ftp.flightgear.org/pub/fgfs/Source/ \
			http://math.missouri.edu/~stephen/software/flightgear/
DISTFILES=		plib-1.0.12a.tar.gz calibrate-0.0.1.tar.gz

MAINTAINER=		brian@CSUA.Berkeley.EDU

LIB_DEPENDS=		GL.14:${PORTSDIR}/graphics/Mesa3 		\
			GLU.14:${PORTSDIR}/graphics/Mesa3		\
			glut.3:${PORTSDIR}/graphics/Mesa3

USE_X_PREFIX=		yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400003
BUILD_DEPENDS=		g++295:${PORTSDIR}/lang/egcs
CXX=			g++295
.endif

GNU_CONFIGURE=		yes
CONFIGURE_ENV+=		CPPFLAGS=-I${X11BASE}/include
CONFIGURE_ARGS+=	--includedir=$(PREFIX)/include/plib
USE_GMAKE=		yes
MANCOMPRESSED=		yes

MAN1=			calibrate.1

pre-build:
	@(cd ${WRKDIR}/calibrate-0.0.1; ${MAKE})
	@echo "${PREFIX}"

pre-install:
	@(cd ${WRKDIR}/calibrate-0.0.1; ${MAKE} PREFIX=${PREFIX} install)

.include <bsd.port.post.mk>