Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

24
math/pspp/DESCR Normal file
View File

@@ -0,0 +1,24 @@
PSPP is a program for statistical analysis of sampled data. It interprets
commands in the SPSS language and produces tabular output in ASCII, HTML,
or PostScript format. In previous releases, PSPP was known as Fiasco.
A main goal of the PSPP project is compatibility with the SPSS language.
PSPP also aims to be written better than the program it replaces. Right
now this includes:
* High-quality output formatting:
- Presentation-quality tables on devices that can handle it, such
as laser printers and raster displays. This is currently implemented
through a PostScript driver and a simple HTML tables driver.
- Other devices, such as terminals and dot-matrix printers, are
supported through an ASCII driver. IBM PC box-drawing
characters can also be used. Bold and italics are supported
if the underlying device supports them.
- Output can be directed to multiple devices at once and
retain the unique output properties of each device.
- All this can be done on any operating system that PSPP supports.
Though the latest versions of what PSPP replaces support similar
functionality, they do so only under non-free Microsoft
operating systems.
* Portability: PSPP is easy to port. It should be simple to port it
to any operating system having an ANSI C compiler.

40
math/pspp/Makefile Normal file
View File

@@ -0,0 +1,40 @@
# $NetBSD: Makefile,v 1.66 2013/06/06 12:54:44 wiz Exp $
#
DISTNAME= pspp-0.6.2
PKGREVISION= 21
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=pspp/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/pspp/
COMMENT= Program for statistical analysis of sampled data
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= perl pkg-config msgfmt
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
.include "options.mk"
PKG_SYSCONFSUBDIR= pspp
EGDIR= ${PREFIX}/share/examples/pspp
CONF_FILES= ${EGDIR}/devices ${PKG_SYSCONFDIR}/devices
INFO_FILES= YES
TEST_TARGET= check
USE_NCURSES= yes
# we only want the charset.alias file, so no buildlinkery for libiconv
DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

54
math/pspp/PLIST Normal file
View File

@@ -0,0 +1,54 @@
@comment $NetBSD: PLIST,v 1.10 2009/12/30 13:33:27 joerg Exp $
bin/pspp
${PLIST.x11}bin/psppire
info/pspp-dev.info
info/pspp.info.gz
${PLIST.x11}lib/pspp/libpsppire.la
${PLIST.x11}lib/pspp/libpsppwidgets.la
share/examples/pspp/devices
share/locale/en_GB/LC_MESSAGES/pspp.mo
share/locale/nl/LC_MESSAGES/pspp.mo
share/locale/pt_BR/LC_MESSAGES/pspp.mo
${PLIST.x11}share/pspp/crosstabs.glade
${PLIST.x11}share/pspp/data-editor.glade
${PLIST.x11}share/pspp/date-scale.png
${PLIST.x11}share/pspp/descriptives-dialog.glade
${PLIST.x11}share/pspp/examine.glade
${PLIST.x11}share/pspp/frequencies.glade
${PLIST.x11}share/pspp/goto-variable.png
${PLIST.x11}share/pspp/insert-case.png
${PLIST.x11}share/pspp/insert-variable.png
${PLIST.x11}share/pspp/message-dialog.glade
${PLIST.x11}share/pspp/nominal.png
${PLIST.x11}share/pspp/oneway.glade
${PLIST.x11}share/pspp/ordinal.png
${PLIST.x11}share/pspp/output-viewer.glade
share/pspp/psfonts/Courier-Bold.afm
share/pspp/psfonts/Courier-BoldOblique.afm
share/pspp/psfonts/Courier-Oblique.afm
share/pspp/psfonts/Courier.afm
share/pspp/psfonts/Helvetica-Bold.afm
share/pspp/psfonts/Helvetica-BoldOblique.afm
share/pspp/psfonts/Helvetica-Oblique.afm
share/pspp/psfonts/Helvetica.afm
share/pspp/psfonts/Times-Bold.afm
share/pspp/psfonts/Times-BoldItalic.afm
share/pspp/psfonts/Times-Italic.afm
share/pspp/psfonts/Times-Roman.afm
${PLIST.x11}share/pspp/psppicon.png
${PLIST.x11}share/pspp/psppire.glade
${PLIST.x11}share/pspp/pspplogo.png
${PLIST.x11}share/pspp/rank.glade
${PLIST.x11}share/pspp/recent-dialogs.png
${PLIST.x11}share/pspp/recode.glade
${PLIST.x11}share/pspp/regression.glade
${PLIST.x11}share/pspp/scale.png
${PLIST.x11}share/pspp/select-cases.png
${PLIST.x11}share/pspp/splash.png
${PLIST.x11}share/pspp/split-file.png
${PLIST.x11}share/pspp/string.png
${PLIST.x11}share/pspp/syntax-editor.glade
${PLIST.x11}share/pspp/t-test.glade
${PLIST.x11}share/pspp/text-data-import.glade
${PLIST.x11}share/pspp/value-labels.png
${PLIST.x11}share/pspp/weight-cases.png

8
math/pspp/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.17 2011/12/20 16:14:44 wiz Exp $
SHA1 (pspp-0.6.2.tar.gz) = c45f721a7ee82aede2106b77eade5e568c0930da
RMD160 (pspp-0.6.2.tar.gz) = 97667eb32b23a1bc7d18b7022649bd973ff01424
Size (pspp-0.6.2.tar.gz) = 3375748 bytes
SHA1 (patch-aa) = c7024562eee77aa558931cab387d250e046f11e4
SHA1 (patch-ad) = cd06383be08b753423ea10f52098135002671385
SHA1 (patch-lib_gtksheet_gtkitementry.c) = 22242a3b1b68f77abf98f3d919f955e8537ac0f9

