40 lines
922 B
Makefile
40 lines
922 B
Makefile
# New ports collection makefile for: ilmbase
|
|
# Date created: 2007-10-07
|
|
# Whom: nork@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ilmbase
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= openexr
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex
|
|
|
|
CONFLICTS= OpenEXR-1.[0-4].*
|
|
|
|
OPTIONS_DEFINE= THREAD
|
|
OPTIONS_DEFAULT= THREAD
|
|
THREAD_DESC= Enable multithreaded file I/O support
|
|
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
regression-test regression test check: build
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MTHREAD}
|
|
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-threading
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|