diff options
Diffstat (limited to 'x11-toolkits/plib/Makefile')
-rw-r--r-- | x11-toolkits/plib/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile new file mode 100644 index 000000000000..ecda3c2c3e4e --- /dev/null +++ b/x11-toolkits/plib/Makefile @@ -0,0 +1,45 @@ +# 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> |