27
math/pspp/options.mk Normal file
View File

@@ -0,0 +1,27 @@
# $NetBSD: options.mk,v 1.1 2009/09/04 21:39:10 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pspp
PKG_SUPPORTED_OPTIONS= pgsql x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11= yes
#CONFIGURE_ARGS+= --without-libplot # :(
.include "../../graphics/plotutils/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-gui --without-libplot
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+= --with-libpq
.include "../../databases/postgresql84-client/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-libpq
.endif

View File

@@ -0,0 +1,38 @@
$NetBSD: patch-aa,v 1.3 2009/09/04 21:39:10 asau Exp $
--- Makefile.in.orig 2008-10-10 08:12:11.000000000 +0400
+++ Makefile.in 2009-09-04 13:59:51.000000000 +0400
@@ -1618,7 +1618,7 @@
dist_pkgsysconf_DATA = \
config/devices
-psfontsdir = $(pkgsysconfdir)/psfonts
+psfontsdir = $(datadir)/pspp/psfonts
dist_psfonts_DATA = \
config/psfonts/Helvetica-Bold.afm \
config/psfonts/Times-Bold.afm \
@@ -2533,7 +2533,7 @@
$(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+# cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.h: stamp-h1
@if test ! -f $@; then \
@@ -7140,12 +7140,12 @@
done
install-dist_pkgsysconfDATA: $(dist_pkgsysconf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(pkgsysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgsysconfdir)"
+ test -z "$(datarootdir)/examples/pspp" || $(MKDIR_P) "$(DESTDIR)$(datarootdir)/examples/pspp"
@list='$(dist_pkgsysconf_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(dist_pkgsysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgsysconfdir)/$$f'"; \
- $(dist_pkgsysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgsysconfdir)/$$f"; \
+ echo " $(dist_pkgsysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(datarootdir)/examples/pspp/$$f'"; \
+ $(dist_pkgsysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(datarootdir)/examples/pspp/$$f"; \
done
uninstall-dist_pkgsysconfDATA:

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ad,v 1.6 2009/12/30 13:33:27 joerg Exp $
--- configure.orig 2009-10-12 01:16:57.000000000 +0400
+++ configure 2009-12-30 15:43:54.000000000 +0300
@@ -13167,8 +13167,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pspp_cv_build_exeext" >&5
$as_echo "$pspp_cv_build_exeext" >&6; }
EXEEXT_FOR_BUILD=""
- test x"${pspp_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${pspp_cv_build_exeex
-t}
+ test x"${pspp_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${pspp_cv_build_exeext}
fi

View File

@@ -0,0 +1,60 @@
$NetBSD: patch-lib_gtksheet_gtkitementry.c,v 1.1 2011/12/20 16:14:44 wiz Exp $
Fix conflict with newer GTK2.
--- lib/gtksheet/gtkitementry.c.orig 2009-09-18 03:05:40.000000000 +0000
+++ lib/gtksheet/gtkitementry.c
@@ -145,7 +145,7 @@ static void gtk_entry_draw_curso
static PangoLayout *gtk_entry_ensure_layout (GtkEntry *entry,
gboolean include_preedit);
static void gtk_entry_queue_draw (GtkEntry *entry);
-static void gtk_entry_reset_im_context (GtkEntry *entry);
+static void mygtk_entry_reset_im_context (GtkEntry *entry);
static void gtk_entry_recompute (GtkEntry *entry);
static void gtk_entry_get_cursor_locations (GtkEntry *entry,
CursorType type,
@@ -694,7 +694,7 @@ gtk_entry_real_set_position (GtkEditable
if (position != entry->current_pos ||
position != entry->selection_bound)
{
- gtk_entry_reset_im_context (entry);
+ mygtk_entry_reset_im_context (entry);
gtk_entry_set_positions (entry, position, position);
}
}
@@ -895,7 +895,7 @@ gtk_entry_move_cursor (GtkEntry *e
{
gint new_pos = entry->current_pos;
- gtk_entry_reset_im_context (entry);
+ mygtk_entry_reset_im_context (entry);
if (entry->current_pos != entry->selection_bound && !extend_selection)
{
@@ -989,7 +989,7 @@ gtk_entry_insert_at_cursor (GtkEntry
if (entry->editable)
{
- gtk_entry_reset_im_context (entry);
+ mygtk_entry_reset_im_context (entry);
gtk_editable_insert_text (editable, str, -1, &pos);
gtk_editable_set_position (editable, pos);
@@ -1005,7 +1005,7 @@ gtk_entry_delete_from_cursor (GtkEntry
gint start_pos = entry->current_pos;
gint end_pos = entry->current_pos;
- gtk_entry_reset_im_context (entry);
+ mygtk_entry_reset_im_context (entry);
if (!entry->editable)
return;
@@ -1777,7 +1777,7 @@ gtk_entry_queue_draw (GtkEntry *entry)
}
static void
-gtk_entry_reset_im_context (GtkEntry *entry)
+mygtk_entry_reset_im_context (GtkEntry *entry)
{
if (entry->need_im_reset)
{