summaryrefslogtreecommitdiff
path: root/math/xylib
diff options
context:
space:
mode:
authordrochner <drochner>2009-12-12 13:58:58 +0000
committerdrochner <drochner>2009-12-12 13:58:58 +0000
commit3308068a682c135a3963b4c3d85980d027b4faca (patch)
treeae7381d69d0212aa296b1b799f077bfc74fef560 /math/xylib
parenta09fd7b58ce9eebaa996d052f82d41c026f1646c (diff)
downloadpkgsrc-3308068a682c135a3963b4c3d85980d027b4faca.tar.gz
add xylib-0.4, a library for reading powder diffraction data
(needed by "fityk")
Diffstat (limited to 'math/xylib')
-rw-r--r--math/xylib/DESCR22
-rw-r--r--math/xylib/Makefile20
-rw-r--r--math/xylib/PLIST19
-rw-r--r--math/xylib/buildlink3.mk13
-rw-r--r--math/xylib/distinfo5
5 files changed, 79 insertions, 0 deletions
diff --git a/math/xylib/DESCR b/math/xylib/DESCR
new file mode 100644
index 00000000000..24427ea3fa7
--- /dev/null
+++ b/math/xylib/DESCR
@@ -0,0 +1,22 @@
+xylib is a portable C++ library for reading files that contain x-y data from
+powder diffraction, spectroscopy or other experimental methods.
+
+Supported formats:
+
+- plain text (CSV or TSV or space-separated-values)
+- Crystallographic Information File for Powder Diffraction (pdCIF)
+- Siemens/Bruker UXD
+- Siemens/Bruker RAW ver. 1/2/3/4
+- Philips UDF
+- Philips RD (raw scan) V3
+- Rigaku DAT
+- Sietronics Sieray CPI
+- DBWS/DMPLOT data file
+- Canberra MCA *(only one of Canberra MCA formats?)*
+- XFIT/Koalariet XDD
+- RIET7/LHPM/CSRIET/ILL\_D1A5/PSI\_DMC DAT
+- Vamas ISO14976
+ *(only experiment modes: SEM or MAPSV or MAPSVDP are supported;
+ only REGULAR scan_mode is supported)*
+- Princeton Instruments WinSpec SPE
+ *(only 1-D data is supported)*
diff --git a/math/xylib/Makefile b/math/xylib/Makefile
new file mode 100644
index 00000000000..5b3389186f7
--- /dev/null
+++ b/math/xylib/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/12/12 13:58:58 drochner Exp $
+#
+
+DISTNAME= xylib-0.4
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fityk/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://fityk.sourceforge.net/
+COMMENT= Library for reading powder diffraction data
+#LICENSE= LICENSE
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/xylib/PLIST b/math/xylib/PLIST
new file mode 100644
index 00000000000..1b38ac9d7b5
--- /dev/null
+++ b/math/xylib/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/12 13:58:58 drochner Exp $
+include/xylib/brucker_raw.h
+include/xylib/cache.h
+include/xylib/canberra_mca.h
+include/xylib/cpi.h
+include/xylib/dbws.h
+include/xylib/gsas.h
+include/xylib/pdcif.h
+include/xylib/philips_raw.h
+include/xylib/philips_udf.h
+include/xylib/riet7.h
+include/xylib/rigaku_dat.h
+include/xylib/text.h
+include/xylib/uxd.h
+include/xylib/vamas.h
+include/xylib/winspec_spe.h
+include/xylib/xfit_xdd.h
+include/xylib/xylib.h
+lib/libxy.la
diff --git a/math/xylib/buildlink3.mk b/math/xylib/buildlink3.mk
new file mode 100644
index 00000000000..0868d806340
--- /dev/null
+++ b/math/xylib/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/12/12 13:58:58 drochner Exp $
+
+BUILDLINK_TREE+= xylib
+
+.if !defined(XYLIB_BUILDLINK3_MK)
+XYLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.xylib+= xylib>=0.4
+BUILDLINK_PKGSRCDIR.xylib?= ../../math/xylib
+
+.endif # XYLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -xylib
diff --git a/math/xylib/distinfo b/math/xylib/distinfo
new file mode 100644
index 00000000000..f0a4512a854
--- /dev/null
+++ b/math/xylib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/12/12 13:58:58 drochner Exp $
+
+SHA1 (xylib-0.4.tar.bz2) = b81cbb68c486dd4f63376547380480dd9a6fd250
+RMD160 (xylib-0.4.tar.bz2) = fedeb88c82fb0bcb211917d6b82888636bbc0819
+Size (xylib-0.4.tar.bz2) = 275927 bytes