diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 07:15:49 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 07:15:49 +0800 |
commit | 42e79dc9f01d9967c5c9e7481a8c509d06e04d39 (patch) | |
tree | 618336a2c445e207810b8834f1aa1a607f221837 | |
parent | 63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00 (diff) | |
download | marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.gz marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.bz2 marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.lz marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.xz marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.zst marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9266 df743ca5-7f9a-e211-a948-0013205c9059
36 files changed, 1757 insertions, 0 deletions
diff --git a/math/gretl/Makefile b/math/gretl/Makefile new file mode 100644 index 000000000..0e18b7e75 --- /dev/null +++ b/math/gretl/Makefile @@ -0,0 +1,74 @@ +# ex:ts=8 +# Ports collection makefile for: gretl +# Date created: Mar 22, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gretl +PORTVERSION= 1.6.5 +PORTREVISION= 1 +CATEGORIES= math finance +MASTER_SITES= SF + +MAINTAINER= ports@FreeBSD.org +COMMENT= Gnu Regression, Econometrics and Time-series Library + +BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot +LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3 \ + mpfr.1:${PORTSDIR}/math/mpfr +RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot + +USE_BZIP2= yes +WANT_GNOME= yes +USE_GNOME= gnometarget gtk20 libxml2 +USE_GETTEXT= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 autoconf:259 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DGNUPLOT_PNG" \ + LDFLAGS="-L${LOCALBASE}/lib ${GCCLIBDIR}" +CONFIGURE_ARGS= --enable-static --enable-shared --with-gmake +ALL_TARGET= # empty +USE_LDCONFIG= yes + +MAN1= gretl.1 gretl-config.1 + +USE_FORTRAN= yes +CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" LAPACK_LIBS="${BLAS} ${LAPACK} -l${FORTRANRUNTIME}" +FORTRANRUNTIME= gfortran +GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. + +.include <bsd.port.pre.mk> + +.if ${ARCH} == "alpha" +BROKEN= math/lapack appears to be broken on alpha +.endif + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +PKGNAMESUFFIX= -gnome +USE_GNOME+= gnomeprefix gtksourceview libgnomeui +GCONF_SCHEMAS= gretl.schemas +.else +CONFIGURE_ARGS+= --without-gnome --without-gtksourceview +.endif + +.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS) +WITH_ATLAS= yes +.endif + +.if defined(WITH_ATLAS) +LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +BLAS= -lf77blas -latlas +LAPACK= -lalapack -lcblas +.else +LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas +LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack +BLAS= -lblas +LAPACK= -llapack +.endif + +pre-configure: + @${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR + +.include <bsd.port.post.mk> diff --git a/math/gretl/distinfo b/math/gretl/distinfo new file mode 100644 index 000000000..3ab72c0df --- /dev/null +++ b/math/gretl/distinfo @@ -0,0 +1,3 @@ +MD5 (gretl-1.6.5.tar.bz2) = ed2ca08e8e06df14bc2d4a071535c3e5 +SHA256 (gretl-1.6.5.tar.bz2) = c6f40ed667fdc25298724c0aa9ada06d1f6a75f328d6f72a2ee906e92ae8faac +SIZE (gretl-1.6.5.tar.bz2) = 4362695 diff --git a/math/gretl/files/patch-Makefile.in b/math/gretl/files/patch-Makefile.in new file mode 100644 index 000000000..c4dab95e3 --- /dev/null +++ b/math/gretl/files/patch-Makefile.in @@ -0,0 +1,14 @@ +--- Makefile.in.orig Thu Sep 12 00:35:22 2002 ++++ Makefile.in Mon Oct 21 10:02:37 2002 +@@ -22,8 +22,9 @@ + GUIDIR = gui + endif + +-INSTALL_PROGRAM = ${INSTALL} -m 755 +-INSTALL_DATA = ${INSTALL} -m 644 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_DATA = @INSTALL_DATA@ + + export + diff --git a/math/gretl/files/patch-cli::Makefile.in b/math/gretl/files/patch-cli::Makefile.in new file mode 100644 index 000000000..0d5ed3166 --- /dev/null +++ b/math/gretl/files/patch-cli::Makefile.in @@ -0,0 +1,41 @@ +--- cli/Makefile.in.orig Sat Sep 11 01:19:35 2004 ++++ cli/Makefile.in Sun Oct 8 02:07:02 2006 +@@ -9,12 +9,16 @@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = $(prefix)/share/locale + + have_readline = @have_readline@ + READLINE_LIBS = @READLINE_LIBS@ + READLINE_CFLAGS = @READLINE_CFLAGS@ + ++CPPFLAGS = @CPPFLAGS@ ++LDFLAGS = @LDFLAGS@ ++INTL_LIBS = @LTLIBINTL@ ++ + ifeq ($(CC),) + CC = gcc + endif +@@ -40,17 +44,17 @@ + + DEFS = -DLOCALEDIR=\"$(localedir)\" -DHAVE_CONFIG_H + +-override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS) ++override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS) $(CPPFLAGS) + + CLI = gretlcli +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + + %.o: %.c + $(CC) -c $(CFLAGS) $< + $(CC) $(CFLAGS) -MM $< > .deps/$*.d + + $(CLI): .deps $(OBJS) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS) ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS) $(INTL_LIBS) + + .deps: + mkdir $@ diff --git a/math/gretl/files/patch-gnome::Makefile.in b/math/gretl/files/patch-gnome::Makefile.in new file mode 100644 index 000000000..8c1ad3d1d --- /dev/null +++ b/math/gretl/files/patch-gnome::Makefile.in @@ -0,0 +1,32 @@ +--- gnome/Makefile.in.orig Sat Dec 23 00:26:03 2006 ++++ gnome/Makefile.in Sun Mar 25 02:18:02 2007 +@@ -5,12 +5,10 @@ + + INSTALL = @INSTALL@ + prefix = @prefix@ +-gnome_prefix = @gnome_prefix@ ++datadir = @datadir@ + have_gnome = @have_gnome@ + +-ifeq ($(gnome_prefix),NA) +- gnome_prefix = $(prefix) +-endif ++sysconfdir = @sysconfdir@ + + GCONFTOOL = @GCONFTOOL@ + GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ +@@ -26,10 +24,10 @@ + schemadir = $(GCONF_SCHEMA_FILE_DIR) + endif + +-desktopdir = $(gnome_prefix)/share/applications +-mimedir = $(gnome_prefix)/share/mime-info +-gpixmaps = $(gnome_prefix)/share/pixmaps +-schemadir = $(gnome_prefix)/etc/gconf/schemas ++desktopdir = $(datadir)/applications ++mimedir = $(datadir)/mime-info ++gpixmaps = $(datadir)/pixmaps ++schemadir = $(sysconfdir)/gconf/schemas + + install: install-images install-misc $(install_schemas) + diff --git a/math/gretl/files/patch-gui2::Makefile.in b/math/gretl/files/patch-gui2::Makefile.in new file mode 100644 index 000000000..f5844dd3e --- /dev/null +++ b/math/gretl/files/patch-gui2::Makefile.in @@ -0,0 +1,100 @@ +--- gui2/Makefile.in.orig Thu Jul 27 04:51:05 2006 ++++ gui2/Makefile.in Sun Oct 8 02:07:29 2006 +@@ -4,6 +4,7 @@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ + libdir = @libdir@ ++datadir = @datadir@ + CC = @CC@ + CFLAGS = @CFLAGS@ + MAKE = @MAKE@ +@@ -50,7 +51,7 @@ + + ifeq ($(have_gtksourceview),yes) + langbase := $(shell pkg-config --variable=prefix gtksourceview-1.0) +- langdir = $(langbase)/share/gtksourceview-1.0/language-specs ++ langdir = $(datadir)/gtksourceview-1.0/language-specs + query_install_lang = install-lang + endif + +@@ -59,7 +60,7 @@ + GTKSOURCEVIEW_CFLAGS = -I$(topsrc)/gui2 + GTKSOURCEVIEW_LIBS = -L./gtksourceview -lgtksourceview-lite + MY_SOURCEVIEW_LIB = gtksourceview/libgtksourceview-lite.a +- langdir = $(prefix)/share/gretl/gtksourceview ++ langdir = $(datadir)/gretl/gtksourceview + query_install_lang = install-lang + endif + endif +@@ -69,14 +70,14 @@ + ../lib/libgretl-1.0.la + GUI_CFLAGS = $(GNOME_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) $(GTK_EXTRA_CFLAGS) + query_install_gnome = install-gnome +- GNOMEDEF = -DDATADIR=\"$(gnome_prefix)/share\" ++ GNOMEDEF = -DDATADIR=\"$(datadir)\" + else + LIBS = $(GTK_LIBS) $(GTKSOURCEVIEW_LIBS) $(GTK_EXTRA_LIB) ../lib/libgretl-1.0.la + GUI_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) $(GTK_EXTRA_CFLAGS) + endif + ifeq ($(USE_NLS),yes) + datadir = @datadir@ +- localedir = $(datadir)/locale ++ localedir = $(prefix)/share/locale + NLSDEF = -DLOCALEDIR=\"$(localedir)\" + endif + +@@ -88,7 +89,7 @@ + + # Directories + bindir = $(prefix)/bin +-gretldir = $(prefix)/share/gretl ++gretldir = $(datadir)/gretl + tooldir = $(topsrc)/tools + libsrc = $(topsrc)/lib/src + clisrc = $(topsrc)/cli +@@ -97,7 +98,7 @@ + #### End of system configuration section. #### + + SHELL = /bin/sh +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + PROG = gretl_x11 + + vpath %.c $(topsrc)/gui2 +@@ -156,23 +157,23 @@ + $(CC) $(CFLAGS) -MM $< > .deps/$*.d + + $(PROG): .deps $(OBJS) $(HACK_OBJ) $(GTKEXTRA_LITE) $(MY_SOURCEVIEW_LIB) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB) ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB) + + $(HACK_OBJ): $(HACK_SRC) $(HACK_HDR) + $(CC) $(CFLAGS) $(GTK_CFLAGS) -c $< + + mklang: mklang.c + $(CC) -c -I.. -I$(libsrc) $(XML_CFLAGS) $< +- $(LIBTOOL) --mode=link $(CC) -o $@ mklang.o ../lib/libgretl-1.0.la $(XML_LIBS) ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ mklang.o ../lib/libgretl-1.0.la $(XML_LIBS) + + gretl.lang: mklang + ./mklang > $@ + + $(GTKEXTRA_LITE): +- make -C gtkextra-lite ++ $(MAKE) -C gtkextra-lite + + gtksourceview/libgtksourceview-lite.a: +- make -C gtksourceview ++ $(MAKE) -C gtksourceview + + .deps: + mkdir $@ +@@ -187,7 +188,7 @@ + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s $(PROG) $(bindir)/$(PROG) + + install-data: installdirs +- $(INSTALL_PROGRAM) ../gretl_sh $(bindir)/gretl ++ $(INSTALL_SCRIPT) ../gretl_sh $(bindir)/gretl + $(INSTALL_DATA) $(topsrc)/pixmaps/gretl-logo.xpm $(gretldir) + $(INSTALL_DATA) $(topsrc)/COPYING $(gretldir) + diff --git a/math/gretl/files/patch-gui2::omf-install::Makefile.in b/math/gretl/files/patch-gui2::omf-install::Makefile.in new file mode 100644 index 000000000..c5cfa1532 --- /dev/null +++ b/math/gretl/files/patch-gui2::omf-install::Makefile.in @@ -0,0 +1,29 @@ +--- gui2/omf-install/Makefile.in.orig Wed Apr 9 01:11:18 2003 ++++ gui2/omf-install/Makefile.in Mon Apr 14 17:37:41 2003 +@@ -1,13 +1,14 @@ +-topsrc = $top_srcdir@ ++topsrc = @top_srcdir@ + tooldir = $(topsrc)/tools + + INSTALL = @INSTALL@ +-gnome_prefix = @gnome_prefix@ ++INSTALL_DATA = @INSTALL_DATA@ ++datadir = @datadir@ + + VPATH = $(topsrc)/gui2/omf-install + +-docdir = $(gnome_prefix)/share/gnome/help/gretl/C +-omfdir = $(gnome_prefix)/share/omf/gretl ++docdir = $(gnome_prefix)/share/gnome/help/gretl/C ++omfdir = $(datadir)/omf/gretl + + gretl-C.omf: gretl-C.omf.in + scrollkeeper-preinstall $(docdir)/`awk 'BEGIN {RS = ">" } \ +@@ -16,5 +17,5 @@ + + install: gretl-C.omf + $(tooldir)/mkinstalldirs $(omfdir) +- $(INSTALL) -m 644 $< $(omfdir) +- scrollkeeper-update -p $(gnome_prefix)/var/scrollkeeper ++ $(INSTALL_DATA) $< $(omfdir) ++ scrollkeeper-update -p /var/db/scrollkeeper diff --git a/math/gretl/files/patch-lib::Makefile.in b/math/gretl/files/patch-lib::Makefile.in new file mode 100644 index 000000000..f193e4b10 --- /dev/null +++ b/math/gretl/files/patch-lib::Makefile.in @@ -0,0 +1,56 @@ +--- lib/Makefile.in.orig Mon Apr 16 10:13:11 2007 ++++ lib/Makefile.in Mon May 21 16:10:51 2007 +@@ -25,6 +25,11 @@ + + have_gtk = @have_gtk@ + ++datadir = @datadir@ ++CPPFLAGS = @CPPFLAGS@ -DDATADIR=\"$(datadir)\" ++LDFLAGS = @LDFLAGS@ ++INTL_LIBS = @LTLIBINTL@ ++ + ifeq ($(INSTALL_PROGRAM),) + INSTALL_PROGRAM = $(INSTALL) -m 755 + endif +@@ -39,7 +44,7 @@ + libdir = $(prefix)/lib + includedir = $(prefix)/include/gretl + aclocaldir = $(prefix)/share/aclocal +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + + INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir) + +@@ -55,8 +60,8 @@ + + # hard-coded -L/usr/local/lib is a bodge!! + +-LIBS = $(LAPACK_LIBS) -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) \ +- $(GLIB_LIBS) $(GMP_LIBS) $(FFTW_LIBS) ++LIBS = $(LAPACK_LIBS) -lm -lz $(XML_LIBS) \ ++ $(GLIB_LIBS) $(GMP_LIBS) $(FFTW_LIBS) $(INTL_LIBS) + + #### End of system configuration section. #### + +@@ -204,10 +209,10 @@ + LOBJS = $(SRCS:.c=.lo) + AUX_LOBJ = $(CEPHES_SRC:.c=.lo) $(MINPACK_SRC:.c=.lo) + +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + + override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(XML_CFLAGS) $(GLIB_CFLAGS) \ +- $(GMP_CFLAGS) $(FFTW_CFLAGS) -DHAVE_CONFIG_H ++ $(GMP_CFLAGS) $(FFTW_CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H + + COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) + +@@ -216,7 +221,7 @@ + $(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d + + $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \ ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(LOBJS) $(AUX_LOBJ) \ + -rpath $(prefix)/lib $(LIBS) \ + -version-info $(CURRENT):$(REVISION):$(AGE) + diff --git a/math/gretl/files/patch-lib::src::gretl_paths.c b/math/gretl/files/patch-lib::src::gretl_paths.c new file mode 100644 index 000000000..12770b080 --- /dev/null +++ b/math/gretl/files/patch-lib::src::gretl_paths.c @@ -0,0 +1,13 @@ +--- lib/src/gretl_paths.c.orig Wed Feb 11 06:14:36 2004 ++++ lib/src/gretl_paths.c Sun Feb 29 18:10:53 2004 +@@ -432,8 +432,8 @@ + if (home != NULL) { + strcpy(ppaths->gretldir, home); + } else { +- strcpy(ppaths->gretldir, GRETL_PREFIX); +- strcat(ppaths->gretldir, "/share/gretl/"); ++ strcpy(ppaths->gretldir, DATADIR); ++ strcat(ppaths->gretldir, "/gretl/"); + } + + sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir); diff --git a/math/gretl/files/patch-lib__src__gretl_matrix.c b/math/gretl/files/patch-lib__src__gretl_matrix.c new file mode 100644 index 000000000..0943f175b --- /dev/null +++ b/math/gretl/files/patch-lib__src__gretl_matrix.c @@ -0,0 +1,17 @@ +--- lib/src/gretl_matrix.c.orig Wed Mar 14 09:25:57 2007 ++++ lib/src/gretl_matrix.c Sat Apr 14 03:50:51 2007 +@@ -432,12 +432,13 @@ + { + int reverse = (start > end); + int i, k, n = 1 + (reverse ? (start-end) : (end-start)); ++ gretl_matrix *v; + + if (n == 0) { + return NULL; + } + +- gretl_matrix *v = gretl_vector_alloc(n); ++ v = gretl_vector_alloc(n); + + if (v == NULL) { + return v; diff --git a/math/gretl/files/patch-macros-lapack.m4 b/math/gretl/files/patch-macros-lapack.m4 new file mode 100644 index 000000000..e2c4ae940 --- /dev/null +++ b/math/gretl/files/patch-macros-lapack.m4 @@ -0,0 +1,11 @@ +--- macros/lapack.m4~ Fri Aug 26 05:19:27 2005 ++++ macros/lapack.m4 Tue Jan 23 10:04:28 2007 +@@ -17,7 +17,7 @@ + + if test x"${LAPACK_LIBS}" = x ; then + AC_MSG_CHECKING(for libgfortran, libg2c or libf2c) +- AC_CHECK_LIB(gfortran,etime_,FLIB="-lgfortran",FLIB="none") ++ AC_CHECK_LIB(gfortran,_gfortran_etime,FLIB="-lgfortran",FLIB="none") + if test $FLIB = "none" ; then + AC_CHECK_LIB(g2c,c_sqrt,FLIB="-lg2c",FLIB="none") + fi diff --git a/math/gretl/files/patch-plugin::Makefile.in b/math/gretl/files/patch-plugin::Makefile.in new file mode 100644 index 000000000..ee99f0eae --- /dev/null +++ b/math/gretl/files/patch-plugin::Makefile.in @@ -0,0 +1,46 @@ +--- plugin/Makefile.in.orig Tue Sep 12 22:53:16 2006 ++++ plugin/Makefile.in Sun Oct 8 02:08:19 2006 +@@ -8,6 +8,10 @@ + INSTALL = @INSTALL@ + LN = @LN_S@ + ++CPPFLAGS = @CPPFLAGS@ ++LDFLAGS = @LDFLAGS@ ++INTL_LIBS = @LTLIBINTL@ ++ + build_gui = @build_gui@ + have_gtk = @have_gtk@ + have_gmp = @have_gmp@ +@@ -45,7 +49,7 @@ + + override CFLAGS += -I.. -I$(topsrc)/gui2 -DHAVE_CONFIG_H + +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) + LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir) + +@@ -163,7 +167,7 @@ + URCDATA = $(topsrc)/plugin/data/urcdata.gz + + override CFLAGS += $(GRETLINC) $(GTK_CFLAGS) $(GMP_CFLAGS) $(MPFR_CFLAGS) \ +- $(XML_CFLAGS) $(GRETL_LIBOLE2_CFLAGS) $(ZIP_CFLAGS) $(AUDIO_CFLAGS) -I. $(GMPDEF) ++ $(XML_CFLAGS) $(GRETL_LIBOLE2_CFLAGS) $(ZIP_CFLAGS) $(AUDIO_CFLAGS) -I. $(GMPDEF) $(CPPFLAGS) + + %.lo: %.c + $(COMPILE) $< +@@ -266,12 +270,12 @@ + .PHONY: + + install: $(GRETLLIB) $(PLUGINS) $(URCDATA) installdirs +- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \ ++ $(LIBTOOL) --mode=install $(INSTALL_DATA) \ + $(PLUGINS) $(plugindir) + $(INSTALL_DATA) $(URCDATA) $(plugindir)/data + + install-strip: $(GRETLLIB) $(PLUGINS) installdirs +- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s \ ++ $(LIBTOOL) --mode=install $(INSTALL_DATA) -s \ + $(PLUGINS) $(plugindir) + + installdirs: diff --git a/math/gretl/files/patch-plugin::libole2::ms-ole2.h b/math/gretl/files/patch-plugin::libole2::ms-ole2.h new file mode 100644 index 000000000..dc25fd58b --- /dev/null +++ b/math/gretl/files/patch-plugin::libole2::ms-ole2.h @@ -0,0 +1,14 @@ +--- plugin/libole2/ms-ole.h.orig Fri Apr 12 03:41:50 2002 ++++ plugin/libole2/ms-ole.h Thu Dec 19 06:28:05 2002 +@@ -13,10 +13,10 @@ + + /* This should be done in glib */ + /* Allin Cottrell modifications here */ ++# include <sys/types.h> + #ifndef _WIN32 + # include <fcntl.h> /* for mode_t */ + #else +-# include <sys/types.h> + # ifdef notdef + typedef unsigned long mode_t; + typedef /* signed */ long off_t; diff --git a/math/gretl/files/patch-plugin::workbook.c b/math/gretl/files/patch-plugin::workbook.c new file mode 100644 index 000000000..d91482092 --- /dev/null +++ b/math/gretl/files/patch-plugin::workbook.c @@ -0,0 +1,10 @@ +--- plugin/workbook.c.orig Fri May 31 22:22:42 2002 ++++ plugin/workbook.c Sat Jul 27 08:45:00 2002 +@@ -24,6 +24,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <glib.h> ++#include <wchar.h> + + #ifdef G_OS_WIN32 + # include "../winconfig.h" diff --git a/math/gretl/files/patch-plugin__oprobit.c b/math/gretl/files/patch-plugin__oprobit.c new file mode 100644 index 000000000..8b8ff9683 --- /dev/null +++ b/math/gretl/files/patch-plugin__oprobit.c @@ -0,0 +1,19 @@ +--- plugin/oprobit.c.orig Fri Feb 16 06:47:19 2007 ++++ plugin/oprobit.c Sat Apr 14 03:58:23 2007 +@@ -665,6 +665,7 @@ + gretl_matrix *V = NULL; + double *theta = NULL; + int err; ++ op_container *OC; + + /* BFGS apparatus */ + int maxit = 1000; +@@ -679,7 +680,7 @@ + opt &= ~OPT_R; + } + +- op_container *OC = op_container_new(ci, Z, pmod, opt); ++ OC = op_container_new(ci, Z, pmod, opt); + if (OC == NULL) { + return E_ALLOC; + } diff --git a/math/gretl/files/patch-share::Makefile.in b/math/gretl/files/patch-share::Makefile.in new file mode 100644 index 000000000..2ae91dc9c --- /dev/null +++ b/math/gretl/files/patch-share::Makefile.in @@ -0,0 +1,65 @@ +--- share/Makefile.in.orig Fri Mar 9 11:04:53 2007 ++++ share/Makefile.in Sat Apr 14 02:54:05 2007 +@@ -2,15 +2,16 @@ + datarootdir = @datarootdir@ + + prefix = @prefix@ ++datadir = @datadir@ + have_gtk = @have_gtk@ + build_docs = @build_docs@ + +-gretldir = $(prefix)/share/gretl ++gretldir = $(datadir)/gretl + tooldir = $(topsrc)/tools + sharesrc = $(topsrc)/share + pdfdir = ../doc/tex + +-INSTALL_DATA = cp -fp ++INSTALL_DATA = @INSTALL_DATA@ + + EN_GUI_HLP = $(sharesrc)/gretlgui.hlp + EN_CMD_HLP = $(sharesrc)/gretlcmd.hlp +@@ -45,14 +46,14 @@ + all: $(query_make_help) + + help: +- make -C ../doc/commands help-all ++ $(MAKE) -C ../doc/commands help-all + + .PHONY : + + install: installdirs install_datafiles install_scripts install_functions \ + install_help install_fonts $(query_install_help) + $(INSTALL_DATA) $(sharesrc)/gretl.stamp $(gretldir)/gretl.stamp +- make -C bcih install ++ $(MAKE) -C bcih install + + install-strip: install + +@@ -78,12 +79,12 @@ + $(INSTALL_DATA) $(sharesrc)/functions/gretlfunc.dtd $(gretldir)/functions + + install_man: gretl.1 +- $(tooldir)/mkinstalldirs $(prefix)/share/man/man1 +- $(INSTALL_DATA) $(topsrc)/gretl.1 $(prefix)/share/man/man1 ++ $(tooldir)/mkinstalldirs $(prefix)/man/man1 ++ $(INSTALL_DATA) $(topsrc)/gretl.1 $(prefix)/man/man1 + + install_help: $(AUTO_HELPFILES) + $(tooldir)/mkinstalldirs $(gretldir) +- $(tooldir)/mkinstalldirs $(gretldir)/doc ++# $(tooldir)/mkinstalldirs $(gretldir)/doc + $(tooldir)/mkinstalldirs $(gretldir)/helpfigs + $(INSTALL_DATA) $(EN_GUI_HLP) $(gretldir)/gretlgui.hlp + $(INSTALL_DATA) $(EN_CMD_HLP) $(gretldir)/gretlcmd.hlp +@@ -96,8 +97,8 @@ + $(INSTALL_DATA) $(IT_CLI_HLP) $(gretldir)/gretlcli.hlp.it + for f in $(sharesrc)/texfigs/*.png ; do \ + $(INSTALL_DATA) $$f $(gretldir)/helpfigs ; done +- for f in $(pdfdir)/gretl-ref.pdf $(pdfdir)/gretl-guide.pdf ; do \ +- if test -f $$f ; then $(INSTALL_DATA) $$f $(gretldir)/doc ; fi ; done ++# for f in $(pdfdir)/gretl-ref.pdf $(pdfdir)/gretl-guide.pdf ; do \ ++# if test -f $$f ; then $(INSTALL_DATA) $$f $(gretldir)/doc ; fi ; done + + install_fonts: + for f in $(sharesrc)/fonts/*.ttf ; do \ diff --git a/math/gretl/files/patch-share::bcih::Makefile.in b/math/gretl/files/patch-share::bcih::Makefile.in new file mode 100644 index 000000000..0be68fd9f --- /dev/null +++ b/math/gretl/files/patch-share::bcih::Makefile.in @@ -0,0 +1,14 @@ +--- share/bcih/Makefile.in.orig Sat Apr 26 04:32:37 2003 ++++ share/bcih/Makefile.in Sun May 4 03:16:24 2003 +@@ -4,7 +4,10 @@ + INSTALL_DATA = cp -fp + + prefix = @prefix@ +-gretldir = $(prefix)/share/gretl ++datadir = @datadir@ ++gretldir = $(datadir)/gretl ++INSTALL_DATA = @INSTALL_DATA@ ++ + VPATH = $(topsrc)/share/bcih + + bcih.bin: mkbin bcih.dat diff --git a/math/gretl/pkg-descr b/math/gretl/pkg-descr new file mode 100644 index 000000000..b0fbe9f62 --- /dev/null +++ b/math/gretl/pkg-descr @@ -0,0 +1,22 @@ +Gnu Regression, Econometrics and Time-series Library + +Features + - A wide variety of least-squares based estimators (including two-stage + least squares). + - Easy intuitive interface. + - Single commands to launch things like augmented Dickey-Fuller test, Chow + test for structural stability, Vector Autoregression. + - Reads own format ascii data files, Comma Separated Values files, BOX1 + files, own format binary databases (allowing mixed data frequencies and + series lengths) and RATS 4 databases. Includes a US macro database and a + perl script to create a database off economagic.com. See also the gretl + data page. + - Output models as LaTeX files, in tabular or equation format (not very + flexible yet). + - Integrated scripting language: enter commands either via the gui or via + script. + - Command loop structure for Monte Carlo simulations. + - GUI controller for fine-tuning Gnuplot graphs. + - Link to GNU R for further data analysis. + +WWW: http://gretl.sourceforge.net/ diff --git a/math/gretl/pkg-plist b/math/gretl/pkg-plist new file mode 100644 index 000000000..13a230f9e --- /dev/null +++ b/math/gretl/pkg-plist @@ -0,0 +1,509 @@ +bin/gretl +bin/gretl_x11 +bin/gretlcli +include/gretl/adf_kpss.h +include/gretl/bhhh_max.h +include/gretl/bootstrap.h +include/gretl/calendar.h +include/gretl/compare.h +include/gretl/compat.h +include/gretl/dataio.h +include/gretl/dataset.h +include/gretl/dbread.h +include/gretl/describe.h +include/gretl/discrete.h +include/gretl/estimate.h +include/gretl/forecast.h +include/gretl/genfuncs.h +include/gretl/genmain.h +include/gretl/graphing.h +include/gretl/gretl_commands.h +include/gretl/gretl_errors.h +include/gretl/gretl_fft.h +include/gretl/gretl_func.h +include/gretl/gretl_intl.h +include/gretl/gretl_list.h +include/gretl/gretl_matrix.h +include/gretl/gretl_model.h +include/gretl/gretl_panel.h +include/gretl/gretl_paths.h +include/gretl/gretl_prn.h +include/gretl/gretl_restrict.h +include/gretl/gretl_string_table.h +include/gretl/gretl_utils.h +include/gretl/gretl_win32.h +include/gretl/gretl_www.h +include/gretl/gretl_xml.h +include/gretl/interact.h +include/gretl/kalman.h +include/gretl/libgretl.h +include/gretl/libset.h +include/gretl/matrix_extra.h +include/gretl/missing.h +include/gretl/modelprint.h +include/gretl/modelspec.h +include/gretl/monte_carlo.h +include/gretl/nls.h +include/gretl/nonparam.h +include/gretl/objstack.h +include/gretl/options.h +include/gretl/plotspec.h +include/gretl/plugins.h +include/gretl/printout.h +include/gretl/pvalues.h +include/gretl/qr_estimate.h +include/gretl/random.h +include/gretl/strutils.h +include/gretl/subsample.h +include/gretl/system.h +include/gretl/texprint.h +include/gretl/transforms.h +include/gretl/tsls.h +include/gretl/usermat.h +include/gretl/var.h +include/gretl/varprint.h +lib/gretl-gtk2/arbond.a +lib/gretl-gtk2/arbond.la +lib/gretl-gtk2/arbond.so +lib/gretl-gtk2/arma.a +lib/gretl-gtk2/arma.la +lib/gretl-gtk2/arma.so +lib/gretl-gtk2/arma_x12.a +lib/gretl-gtk2/arma_x12.la +lib/gretl-gtk2/arma_x12.so +lib/gretl-gtk2/data/urcdata.gz +lib/gretl-gtk2/eviews_import.a +lib/gretl-gtk2/eviews_import.la +lib/gretl-gtk2/eviews_import.so +lib/gretl-gtk2/excel_import.a +lib/gretl-gtk2/excel_import.la +lib/gretl-gtk2/excel_import.so +lib/gretl-gtk2/fractals.a +lib/gretl-gtk2/fractals.la +lib/gretl-gtk2/fractals.so +lib/gretl-gtk2/garch.a +lib/gretl-gtk2/garch.la +lib/gretl-gtk2/garch.so +lib/gretl-gtk2/gnumeric_import.a +lib/gretl-gtk2/gnumeric_import.la +lib/gretl-gtk2/gnumeric_import.so +lib/gretl-gtk2/gretlzip.a +lib/gretl-gtk2/gretlzip.la +lib/gretl-gtk2/gretlzip.so +lib/gretl-gtk2/jmulti_import.a +lib/gretl-gtk2/jmulti_import.la +lib/gretl-gtk2/jmulti_import.so +lib/gretl-gtk2/johansen.a +lib/gretl-gtk2/johansen.la +lib/gretl-gtk2/johansen.so +lib/gretl-gtk2/kernel.a +lib/gretl-gtk2/kernel.la +lib/gretl-gtk2/kernel.so +lib/gretl-gtk2/lad.a +lib/gretl-gtk2/lad.la +lib/gretl-gtk2/lad.so +lib/gretl-gtk2/leverage.a +lib/gretl-gtk2/leverage.la +lib/gretl-gtk2/leverage.so +lib/gretl-gtk2/mailer.a +lib/gretl-gtk2/mailer.la +lib/gretl-gtk2/mailer.so +lib/gretl-gtk2/mp_ols.a +lib/gretl-gtk2/mp_ols.la +lib/gretl-gtk2/mp_ols.so +lib/gretl-gtk2/nistcheck.a +lib/gretl-gtk2/nistcheck.la +lib/gretl-gtk2/nistcheck.so +lib/gretl-gtk2/oprobit.a +lib/gretl-gtk2/oprobit.la +lib/gretl-gtk2/oprobit.so +lib/gretl-gtk2/pca.a +lib/gretl-gtk2/pca.la +lib/gretl-gtk2/pca.so +lib/gretl-gtk2/poisson.a +lib/gretl-gtk2/poisson.la +lib/gretl-gtk2/poisson.so +lib/gretl-gtk2/progress_bar.a +lib/gretl-gtk2/progress_bar.la +lib/gretl-gtk2/progress_bar.so +lib/gretl-gtk2/range-mean.a +lib/gretl-gtk2/range-mean.la +lib/gretl-gtk2/range-mean.so +lib/gretl-gtk2/stata_import.a +lib/gretl-gtk2/stata_import.la +lib/gretl-gtk2/stata_import.so +lib/gretl-gtk2/stats_tables.a +lib/gretl-gtk2/stats_tables.la +lib/gretl-gtk2/stats_tables.so +lib/gretl-gtk2/sysest.a +lib/gretl-gtk2/sysest.la +lib/gretl-gtk2/sysest.so +lib/gretl-gtk2/tobit.a +lib/gretl-gtk2/tobit.la +lib/gretl-gtk2/tobit.so +lib/gretl-gtk2/tramo-x12a.a +lib/gretl-gtk2/tramo-x12a.la +lib/gretl-gtk2/tramo-x12a.so +lib/gretl-gtk2/urcdist.a +lib/gretl-gtk2/urcdist.la +lib/gretl-gtk2/urcdist.so +lib/gretl-gtk2/vif.a +lib/gretl-gtk2/vif.la +lib/gretl-gtk2/vif.so +lib/libgretl-1.0.a +lib/libgretl-1.0.la +lib/libgretl-1.0.so +lib/libgretl-1.0.so.0 +libdata/pkgconfig/gretl.pc +%%GNOME:%%share/applications/gretl.desktop +%%DATADIR%%/COPYING +%%DATADIR%%/data/data10-1.gdt +%%DATADIR%%/data/data10-2.gdt +%%DATADIR%%/data/data10-3.gdt +%%DATADIR%%/data/data10-4.gdt +%%DATADIR%%/data/data10-5.gdt +%%DATADIR%%/data/data10-6.gdt +%%DATADIR%%/data/data10-7.gdt +%%DATADIR%%/data/data10-8.gdt +%%DATADIR%%/data/data11-1.gdt +%%DATADIR%%/data/data12-1.gdt +%%DATADIR%%/data/data13-1.gdt +%%DATADIR%%/data/data2-1.gdt +%%DATADIR%%/data/data2-2.gdt +%%DATADIR%%/data/data2-3.gdt +%%DATADIR%%/data/data3-1.gdt +%%DATADIR%%/data/data3-10.gdt +%%DATADIR%%/data/data3-11.gdt +%%DATADIR%%/data/data3-12.gdt +%%DATADIR%%/data/data3-13.gdt +%%DATADIR%%/data/data3-14.gdt +%%DATADIR%%/data/data3-15.gdt +%%DATADIR%%/data/data3-2.gdt +%%DATADIR%%/data/data3-3.gdt +%%DATADIR%%/data/data3-4.gdt +%%DATADIR%%/data/data3-5.gdt +%%DATADIR%%/data/data3-6.gdt +%%DATADIR%%/data/data3-7.gdt +%%DATADIR%%/data/data3-8.gdt +%%DATADIR%%/data/data3-9.gdt +%%DATADIR%%/data/data4-1.gdt +%%DATADIR%%/data/data4-10.gdt +%%DATADIR%%/data/data4-11.gdt +%%DATADIR%%/data/data4-12.gdt +%%DATADIR%%/data/data4-13.gdt +%%DATADIR%%/data/data4-14.gdt +%%DATADIR%%/data/data4-15.gdt +%%DATADIR%%/data/data4-16.gdt +%%DATADIR%%/data/data4-17.gdt +%%DATADIR%%/data/data4-2.gdt +%%DATADIR%%/data/data4-3.gdt +%%DATADIR%%/data/data4-3a.gdt +%%DATADIR%%/data/data4-4.gdt +%%DATADIR%%/data/data4-5.gdt +%%DATADIR%%/data/data4-6.gdt +%%DATADIR%%/data/data4-7.gdt +%%DATADIR%%/data/data4-8.gdt +%%DATADIR%%/data/data4-9.gdt +%%DATADIR%%/data/data6-1.gdt +%%DATADIR%%/data/data6-2.gdt +%%DATADIR%%/data/data6-3.gdt +%%DATADIR%%/data/data6-4.gdt +%%DATADIR%%/data/data6-5.gdt +%%DATADIR%%/data/data6-6.gdt +%%DATADIR%%/data/data7-1.gdt +%%DATADIR%%/data/data7-10.gdt +%%DATADIR%%/data/data7-11.gdt +%%DATADIR%%/data/data7-12.gdt +%%DATADIR%%/data/data7-13.gdt +%%DATADIR%%/data/data7-14.gdt +%%DATADIR%%/data/data7-15.gdt +%%DATADIR%%/data/data7-16.gdt +%%DATADIR%%/data/data7-17.gdt +%%DATADIR%%/data/data7-18.gdt +%%DATADIR%%/data/data7-19.gdt +%%DATADIR%%/data/data7-2.gdt +%%DATADIR%%/data/data7-20.gdt +%%DATADIR%%/data/data7-21.gdt +%%DATADIR%%/data/data7-22.gdt +%%DATADIR%%/data/data7-23.gdt +%%DATADIR%%/data/data7-24.gdt +%%DATADIR%%/data/data7-26.gdt +%%DATADIR%%/data/data7-3.gdt +%%DATADIR%%/data/data7-4.gdt +%%DATADIR%%/data/data7-5.gdt +%%DATADIR%%/data/data7-6.gdt +%%DATADIR%%/data/data7-7.gdt +%%DATADIR%%/data/data7-8.gdt +%%DATADIR%%/data/data7-9.gdt +%%DATADIR%%/data/data8-1.gdt +%%DATADIR%%/data/data8-2.gdt +%%DATADIR%%/data/data8-3.gdt +%%DATADIR%%/data/data9-1.gdt +%%DATADIR%%/data/data9-10.gdt +%%DATADIR%%/data/data9-11.gdt +%%DATADIR%%/data/data9-12.gdt +%%DATADIR%%/data/data9-13.gdt +%%DATADIR%%/data/data9-2.gdt +%%DATADIR%%/data/data9-3.gdt +%%DATADIR%%/data/data9-4.gdt +%%DATADIR%%/data/data9-5.gdt +%%DATADIR%%/data/data9-6.gdt +%%DATADIR%%/data/data9-7.gdt +%%DATADIR%%/data/data9-8.gdt +%%DATADIR%%/data/data9-9.gdt +%%DATADIR%%/data/descriptions +%%DATADIR%%/data/greene/greene10_3.gdt +%%DATADIR%%/data/greene/greene11_3.gdt +%%DATADIR%%/data/greene/greene12_1.gdt +%%DATADIR%%/data/greene/greene13_1.gdt +%%DATADIR%%/data/greene/greene14_1.gdt +%%DATADIR%%/data/greene/greene18_1.gdt +%%DATADIR%%/data/greene/greene18_2.gdt +%%DATADIR%%/data/greene/greene19_1.gdt +%%DATADIR%%/data/greene/greene22_2.gdt +%%DATADIR%%/data/greene/greene5_1.gdt +%%DATADIR%%/data/greene/greene7_8.gdt +%%DATADIR%%/data/greene/greene8_3.gdt +%%DATADIR%%/data/greene/greene9_1.gdt +%%DATADIR%%/data/greene/wg_descriptions +%%DATADIR%%/data/gretldata.dtd +%%DATADIR%%/data/misc/abdata.gdt +%%DATADIR%%/data/misc/anscombe.gdt +%%DATADIR%%/data/misc/arma.gdt +%%DATADIR%%/data/misc/b-g.gdt +%%DATADIR%%/data/misc/bjg.gdt +%%DATADIR%%/data/misc/denmark.gdt +%%DATADIR%%/data/misc/descriptions +%%DATADIR%%/data/misc/djclose.gdt +%%DATADIR%%/data/misc/ects_nls.gdt +%%DATADIR%%/data/misc/hall.gdt +%%DATADIR%%/data/misc/hamilton.gdt +%%DATADIR%%/data/misc/hendry_jae.gdt +%%DATADIR%%/data/misc/jgm-data.gdt +%%DATADIR%%/data/misc/keane.gdt +%%DATADIR%%/data/misc/kennan.gdt +%%DATADIR%%/data/misc/klein.gdt +%%DATADIR%%/data/misc/kmenta.gdt +%%DATADIR%%/data/misc/leverage.gdt +%%DATADIR%%/data/misc/longley.gdt +%%DATADIR%%/data/misc/mccullagh.gdt +%%DATADIR%%/data/misc/mroz.gdt +%%DATADIR%%/data/misc/mrw.gdt +%%DATADIR%%/data/misc/np.gdt +%%DATADIR%%/data/misc/nysewk.gdt +%%DATADIR%%/data/misc/penngrow.gdt +%%DATADIR%%/data/misc/pension.gdt +%%DATADIR%%/data/misc/poisson.gdt +%%DATADIR%%/data/misc/rac3d.gdt +%%DATADIR%%/data/misc/sw_ch12.gdt +%%DATADIR%%/data/misc/sw_ch14.gdt +%%DATADIR%%/data/nist/Filip.dat +%%DATADIR%%/data/nist/Longley.dat +%%DATADIR%%/data/nist/NoInt1.dat +%%DATADIR%%/data/nist/NoInt2.dat +%%DATADIR%%/data/nist/Norris.dat +%%DATADIR%%/data/nist/Pontius.dat +%%DATADIR%%/data/nist/Wampler1.dat +%%DATADIR%%/data/nist/Wampler2.dat +%%DATADIR%%/data/nist/Wampler3.dat +%%DATADIR%%/data/nist/Wampler4.dat +%%DATADIR%%/data/nist/Wampler5.dat +%%DATADIR%%/db/fedstl.bin +%%DATADIR%%/db/fedstl.idx +%%DATADIR%%/fonts/Vera.ttf +%%DATADIR%%/fonts/luxisr.ttf +%%DATADIR%%/functions/gretlfunc.dtd +%%NOGNOME:%%%%DATADIR%%/gtksourceview/gnuplot.lang +%%NOGNOME:%%%%DATADIR%%/gtksourceview/gretl.lang +%%DATADIR%%/gretl-logo.xpm +%%DATADIR%%/gretl.stamp +%%DATADIR%%/gretlcli.hlp +%%DATADIR%%/gretlcli.hlp.es +%%DATADIR%%/gretlcli.hlp.it +%%DATADIR%%/gretlcmd.hlp +%%DATADIR%%/gretlcmd.hlp.es +%%DATADIR%%/gretlcmd.hlp.it +%%DATADIR%%/gretlgui.hlp +%%DATADIR%%/gretlgui.hlp.es +%%DATADIR%%/gretlgui.hlp.it +%%DATADIR%%/helpfigs/adf1.png +%%DATADIR%%/helpfigs/aic.png +%%DATADIR%%/helpfigs/arlags.png +%%DATADIR%%/helpfigs/autocorr.png +%%DATADIR%%/helpfigs/bic_orig.png +%%DATADIR%%/helpfigs/cumulate.png +%%DATADIR%%/helpfigs/dffit.png +%%DATADIR%%/helpfigs/ell.png +%%DATADIR%%/helpfigs/garch_h.png +%%DATADIR%%/helpfigs/greene_Cfunc.png +%%DATADIR%%/helpfigs/hsk.png +%%DATADIR%%/helpfigs/hurst.png +%%DATADIR%%/helpfigs/influence.png +%%DATADIR%%/helpfigs/kernel1.png +%%DATADIR%%/helpfigs/kernel2.png +%%DATADIR%%/helpfigs/lambda.png +%%DATADIR%%/helpfigs/logistic1.png +%%DATADIR%%/helpfigs/logistic2.png +%%DATADIR%%/helpfigs/mahal.png +%%DATADIR%%/helpfigs/mahal2.png +%%DATADIR%%/helpfigs/nw1.png +%%DATADIR%%/helpfigs/nw2.png +%%DATADIR%%/helpfigs/poisson1.png +%%DATADIR%%/helpfigs/poisson2.png +%%DATADIR%%/helpfigs/simformula.png +%%DATADIR%%/helpfigs/syssigma1.png +%%DATADIR%%/helpfigs/syssigma2.png +%%DATADIR%%/helpfigs/vif.png +%%DATADIR%%/helpfigs/wlsr2.png +%%DATADIR%%/scripts/greene11_3.inp +%%DATADIR%%/scripts/greene12_1.inp +%%DATADIR%%/scripts/greene14_1.inp +%%DATADIR%%/scripts/greene14_2.inp +%%DATADIR%%/scripts/greene15_3.inp +%%DATADIR%%/scripts/greene18_6.inp +%%DATADIR%%/scripts/greene19_1.inp +%%DATADIR%%/scripts/greene19_3.inp +%%DATADIR%%/scripts/greene22_2.inp +%%DATADIR%%/scripts/greene7_8.inp +%%DATADIR%%/scripts/greene8_3.inp +%%DATADIR%%/scripts/greene9_1.inp +%%DATADIR%%/scripts/greene9_3.inp +%%DATADIR%%/scripts/misc/arbond91.inp +%%DATADIR%%/scripts/misc/armaloop.inp +%%DATADIR%%/scripts/misc/bjg.inp +%%DATADIR%%/scripts/misc/camtriv.inp +%%DATADIR%%/scripts/misc/convolve.inp +%%DATADIR%%/scripts/misc/denmark.inp +%%DATADIR%%/scripts/misc/ects_nls.inp +%%DATADIR%%/scripts/misc/garch.inp +%%DATADIR%%/scripts/misc/hall_cbapm.inp +%%DATADIR%%/scripts/misc/hamilton.inp +%%DATADIR%%/scripts/misc/jgm-1996.inp +%%DATADIR%%/scripts/misc/keane.inp +%%DATADIR%%/scripts/misc/klein.inp +%%DATADIR%%/scripts/misc/kmenta.inp +%%DATADIR%%/scripts/misc/leverage.inp +%%DATADIR%%/scripts/misc/longley.inp +%%DATADIR%%/scripts/misc/mrw.inp +%%DATADIR%%/scripts/misc/oprobit.inp +%%DATADIR%%/scripts/misc/penngrow.inp +%%DATADIR%%/scripts/misc/perron97.inp +%%DATADIR%%/scripts/misc/ps_descriptions +%%DATADIR%%/scripts/misc/restrict.inp +%%DATADIR%%/scripts/misc/sw_ch12.inp +%%DATADIR%%/scripts/misc/sw_ch14.inp +%%DATADIR%%/scripts/misc/weibull.inp +%%DATADIR%%/scripts/misc/wg_nls.inp +%%DATADIR%%/scripts/ps10-1.inp +%%DATADIR%%/scripts/ps10-10.inp +%%DATADIR%%/scripts/ps10-11.inp +%%DATADIR%%/scripts/ps10-2.inp +%%DATADIR%%/scripts/ps10-3.inp +%%DATADIR%%/scripts/ps10-4.inp +%%DATADIR%%/scripts/ps10-5a.inp +%%DATADIR%%/scripts/ps10-5b.inp +%%DATADIR%%/scripts/ps10-6.inp +%%DATADIR%%/scripts/ps10-7.inp +%%DATADIR%%/scripts/ps10-8.inp +%%DATADIR%%/scripts/ps10-9.inp +%%DATADIR%%/scripts/ps11-1.inp +%%DATADIR%%/scripts/ps11-2.inp +%%DATADIR%%/scripts/ps11-3.inp +%%DATADIR%%/scripts/ps12-1.inp +%%DATADIR%%/scripts/ps13-1.inp +%%DATADIR%%/scripts/ps2-1.inp +%%DATADIR%%/scripts/ps2-2.inp +%%DATADIR%%/scripts/ps2-3.inp +%%DATADIR%%/scripts/ps3-1.inp +%%DATADIR%%/scripts/ps3-2.inp +%%DATADIR%%/scripts/ps3-3.inp +%%DATADIR%%/scripts/ps3-4.inp +%%DATADIR%%/scripts/ps3-5.inp +%%DATADIR%%/scripts/ps3-6.inp +%%DATADIR%%/scripts/ps4-1.inp +%%DATADIR%%/scripts/ps4-2.inp +%%DATADIR%%/scripts/ps4-3.inp +%%DATADIR%%/scripts/ps4-4.inp +%%DATADIR%%/scripts/ps4-5.inp +%%DATADIR%%/scripts/ps5-1.inp +%%DATADIR%%/scripts/ps5-2.inp +%%DATADIR%%/scripts/ps5-3.inp +%%DATADIR%%/scripts/ps5-4.inp +%%DATADIR%%/scripts/ps5-5.inp +%%DATADIR%%/scripts/ps6-1.inp +%%DATADIR%%/scripts/ps6-10.inp +%%DATADIR%%/scripts/ps6-11.inp +%%DATADIR%%/scripts/ps6-12.inp +%%DATADIR%%/scripts/ps6-2.inp +%%DATADIR%%/scripts/ps6-3.inp +%%DATADIR%%/scripts/ps6-4.inp +%%DATADIR%%/scripts/ps6-5.inp +%%DATADIR%%/scripts/ps6-6.inp +%%DATADIR%%/scripts/ps6-7.inp +%%DATADIR%%/scripts/ps6-8.inp +%%DATADIR%%/scripts/ps6-9.inp +%%DATADIR%%/scripts/ps7-1.inp +%%DATADIR%%/scripts/ps7-2.inp +%%DATADIR%%/scripts/ps7-3.inp +%%DATADIR%%/scripts/ps7-4.inp +%%DATADIR%%/scripts/ps7-5.inp +%%DATADIR%%/scripts/ps7-6.inp +%%DATADIR%%/scripts/ps7-7.inp +%%DATADIR%%/scripts/ps8-1.inp +%%DATADIR%%/scripts/ps8-2.inp +%%DATADIR%%/scripts/ps8-3.inp +%%DATADIR%%/scripts/ps8-4.inp +%%DATADIR%%/scripts/ps8-5.inp +%%DATADIR%%/scripts/ps8-6.inp +%%DATADIR%%/scripts/ps8-7.inp +%%DATADIR%%/scripts/ps8-8.inp +%%DATADIR%%/scripts/ps9-1.inp +%%DATADIR%%/scripts/ps9-10.inp +%%DATADIR%%/scripts/ps9-2.inp +%%DATADIR%%/scripts/ps9-3.inp +%%DATADIR%%/scripts/ps9-4.inp +%%DATADIR%%/scripts/ps9-5.inp +%%DATADIR%%/scripts/ps9-6.inp +%%DATADIR%%/scripts/ps9-7.inp +%%DATADIR%%/scripts/ps9-8.inp +%%DATADIR%%/scripts/ps9-9.inp +%%DATADIR%%/scripts/ps_descriptions +%%DATADIR%%/scripts/testinp +%%DATADIR%%/scripts/wg_ps_descriptions +%%GNOME:%%share/gtksourceview-1.0/language-specs/gnuplot.lang +%%GNOME:%%share/gtksourceview-1.0/language-specs/gretl.lang +%%GNOME:%%share/mime-info/gretl.keys +%%GNOME:%%share/mime-info/gretl.mime +%%GNOME:%%share/pixmaps/gnome-application-x-gretldata.png +%%GNOME:%%share/pixmaps/gnome-application-x-gretlsession.png +%%GNOME:%%share/pixmaps/gretl-logo.xpm +%%GNOME:%%share/pixmaps/gretl.xpm +share/locale/de/LC_MESSAGES/gretl.mo +share/locale/es/LC_MESSAGES/gretl.mo +share/locale/eu/LC_MESSAGES/gretl.mo +share/locale/fr/LC_MESSAGES/gretl.mo +share/locale/it/LC_MESSAGES/gretl.mo +share/locale/ja/LC_MESSAGES/gretl.mo +share/locale/pl/LC_MESSAGES/gretl.mo +share/locale/pt/LC_MESSAGES/gretl.mo +share/locale/pt_BR/LC_MESSAGES/gretl.mo +share/locale/rw/LC_MESSAGES/gretl.mo +share/locale/tr/LC_MESSAGES/gretl.mo +@dirrm %%DATADIR%%/scripts/misc +@dirrm %%DATADIR%%/scripts +@dirrm %%DATADIR%%/helpfigs +%%NOGNOME:%%@dirrm %%DATADIR%%/gtksourceview +@dirrm %%DATADIR%%/functions +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%%/db +@dirrm %%DATADIR%%/data/nist +@dirrm %%DATADIR%%/data/misc +@dirrm %%DATADIR%%/data/greene +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%% +%%GNOME:%%@dirrmtry share/gnome +@dirrm lib/gretl-gtk2/data +@dirrm lib/gretl-gtk2 +@dirrm include/gretl +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw diff --git a/misc/gnome-osd/Makefile b/misc/gnome-osd/Makefile new file mode 100644 index 000000000..210662072 --- /dev/null +++ b/misc/gnome-osd/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: gnome-osd +# Date created: 21 Aug 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= gnome-osd +DISTVERSION= 0.11.3 +PORTREVISION= 3 +CATEGORIES= misc +MASTER_SITES= http://telecom.inescporto.pt/~gjc/gnome-osd/${DISTVERSION:C|-.*$||}/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= An On-Screen-Display infrastructure using Pango text rendering + +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix intlhack pygnome2 +USE_PYTHON= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +GCONF_SCHEMAS= gnome-osd.schemas +PORTDOCS= AUTHORS NEWS README +MAN1= gnome-osd-client.1 + +post-patch: + @${REINPLACE_CMD} -e 's|control-center-2.0/capplets|applications|' \ + ${WRKSRC}/Makefile.in + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/misc/gnome-osd/distinfo b/misc/gnome-osd/distinfo new file mode 100644 index 000000000..0e4b3d210 --- /dev/null +++ b/misc/gnome-osd/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome-osd-0.11.3.tar.gz) = f85ec6d1c97c5ff4f12d83ba90197c7d +SHA256 (gnome-osd-0.11.3.tar.gz) = 9296a040b6185f1bad2d6ad8fb01b78c70eae34d29263bf1b3bb133841c752da +SIZE (gnome-osd-0.11.3.tar.gz) = 175507 diff --git a/misc/gnome-osd/files/patch-gnomeosd_capplet.py b/misc/gnome-osd/files/patch-gnomeosd_capplet.py new file mode 100644 index 000000000..2dcfec3e3 --- /dev/null +++ b/misc/gnome-osd/files/patch-gnomeosd_capplet.py @@ -0,0 +1,10 @@ +--- gnomeosd/capplet.py.orig Wed Aug 23 03:44:56 2006 ++++ gnomeosd/capplet.py Wed Aug 23 03:45:29 2006 +@@ -150,7 +150,6 @@ + def main(): + gettext.install("gnome-osd", os.path.join(gnome_osd_conf.datadir, "locale")) + locale.setlocale(locale.LC_ALL, '') +- locale.bind_textdomain_codeset('gnome-osd','UTF-8') + gettext.bind_textdomain_codeset('gnome-osd','UTF-8') + gnome.program_init("gnome-osd-properties", gnome_osd_conf.VERSION) + diff --git a/misc/gnome-osd/pkg-descr b/misc/gnome-osd/pkg-descr new file mode 100644 index 000000000..6f105403d --- /dev/null +++ b/misc/gnome-osd/pkg-descr @@ -0,0 +1,8 @@ +Gnome OSD is a new small project to create an OSD (On-Screen-Display) +infrastructure, similar to XOSD. It includes a command-line client, +and sample xchat and rhythmbox plugins. + +WWW: http://www.gnomefiles.org/app.php?soft_id=350 + +- Jean-Yves Lefort +jylefort@FreeBSD.org diff --git a/misc/gnome-osd/pkg-plist b/misc/gnome-osd/pkg-plist new file mode 100644 index 000000000..67e2ff019 --- /dev/null +++ b/misc/gnome-osd/pkg-plist @@ -0,0 +1,55 @@ +bin/gnome-osd-client +bin/gnome-osd-event-bridge +bin/gnome-osd-properties +etc/xdg/autostart/gnome-osd-event-bridge.desktop +libdata/bonobo/servers/GNOME_OSD.server +%%PYTHON_SITELIBDIR%%/gnomeosd/__init__.py +%%PYTHON_SITELIBDIR%%/gnomeosd/__init__.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/__init__.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/capplet.py +%%PYTHON_SITELIBDIR%%/gnomeosd/capplet.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/capplet.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/client.py +%%PYTHON_SITELIBDIR%%/gnomeosd/client.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/client.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/eventbridge.py +%%PYTHON_SITELIBDIR%%/gnomeosd/eventbridge.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/eventbridge.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/gconfsync.py +%%PYTHON_SITELIBDIR%%/gnomeosd/gconfsync.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/gconfsync.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/gnome_osd_conf.py +%%PYTHON_SITELIBDIR%%/gnomeosd/gnome_osd_conf.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/gnome_osd_conf.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/gosd.py +%%PYTHON_SITELIBDIR%%/gnomeosd/gosd.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/gosd.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/gtasklet.py +%%PYTHON_SITELIBDIR%%/gnomeosd/gtasklet.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/gtasklet.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/gtkexcepthook.py +%%PYTHON_SITELIBDIR%%/gnomeosd/gtkexcepthook.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/gtkexcepthook.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/server.py +%%PYTHON_SITELIBDIR%%/gnomeosd/server.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/server.pyo +%%PYTHON_SITELIBDIR%%/gnomeosd/xscreensaver.py +%%PYTHON_SITELIBDIR%%/gnomeosd/xscreensaver.pyc +%%PYTHON_SITELIBDIR%%/gnomeosd/xscreensaver.pyo +libexec/gnome-osd-server +share/dbus-1/services/pt.inescporto.telecom.GnomeOSD.EventBridge.service +share/dbus-1/services/pt.inescporto.telecom.GnomeOSD.service +share/applications/gnome-osd-properties.desktop +share/gnome-osd/xchatosd.py +share/pixmaps/gnome-osd.png +share/locale/cs/LC_MESSAGES/gnome-osd.mo +share/locale/ja/LC_MESSAGES/gnome-osd.mo +share/locale/pt/LC_MESSAGES/gnome-osd.mo +@dirrmtry etc/xdg/autostart +@dirrmtry etc/xdg +@dirrm share/gnome-osd +@dirrm %%PYTHON_SITELIBDIR%%/gnomeosd +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% +@comment only remove the dbus directories if dbus is not installed +@unexec if ! [ -e %%LOCALBASE%%/bin/dbus-daemon ]; then rmdir %D/share/dbus-1/services 2>/dev/null; rmdir %D/share/dbus-1 2>/dev/null; fi diff --git a/misc/gnomesword/Makefile b/misc/gnomesword/Makefile new file mode 100644 index 000000000..3ee1dcf2f --- /dev/null +++ b/misc/gnomesword/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: gnomesword +# Date created: April 27, 2007 +# Whom: Thomas Abthorpe <thomas@goodking.ca> +# +# $FreeBSD$ +# + +PORTNAME= gnomesword +PORTVERSION= 2.2.3 +PORTREVISION= 2 +CATEGORIES= misc gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= thomas@goodking.ca +COMMENT= A bible interface utilizing the sword framework + +RUN_DEPENDS= ${LOCALBASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnome-spell \ + ${LOCALBASE}/lib/libsword.so:${PORTSDIR}/misc/sword +BUILD_DEPENDS= ${RUN_DEPENDS} + +USE_GETTEXT= yes +USE_X_PREFIX= yes +INSTALLS_OMF= yes +USE_GNOME= gnomehack gnomeprefix gnometarget gal2 gtkhtml3 intlhack gnomedocutils +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in AUTHORS ChangeLog INSTALL NEWS README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/misc/gnomesword/distinfo b/misc/gnomesword/distinfo new file mode 100644 index 000000000..f674b29f1 --- /dev/null +++ b/misc/gnomesword/distinfo @@ -0,0 +1,3 @@ +MD5 (gnomesword-2.2.3.tar.gz) = b8b331e0b6fbb1a53c6a778a5fd9298f +SHA256 (gnomesword-2.2.3.tar.gz) = 9d3d23010b70ac9275216700a71a8c5835562e755529db821147a9440bd7ccf2 +SIZE (gnomesword-2.2.3.tar.gz) = 3383086 diff --git a/misc/gnomesword/files/patch-Makefile.in b/misc/gnomesword/files/patch-Makefile.in new file mode 100644 index 000000000..e774108e0 --- /dev/null +++ b/misc/gnomesword/files/patch-Makefile.in @@ -0,0 +1,31 @@ +--- Makefile.in.orig Tue Apr 24 13:34:53 2007 ++++ Makefile.in Tue Apr 24 13:39:06 2007 +@@ -69,8 +69,7 @@ + *) f=$$p;; \ + esac; + am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +-am__installdirs = "$(DESTDIR)$(gnomemenudir)" \ +- "$(DESTDIR)$(gnomesworddocdir)" ++am__installdirs = "$(DESTDIR)$(gnomemenudir)" + gnomemenuDATA_INSTALL = $(INSTALL_DATA) + gnomesworddocDATA_INSTALL = $(INSTALL_DATA) + DATA = $(gnomemenu_DATA) $(gnomesworddoc_DATA) +@@ -690,7 +689,7 @@ + all-am: Makefile $(DATA) config.h + installdirs: installdirs-recursive + installdirs-am: +- for dir in "$(DESTDIR)$(gnomemenudir)" "$(DESTDIR)$(gnomesworddocdir)"; do \ ++ for dir in "$(DESTDIR)$(gnomemenudir)" do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done + install: install-recursive +@@ -738,8 +737,7 @@ + + info-am: + +-install-data-am: install-data-local install-gnomemenuDATA \ +- install-gnomesworddocDATA ++install-data-am: install-data-local install-gnomemenuDATA + + install-exec-am: + diff --git a/misc/gnomesword/files/patch-configure b/misc/gnomesword/files/patch-configure new file mode 100644 index 000000000..2338d3377 --- /dev/null +++ b/misc/gnomesword/files/patch-configure @@ -0,0 +1,116 @@ +--- configure.orig Fri Apr 27 13:23:11 2007 ++++ configure Fri Apr 27 13:27:18 2007 +@@ -25114,12 +25114,12 @@ + pkg_cv_GTKHTML_CFLAGS="$GTKHTML_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8 >= 3.13\"") >&5 +- ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8 >= 3.13") 2>&5 ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14 >= 3.13\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14 >= 3.13") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_GTKHTML_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8 >= 3.13" 2>/dev/null` ++ pkg_cv_GTKHTML_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14 >= 3.13" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -25132,12 +25132,12 @@ + pkg_cv_GTKHTML_LIBS="$GTKHTML_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8 >= 3.13\"") >&5 +- ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8 >= 3.13") 2>&5 ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14 >= 3.13\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14 >= 3.13") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_GTKHTML_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8 >= 3.13" 2>/dev/null` ++ pkg_cv_GTKHTML_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14 >= 3.13" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -25156,9 +25156,9 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- GTKHTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8 >= 3.13"` ++ GTKHTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14 >= 3.13"` + else +- GTKHTML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8 >= 3.13"` ++ GTKHTML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14 >= 3.13"` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTKHTML_PKG_ERRORS" >&5 +@@ -25196,12 +25196,12 @@ + pkg_cv_GTKHTML_CFLAGS="$GTKHTML_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5 +- ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5 ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_GTKHTML_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null` ++ pkg_cv_GTKHTML_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -25214,12 +25214,12 @@ + pkg_cv_GTKHTML_LIBS="$GTKHTML_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5 +- ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5 ++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5 ++ ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_GTKHTML_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null` ++ pkg_cv_GTKHTML_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -25238,9 +25238,9 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- GTKHTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"` ++ GTKHTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"` + else +- GTKHTML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"` ++ GTKHTML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTKHTML_PKG_ERRORS" >&5 +@@ -25262,8 +25262,8 @@ + + + fi +-GTKHTML_DATA_DIR="`$PKG_CONFIG --variable=gtkhtml_datadir libgtkhtml-3.8`" +-GTKHTML_API_VERSION=`$PKG_CONFIG --variable gtkhtml_apiversion libgtkhtml-3.8` ++GTKHTML_DATA_DIR="`$PKG_CONFIG --variable=gtkhtml_datadir libgtkhtml-3.14`" ++GTKHTML_API_VERSION=`$PKG_CONFIG --variable gtkhtml_apiversion libgtkhtml-3.14` + + cat >>confdefs.h <<_ACEOF + #define GTKHTML_DATA_DIR "${GTKHTML_DATA_DIR}" +@@ -26038,10 +26038,10 @@ + GTKMOZEMBED_VERSION=`pkg-config --modversion mozilla-gtkmozembed` + fi + fi +-GTKMOZEMBED_VERSION=${GTKMOZEMBED_VERSION:0:3} # TODO improve extraction of x.y +-GTKMOZEMBED_VERSION=${GTKMOZEMBED_VERSION//./_} +-GTKMOZEMBED_VERSION=${GTKMOZEMBED_VERSION//[:alpha:]/} +-GTKMOZEMBED_VERSION=GTKMOZEMBED_VERSION_$GTKMOZEMBED_VERSION ++###GTKMOZEMBED_VERSION=${GTKMOZEMBED_VERSION:0:3} # TODO improve extraction of x.y ++###GTKMOZEMBED_VERSION=${GTKMOZEMBED_VERSION//./_} ++###GTKMOZEMBED_VERSION=${GTKMOZEMBED_VERSION//[:alpha:]/} ++###GTKMOZEMBED_VERSION=GTKMOZEMBED_VERSION_$GTKMOZEMBED_VERSION + + + diff --git a/misc/gnomesword/pkg-descr b/misc/gnomesword/pkg-descr new file mode 100644 index 000000000..03a39d11a --- /dev/null +++ b/misc/gnomesword/pkg-descr @@ -0,0 +1,10 @@ +The GnomeSword GUI is a frontend to the SWORD project. + +The SWORD Project is an effort to create an ever expanding software +package for research and study of God and His Word. The SWORD Bible +Framework allows easy manipulation of Bible texts, commentaries, +lexicons, dictionaries, etc. Many frontends are build using this +framework. An installed module set may be shared between any frontend +using the framework. + +WWW: http://gnomesword.sourceforge.net/ diff --git a/misc/gnomesword/pkg-plist b/misc/gnomesword/pkg-plist new file mode 100644 index 000000000..04e23cf2f --- /dev/null +++ b/misc/gnomesword/pkg-plist @@ -0,0 +1,186 @@ +bin/gnomesword2 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +share/applications/gnomesword.desktop +share/gnomesword/bookmarks.glade +share/gnomesword/editor_note.xml +share/gnomesword/editor_studypad.xml +share/gnomesword/logo.png +share/gnomesword/module-manager.glade +share/gnomesword/prefs.glade +share/gnomesword/search-dialog.glade +share/gnomesword/sword3.png +share/gnome/help/gnomesword/C/authors.xml +share/gnome/help/gnomesword/C/figures/first_start.png +share/gnome/help/gnomesword/C/figures/interface.png +share/gnome/help/gnomesword/C/figures/interface_biblepane-options.png +share/gnome/help/gnomesword/C/figures/interface_biblepane.png +share/gnome/help/gnomesword/C/figures/interface_commentarypane.png +share/gnome/help/gnomesword/C/figures/interface_dictionary.png +share/gnome/help/gnomesword/C/figures/interface_menubar-view.png +share/gnome/help/gnomesword/C/figures/interface_menubar.png +share/gnome/help/gnomesword/C/figures/interface_parallel-separate.png +share/gnome/help/gnomesword/C/figures/interface_parallel.png +share/gnome/help/gnomesword/C/figures/interface_searchpane.png +share/gnome/help/gnomesword/C/figures/interface_shortcut.png +share/gnome/help/gnomesword/C/figures/interface_sidepane.png +share/gnome/help/gnomesword/C/figures/interface_toolbar.png +share/gnome/help/gnomesword/C/figures/interface_viewer.png +share/gnome/help/gnomesword/C/figures/module.png +share/gnome/help/gnomesword/C/figures/personal.png +share/gnome/help/gnomesword/C/figures/preferences.png +share/gnome/help/gnomesword/C/figures/preferences_fonts-color.png +share/gnome/help/gnomesword/C/figures/preferences_fonts-misc.png +share/gnome/help/gnomesword/C/figures/preferences_general-misc.png +share/gnome/help/gnomesword/C/figures/preferences_general-tabs.png +share/gnome/help/gnomesword/C/figures/preferences_modules-main.png +share/gnome/help/gnomesword/C/figures/preferences_modules-misc.png +share/gnome/help/gnomesword/C/figures/preferences_modules-parallel.png +share/gnome/help/gnomesword/C/figures/search_search.png +share/gnome/help/gnomesword/C/figures/studypad.png +share/gnome/help/gnomesword/C/figures/sword3.png +share/gnome/help/gnomesword/C/figures/sword_config.png +share/gnome/help/gnomesword/C/figures/sword_install.png +share/gnome/help/gnomesword/C/figures/sword_remove.png +share/gnome/help/gnomesword/C/figures/sword_sources.png +share/gnome/help/gnomesword/C/gnomesword.xml +share/gnome/help/gnomesword/C/interface.xml +share/gnome/help/gnomesword/C/introduction.xml +share/gnome/help/gnomesword/C/legal.xml +share/gnome/help/gnomesword/C/license.xml +share/gnome/help/gnomesword/C/modules.xml +share/gnome/help/gnomesword/C/personal.xml +share/gnome/help/gnomesword/C/preferences.xml +share/gnome/help/gnomesword/C/search.xml +share/gnome/help/gnomesword/C/start.xml +share/gnome/help/gnomesword/C/studypad.xml +share/gnome/help/gnomesword/de/authors.xml +share/gnome/help/gnomesword/de/figures/first_start.png +share/gnome/help/gnomesword/de/figures/interface.png +share/gnome/help/gnomesword/de/figures/interface_biblepane-options.png +share/gnome/help/gnomesword/de/figures/interface_biblepane.png +share/gnome/help/gnomesword/de/figures/interface_commentarypane.png +share/gnome/help/gnomesword/de/figures/interface_dictionary.png +share/gnome/help/gnomesword/de/figures/interface_menubar-view.png +share/gnome/help/gnomesword/de/figures/interface_menubar.png +share/gnome/help/gnomesword/de/figures/interface_parallel-separate.png +share/gnome/help/gnomesword/de/figures/interface_parallel.png +share/gnome/help/gnomesword/de/figures/interface_searchpane.png +share/gnome/help/gnomesword/de/figures/interface_shortcut.png +share/gnome/help/gnomesword/de/figures/interface_sidepane.png +share/gnome/help/gnomesword/de/figures/interface_toolbar.png +share/gnome/help/gnomesword/de/figures/interface_viewer.png +share/gnome/help/gnomesword/de/figures/module.png +share/gnome/help/gnomesword/de/figures/personal.png +share/gnome/help/gnomesword/de/figures/preferences.png +share/gnome/help/gnomesword/de/figures/preferences_fonts-color.png +share/gnome/help/gnomesword/de/figures/preferences_fonts-misc.png +share/gnome/help/gnomesword/de/figures/preferences_general-misc.png +share/gnome/help/gnomesword/de/figures/preferences_general-tabs.png +share/gnome/help/gnomesword/de/figures/preferences_modules-main.png +share/gnome/help/gnomesword/de/figures/preferences_modules-misc.png +share/gnome/help/gnomesword/de/figures/preferences_modules-parallel.png +share/gnome/help/gnomesword/de/figures/search_search.png +share/gnome/help/gnomesword/de/figures/studypad.png +share/gnome/help/gnomesword/de/figures/sword3.png +share/gnome/help/gnomesword/de/figures/sword_config.png +share/gnome/help/gnomesword/de/figures/sword_install.png +share/gnome/help/gnomesword/de/figures/sword_remove.png +share/gnome/help/gnomesword/de/figures/sword_sources.png +share/gnome/help/gnomesword/de/gnomesword.xml +share/gnome/help/gnomesword/de/interface.xml +share/gnome/help/gnomesword/de/introduction.xml +share/gnome/help/gnomesword/de/license.xml +share/gnome/help/gnomesword/de/modules.xml +share/gnome/help/gnomesword/de/personal.xml +share/gnome/help/gnomesword/de/preferences.xml +share/gnome/help/gnomesword/de/search.xml +share/gnome/help/gnomesword/de/start.xml +share/gnome/help/gnomesword/de/studypad.xml +share/gnome/help/gnomesword/fr/authors.xml +share/gnome/help/gnomesword/fr/figures/first_start.png +share/gnome/help/gnomesword/fr/figures/interface.png +share/gnome/help/gnomesword/fr/figures/interface_biblepane-options.png +share/gnome/help/gnomesword/fr/figures/interface_biblepane.png +share/gnome/help/gnomesword/fr/figures/interface_commentarypane.png +share/gnome/help/gnomesword/fr/figures/interface_dictionary.png +share/gnome/help/gnomesword/fr/figures/interface_menubar-view.png +share/gnome/help/gnomesword/fr/figures/interface_menubar.png +share/gnome/help/gnomesword/fr/figures/interface_parallel-separate.png +share/gnome/help/gnomesword/fr/figures/interface_parallel.png +share/gnome/help/gnomesword/fr/figures/interface_searchpane.png +share/gnome/help/gnomesword/fr/figures/interface_shortcut.png +share/gnome/help/gnomesword/fr/figures/interface_sidepane.png +share/gnome/help/gnomesword/fr/figures/interface_toolbar.png +share/gnome/help/gnomesword/fr/figures/interface_viewer.png +share/gnome/help/gnomesword/fr/figures/module.png +share/gnome/help/gnomesword/fr/figures/personal.png +share/gnome/help/gnomesword/fr/figures/preferences.png +share/gnome/help/gnomesword/fr/figures/preferences_fonts-color.png +share/gnome/help/gnomesword/fr/figures/preferences_fonts-misc.png +share/gnome/help/gnomesword/fr/figures/preferences_general-misc.png +share/gnome/help/gnomesword/fr/figures/preferences_general-tabs.png +share/gnome/help/gnomesword/fr/figures/preferences_modules-main.png +share/gnome/help/gnomesword/fr/figures/preferences_modules-misc.png +share/gnome/help/gnomesword/fr/figures/preferences_modules-parallel.png +share/gnome/help/gnomesword/fr/figures/search_search.png +share/gnome/help/gnomesword/fr/figures/studypad.png +share/gnome/help/gnomesword/fr/figures/sword3.png +share/gnome/help/gnomesword/fr/figures/sword_config.png +share/gnome/help/gnomesword/fr/figures/sword_install.png +share/gnome/help/gnomesword/fr/figures/sword_remove.png +share/gnome/help/gnomesword/fr/figures/sword_sources.png +share/gnome/help/gnomesword/fr/gnomesword.xml +share/gnome/help/gnomesword/fr/interface.xml +share/gnome/help/gnomesword/fr/introduction.xml +share/gnome/help/gnomesword/fr/license.xml +share/gnome/help/gnomesword/fr/modules.xml +share/gnome/help/gnomesword/fr/personal.xml +share/gnome/help/gnomesword/fr/preferences.xml +share/gnome/help/gnomesword/fr/search.xml +share/gnome/help/gnomesword/fr/start.xml +share/gnome/help/gnomesword/fr/studypad.xml +share/pixmaps/gnomesword/about.png +share/pixmaps/gnomesword/dlg-un.png +share/pixmaps/gnomesword/epiphany-bookmark-page.png +share/pixmaps/gnomesword/epiphany-bookmarks.png +share/pixmaps/gnomesword/epiphany-secure.png +share/pixmaps/gnomesword/epiphany-unsecure.png +share/pixmaps/gnomesword/gnome-session.png +share/pixmaps/gnomesword/gnome-window-manager.png +share/pixmaps/gnomesword/gnome-windows.png +share/pixmaps/gnomesword/gs2-48x48.ico +share/pixmaps/gnomesword/gs2-48x48.png +share/pixmaps/gnomesword/init-settings.png +share/pixmaps/gnomesword/logo.png +share/pixmaps/gnomesword/new_tab_button.png +share/pixmaps/gnomesword/splash.png +share/pixmaps/gnomesword/splash2.png +share/pixmaps/gnomesword/sword.png +share/pixmaps/gnomesword/sword3.png +share/pixmaps/gnomesword/tt.png +share/locale/bg/LC_MESSAGES/gnomesword.mo +share/locale/cs/LC_MESSAGES/gnomesword.mo +share/locale/de/LC_MESSAGES/gnomesword.mo +share/locale/en_GB/LC_MESSAGES/gnomesword.mo +share/locale/es/LC_MESSAGES/gnomesword.mo +share/locale/fi/LC_MESSAGES/gnomesword.mo +share/locale/fr/LC_MESSAGES/gnomesword.mo +share/locale/nl/LC_MESSAGES/gnomesword.mo +share/locale/ru/LC_MESSAGES/gnomesword.mo +share/locale/sk/LC_MESSAGES/gnomesword.mo +share/locale/uk/LC_MESSAGES/gnomesword.mo +@dirrm share/pixmaps/gnomesword +@dirrm share/gnome/help/gnomesword/fr/figures +@dirrm share/gnome/help/gnomesword/fr +@dirrm share/gnome/help/gnomesword/de/figures +@dirrm share/gnome/help/gnomesword/de +@dirrm share/gnome/help/gnomesword/C/figures +@dirrm share/gnome/help/gnomesword/C +@dirrm share/gnome/help/gnomesword +@dirrm share/gnomesword +@dirrm %%DOCSDIR%% diff --git a/misc/gregexp/Makefile b/misc/gregexp/Makefile new file mode 100644 index 000000000..33cef335c --- /dev/null +++ b/misc/gregexp/Makefile @@ -0,0 +1,27 @@ +# ex:ts=8 +# Ports collection makefile for: gregexp +# Date created: May 4, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gregexp +PORTVERSION= 0.3 +PORTREVISION= 5 +CATEGORIES= misc +MASTER_SITES= http://dentrassi.de/download/gregexp/%SUBDIR%/ +MASTER_SITE_SUBDIR= ${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A graphical regular expression explorer + +LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre + +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix libgnomeui +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/misc/gregexp/distinfo b/misc/gregexp/distinfo new file mode 100644 index 000000000..6e4dd0b1d --- /dev/null +++ b/misc/gregexp/distinfo @@ -0,0 +1,3 @@ +MD5 (gregexp-0.3.tar.gz) = 67310625715c4f13ec65e2ebb90a3654 +SHA256 (gregexp-0.3.tar.gz) = 09c4189ee75efc0a80e7cfc819e1078e3f3d401a93bb034a52b5eb31348f9f00 +SIZE (gregexp-0.3.tar.gz) = 96034 diff --git a/misc/gregexp/files/patch-configure b/misc/gregexp/files/patch-configure new file mode 100644 index 000000000..35eacbaf7 --- /dev/null +++ b/misc/gregexp/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Tue May 4 11:55:27 2004 ++++ configure Tue May 4 11:55:45 2004 +@@ -5665,7 +5665,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define DATADIR "${prefix}/share/" ++#define DATADIR "${datadir}/" + _ACEOF + + diff --git a/misc/gregexp/files/patch-src::main.c b/misc/gregexp/files/patch-src::main.c new file mode 100644 index 000000000..78569bc14 --- /dev/null +++ b/misc/gregexp/files/patch-src::main.c @@ -0,0 +1,120 @@ +--- src/main.c.orig Wed Mar 10 17:35:40 2004 ++++ src/main.c Thu Jul 1 21:03:44 2004 +@@ -107,16 +107,20 @@ + + void set_escaped ( gchar * expression, unsigned int levels ) + { ++ unsigned int num; ++ gchar * escaped; ++ unsigned int x; // temp var ++ unsigned int i, j; ++ + if ( !expression ) + return; + +- unsigned int num = (1<<levels)-1; +- gchar * escaped = g_malloc ( (strlen ( expression ) * (num+1) )+1 ); // worst case if each character would be escaped ++ num = (1<<levels)-1; ++ escaped = g_malloc ( (strlen ( expression ) * (num+1) )+1 ); // worst case if each character would be escaped + escaped[0] = 0; + +- unsigned int x; // temp var +- unsigned int i = 0; +- unsigned int j = 0; ++ i = 0; ++ j = 0; + while ( expression[i] ) + { + switch ( expression[i] ) +@@ -144,10 +148,12 @@ + + void clear_result () + { ++ ResultItem * result; ++ + if ( !lastResult ) + return; + +- ResultItem * result = lastResult; ++ result = lastResult; + while ( result->position >= 0 ) + { + if ( result->value ) +@@ -202,14 +208,16 @@ + ResultItem * transform ( int * ovector, unsigned int matches, const gchar * data ) + { + ResultItem * resultItems; ++ int parent; ++ GTrashStack * stack; ++ unsigned int o; + + resultItems = g_malloc ( sizeof(ResultItem)*(matches+1) ); + +- int parent = 0; ++ parent = 0; + +- GTrashStack * stack = NULL; ++ stack = NULL; + +- unsigned int o; + for ( o = 0; o<matches; o++ ) + { + int offset = ovector[o*2]; +@@ -268,17 +276,18 @@ + { + GtkTextIter iter; + GtkTextBuffer * buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(resultEntry) ); ++ gchar * result; ++ int o, j, i, x; + + gtk_text_buffer_set_text ( buffer, "", -1 ); + + gtk_text_buffer_get_iter_at_offset (buffer, &iter, 0); + +- gchar * result = g_malloc ( (strlen ( data ) + 128 ) * 2 ); ++ result = g_malloc ( (strlen ( data ) + 128 ) * 2 ); + +- int o; +- int j = 0; +- int i = 0; +- int x = 0; ++ j = 0; ++ i = 0; ++ x = 0; + while ( data[i] ) + { + for ( o = 0; o<matches; o++ ) +@@ -362,6 +371,8 @@ + + int flags = PCRE_UTF8; + ++ ResultItem * resultItems; ++ + if ( opt_multiline() ) + flags |= PCRE_MULTILINE; + +@@ -403,7 +414,6 @@ + + // Fill result tree + +- ResultItem * resultItems; + resultItems = transform ( ovector, rc, data ); + update_model ( resultItems, resultTree ); + +@@ -441,14 +451,14 @@ + GtkTreeSelection * sel; + GtkTreeModel * model; + GtkTreeIter iter; ++ gint position; ++ + sel = gtk_tree_view_get_selection ( GTK_TREE_VIEW(resultTree) ); + + if ( !gtk_tree_selection_get_selected ( sel, &model, &iter ) ) + { + return; + } +- +- gint position; + + gtk_tree_model_get ( model, &iter, POSITION_COLUMN, &position, -1 ); + diff --git a/misc/gregexp/pkg-descr b/misc/gregexp/pkg-descr new file mode 100644 index 000000000..0821a879b --- /dev/null +++ b/misc/gregexp/pkg-descr @@ -0,0 +1,3 @@ +GRegExp Explorer is a graphical regular expression explorer based on the PCRE +regular expression library. It is possible to test regular expressions on the +fly and check the result in detail. diff --git a/misc/gregexp/pkg-plist b/misc/gregexp/pkg-plist new file mode 100644 index 000000000..c63f56b91 --- /dev/null +++ b/misc/gregexp/pkg-plist @@ -0,0 +1,6 @@ +bin/gregexp +share/applications/gregexp.desktop +share/pixmaps/gregexp.png +share/gregexp/glade/gregexp.glade +@dirrm share/gregexp/glade +@dirrm share/gregexp |