mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
40 lines
876 B
Makefile
40 lines
876 B
Makefile
# New ports collection makefile for: ilmbase
|
|
# Date created: 2007-10-07
|
|
# Whom: nork@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ilmbase
|
|
PORTVERSION= 1.0.1
|
|
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
|
|
|
|
CONFLICTS= OpenEXR-1.[0-4].*
|
|
|
|
OPTIONS= THREAD "Enable multithreaded file I/O support" on
|
|
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
regression test check: build
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_THREAD)
|
|
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-threading
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|