textproc/txt2man gets picked up to create man pages if it's there at
configure time; so add it as a BUILD_DEPENDS. Regen WANTLIB while here.
This commit is contained in:
parent
e3d70bb5c0
commit
d9842fb1f6
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2015/05/12 11:58:51 pascal Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2015/05/19 15:41:47 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
@ -9,7 +9,7 @@ GH_PROJECT = oiio
|
||||
V = 1.3.12
|
||||
GH_TAGNAME = Release-$V
|
||||
DISTNAME = openimageio-${V}
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
SHARED_LIBS += OpenImageIO 2.0 # 1.0
|
||||
|
||||
@ -22,8 +22,8 @@ MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += GL GLEW GLU Half ICE Iex IlmImf IlmThread Imath OpenColorIO
|
||||
WANTLIB += QtGui QtOpenGL SM X11 Xext boost_filesystem-mt boost_python-mt
|
||||
WANTLIB += GL GLEW GLU Half Iex IlmImf IlmThread Imath OpenColorIO
|
||||
WANTLIB += QtGui QtOpenGL boost_filesystem-mt boost_python-mt
|
||||
WANTLIB += boost_regex-mt boost_system-mt boost_thread-mt c crypto
|
||||
WANTLIB += freetype gif jpeg m openjpeg png pthread ${MODPY_WANTLIB}
|
||||
WANTLIB += ssl stdc++ tiff webp z
|
||||
@ -31,6 +31,9 @@ WANTLIB += ssl stdc++ tiff webp z
|
||||
MODULES = devel/cmake \
|
||||
lang/python \
|
||||
x11/qt4
|
||||
|
||||
BUILD_DEPENDS = textproc/txt2man
|
||||
|
||||
LIB_DEPENDS = devel/boost \
|
||||
graphics/openjpeg \
|
||||
graphics/tiff \
|
||||
@ -48,6 +51,9 @@ CONFIGURE_ARGS += -DPYLIB_INSTALL_DIR="lib/python${MODPY_VERSION}/site-packages"
|
||||
CXXFLAGS += -pthread
|
||||
WRKDIST = ${WRKDIR}/oiio-Release-$V
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,share/man,man,' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
find ${PREFIX} -name '*.orig' -exec rm -f {} \;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2014/03/25 10:37:39 pascal Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2015/05/19 15:41:47 ajacoutot Exp $
|
||||
@conflict idiff-*
|
||||
@bin bin/iconvert
|
||||
@bin bin/idiff
|
||||
@ -43,6 +43,13 @@ include/OpenImageIO/varyingref.h
|
||||
include/OpenImageIO/version.h
|
||||
@lib lib/libOpenImageIO.so.${LIBOpenImageIO_VERSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/OpenImageIO.so.${LIBOpenImageIO_VERSION}
|
||||
@man man/man1/iconvert.1
|
||||
@man man/man1/idiff.1
|
||||
@man man/man1/igrep.1
|
||||
@man man/man1/iinfo.1
|
||||
@man man/man1/iv.1
|
||||
@man man/man1/maketx.1
|
||||
@man man/man1/oiiotool.1
|
||||
share/doc/openimageio/
|
||||
share/doc/openimageio/CHANGES
|
||||
share/doc/openimageio/LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user