freebsd-ports/science/gwyddion/Makefile
Matthias Andree d1cfeab07e Update ilmbase and openexr to 2.3.0, rename OpenEXR to openexr.
Release notes: <https://github.com/openexr/openexr/releases/tag/v2.3.0>

Adjust LIB_DEPENDS of all ports that require ilmbase or openexr to chase
the new lower-case spelling of the name, and to omit the version from the
library name to ease future maintenance.

Bump PORTREVISION of all ports that depend on ilmbase or openexr directly,
so that they all get rebuilt on upgrades.

Add patches to graphics/ampasCTL to keep it alive, with (a) ilmbase now
that its Iex::BaseExc class is no longer derived from std::string,
details were given upstream through https://github.com/ampas/CTL/issues/71
and (b) to unwind semicolon/;-lists in cmake that stem from openexr/
ilmbase pkg-config variables.
(Note ampasCTL is unmaintained as FreeBSD port, and upstream,
and I cannot run-time test it.)

Poudriere build tests on 11.2-RELEASE-p1 amd64 of ALL ports depending
directly or indirectly on ilmbase and/or openexr have passed without
regressions.  Thus invoking due diligence, I believe I have done the
equivalent of an -exp run, and do not require approval for the dependency
chases to third-party ports.
2018-09-22 10:15:22 +00:00

63 lines
1.7 KiB
Makefile

# Created by: Yeti <yeti@gwyddion.net>
# $FreeBSD$
PORTNAME= gwyddion
PORTVERSION= 2.51
PORTREVISION= 1
CATEGORIES= science graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk2 based SPM data visualization and analysis tool
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libminizip.so:archivers/minizip \
libcfitsio.so:astro/cfitsio \
libIlmImf.so:graphics/openexr \
libfftw3.so:math/fftw3 \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
USES= desktop-file-utils gl gmake libtool localbase:ldflags \
pathfix pkgconfig shared-mime-info shebangfix tar:xz
SHEBANG_FILES= plugins/process/invert_python.py
USE_GNOME= cairo gtk20 libxml2 pangox-compat
USE_GL= gl glu
USE_XORG= ice sm x11 xmu xt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--without-pascal \
--without-kde4-thumbnailer
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= GCONF NLS PERL PYTHON RUBY UNIQUE
OPTIONS_DEFAULT= GCONF PERL PYTHON UNIQUE
OPTIONS_SUB= yes
GCONF_CONFIGURE_OFF= --disable-schemas-install
GCONF_USE= GNOME=gconf2
GCONF_VARS= GCONF_SCHEMAS=gwyddion-thumbnailer.schemas
NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
PERL_USES= perl5
PERL_CONFIGURE_WITH= perl
PYTHON_USES= python:2.7
PYTHON_USE= gnome=pygtksourceview
PYTHON_CONFIGURE_ENABLE= pygwy
PYTHON_CONFIGURE_WITH= gtksourceview python
RUBY_USE= ruby=yes
RUBY_CONFIGURE_WITH= ruby
UNIQUE_DESC= Remote control backend support
UNIQUE_LIB_DEPENDS= libunique-1.0.so:x11-toolkits/unique
UNIQUE_CONFIGURE_WITH= unique
post-patch:
@${REINPLACE_CMD} -e \
's|thumbnailer \\|thumbnailer| ; \
s|devel-docs$$||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>