# New ports collection makefile for: ilmbase # Date created: 2007-10-07 # Whom: nork@FreeBSD.org # # $FreeBSD$ # PORTNAME= ilmbase PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= graphics devel MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= openexr MAINTAINER= nork@FreeBSD.org COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath and Iex OPTIONS= THREAD "Enable multithreaded file I/O support" off USE_GNOME= pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool:15 test check: build @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) .if defined(PACKAGE_BUILDING) pre-install: test .endif .include .if defined(WITH_THREAD) CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" .else CONFIGURE_ARGS+=--disable-threading .endif .include