new MULTI_PACKAGES

This commit is contained in:
espie 2006-11-24 23:09:54 +00:00
parent a82bd3404c
commit a7d0d66412
4 changed files with 16 additions and 20 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.7 2006/11/13 11:20:25 steven Exp $
# $OpenBSD: Makefile,v 1.8 2006/11/24 23:09:54 espie Exp $
COMMENT= 'high dynamic range image format'
COMMENT-main= 'high dynamic range image format'
COMMENT-tools= 'image viewing tools for OpenEXR'
COMMENT-doc= 'developer documentation for OpenEXR'
CATEGORIES= graphics
@ -10,10 +10,10 @@ MASTER_SITES= http://savannah.nongnu.org/download/openexr/
V= 1.2.2
DISTNAME= OpenEXR-$V
MULTI_PACKAGES= -tools -doc
PKGNAME= OpenEXR-$Vp2
MULTI_PACKAGES= -main -tools -doc
PKGNAME-main= OpenEXR-$Vp3
PKGNAME-tools= OpenEXR-tools-$V
PKGNAME-doc= OpenEXR-doc-$V
PKGNAME-doc= OpenEXR-doc-$Vp0
SHARED_LIBS= Half 3.0 \
Iex 3.0 \
IlmImf 3.0 \
@ -21,20 +21,15 @@ SHARED_LIBS= Half 3.0 \
# Almost BSD
# `name of ILM not to be used for advertizing without written agreement'
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SUBPACKAGE?=
.if !defined(PACKAGING) || ${SUBPACKAGE} == "-tools"
LIB_DEPENDS+=fltk,fltk_gl::x11/fltk
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-tools"
LIB_DEPENDS+= Half,Iex,IlmImf,Imath,::graphics/openexr
WANTLIB= GL GLU X11 Xext c m stdc++ z
.endif
LIB_DEPENDS-tools= fltk,fltk_gl::x11/fltk \
Half,Iex,IlmImf,Imath,::graphics/openexr
WANTLIB-tools= GL GLU X11 Xext c m stdc++ z
PKG_ARCH-doc= *
# Regress unhappy with separate build
#SEPARATE_BUILD= simple

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/26 20:25:39 steven Exp $
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/24 23:09:54 espie Exp $
@lib lib/libHalf.so.${LIBHalf_VERSION}
@lib lib/libIex.so.${LIBIex_VERSION}
@lib lib/libIlmImf.so.${LIBIlmImf_VERSION}

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.3 2005/09/06 11:19:49 espie Exp $
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/24 23:09:54 espie Exp $
@pkgpath graphics/openexr
%%SHARED%%
include/OpenEXR/
include/OpenEXR/Iex.h