Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
# New ports collection makefile for: gwyddion
|
|
|
|
# Date created: 2006-08-06
|
|
|
|
# Whom: Yeti <yeti@gwyddion.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gwyddion
|
2012-05-03 17:31:19 +02:00
|
|
|
PORTVERSION= 2.27
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
CATEGORIES= science graphics
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
|
2006-11-26 06:55:58 +01:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
|
|
|
|
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
MAINTAINER= yeti@gwyddion.net
|
|
|
|
COMMENT= A gtk2 based SPM data visualization and analysis tool
|
|
|
|
|
2009-07-28 09:24:15 +02:00
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png \
|
2011-10-17 12:08:33 +02:00
|
|
|
fftw3:${PORTSDIR}/math/fftw3
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
|
2012-05-03 17:31:19 +02:00
|
|
|
--disable-pygwy --without-kde4-thumbnailer
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
|
|
|
|
MAKE_ARGS= pkgconfigdatadir=${PREFIX}/libdata/pkgconfig
|
|
|
|
|
|
|
|
USE_GNOME= desktopfileutils gnomemimedata gtk20 libxml2
|
|
|
|
USE_GL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_LDCONFIG= yes
|
2007-09-05 11:17:52 +02:00
|
|
|
INSTALLS_ICONS= yes
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
|
2009-07-28 09:24:15 +02:00
|
|
|
MAN1= gwyddion.1 gwyddion-thumbnailer.1
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
MAN3= Gwyddion::dump.3pm
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2009-07-28 09:24:15 +02:00
|
|
|
.if !defined(WITHOUT_GCONF) || exists(${LOCALBASE}/bin/gconftool-2)
|
|
|
|
USE_GNOME+= gconf2
|
|
|
|
GCONF_SCHEMAS= gwyddion-thumbnailer.schemas
|
|
|
|
.endif
|
|
|
|
|
2006-12-21 20:57:20 +01:00
|
|
|
# Fix shared library versioning and inhibit installation of .la files manually.
|
|
|
|
# Ports libtool + ltverhack fixes versions but it installs static versions of
|
|
|
|
# modules, so one would have to hack it too.
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
#
|
|
|
|
# Inhibit installation of excessive API documentation. Option
|
|
|
|
# --disable-gtk-doc disables only building, not installation of documentation
|
|
|
|
# present in the source tarball.
|
|
|
|
post-patch:
|
2006-12-21 20:57:20 +01:00
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
'/freebsd-elf)/,/;;/ s|major="\.$$current"|major=.`expr $$current - $$age`|; \
|
|
|
|
/freebsd-elf)/,/;;/ s|versuffix="\.$$current"|versuffix="$$major"|; \
|
|
|
|
/# Install the pseudo-library/,/^$$/d' \
|
|
|
|
${WRKSRC}/ltmain.sh
|
Gwyddion is a modular SPM (Scanning Probe Microsopy) data visualization and
analysis tool written with Gtk+.
It can be used for all most frequently used data processing operations
including: leveling, false color plotting, shading, filtering, denoising, data
editing, integral transforms, grain analysis, profile extraction, fractal
analysis, and many more. The program is primarily focused on SPM data analysis
(e.g. data obtained from AFM, STM, NSOM, and similar microscopes). However, it
can also be used for analysis of SEM (Scanning Electron Microscopy) data or any
other 2D data.
WWW: http://gwyddion.net/
PR: ports/101773
Submitted by: David Necas <yeti@gwyddion.net>
2006-08-13 00:34:57 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/,/[^\]$$/d' ${WRKSRC}/devel-docs/Makefile.in
|
|
|
|
|
2007-03-16 14:08:22 +01:00
|
|
|
.include <bsd.port.mk>
|