mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
b1f6f0fa59
PR: 12483 Submitted by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: plib
|
|
# Version required: 1.0.12a
|
|
# Date created: 26 June 1999
|
|
# Whom: Brian Buchanan <brian@CSUA.Berkeley.EDU>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
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
|
|
RUN_DEPENDS= eg++:${PORTSDIR}/lang/egcs
|
|
CXX= eg++
|
|
.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>
|