freebsd-ports/science/gwyddion/Makefile
Dmitry Marakasov 30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00

60 lines
1.4 KiB
Makefile

# Created by: Yeti <yeti@gwyddion.net>
# $FreeBSD$
PORTNAME= gwyddion
PORTVERSION= 2.45
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 gettext gmake libtool pathfix pkgconfig \
shared-mime-info tar:xz
USE_GNOME= gconf2 gtk20 libxml2
USE_GL= glu
USE_XORG= xmu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--without-kde4-thumbnailer
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= gwyddion-thumbnailer.schemas
OPTIONS_DEFINE= PERL PYTHON RUBY UNIQUE
OPTIONS_DEFAULT= PERL PYTHON UNIQUE
OPTIONS_SUB= yes
PERL_USES= perl5
PERL_CONFIGURE_WITH= perl
PYTHON_USES= python
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>