Files
ports/graphics/libgfx/Makefile
Andrew Pantyukhin c4f73722c4 - Mark broken on 4.x
Reported by:	pointyhat via kris
2006-09-01 08:49:19 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: libgfx
# Date created: 28 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgfx
DISTVERSION= 1.1.0
CATEGORIES= graphics
MASTER_SITES= http://graphics.cs.uiuc.edu/~garland/dist/ CSME
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= OpenGL/FLTK development
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
tiff.4:${PORTSDIR}/graphics/tiff \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
BUILD_DEPENDS= ${LOCALBASE}/lib/libgzstream.a:${PORTSDIR}/devel/gzstream
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-gzstream --with-libtiff-lzw --with-x
CFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= libgfx.a
do-install:
@${CP} -R ${WRKSRC}/include/gfx ${PREFIX}/include/
@${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.a ${PREFIX}/lib/
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not compile on 4.x
.endif
.include <bsd.port.post.mk>