summaryrefslogtreecommitdiff
path: root/math/oleo
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-08-02 00:05:11 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-08-02 00:05:11 +0000
commit0721c061a1b9010da8a14cb26b88811781432c9c (patch)
tree3f67a80053e7b484dd4112a11b37d21753376fa4 /math/oleo
parentUpdate port to 0.9.4 (diff)
Update port to 1.99.12
PR: 20264 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=31225
Diffstat (limited to 'math/oleo')
-rw-r--r--math/oleo/Makefile12
-rw-r--r--math/oleo/distinfo2
-rw-r--r--math/oleo/files/patch-ad16
-rw-r--r--math/oleo/files/patch-ag60
-rw-r--r--math/oleo/files/patch-ah15
-rw-r--r--math/oleo/files/patch-ai11
-rw-r--r--math/oleo/files/patch-aj11
-rw-r--r--math/oleo/pkg-plist4
8 files changed, 117 insertions, 14 deletions
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index 8878f52a8cb1..d239e5965866 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -6,21 +6,21 @@
#
PORTNAME= oleo
-PORTVERSION= 1.99.5
+PORTVERSION= 1.99.12
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= oleo
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_XLIB= yes
-GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= --with-x --without-motif \
- --without-Xbae --without-XmHTML \
- --without-xlt --without-SciPlot
+ --without-xbae --without-xlt \
+ --without-xmhtml --without-SciPlot
.include <bsd.port.mk>
diff --git a/math/oleo/distinfo b/math/oleo/distinfo
index f5e9fc604eb4..c8d3ca9a6cbe 100644
--- a/math/oleo/distinfo
+++ b/math/oleo/distinfo
@@ -1 +1 @@
-MD5 (oleo-1.99.5.tar.gz) = 80cad7cb19e12a5f75b80a7c72849748
+MD5 (oleo-1.99.12.tar.gz) = 57ac0e2eab661685ef5f6fa6bfe5b1c5
diff --git a/math/oleo/files/patch-ad b/math/oleo/files/patch-ad
index bc33cb5147f1..ea31af6138ca 100644
--- a/math/oleo/files/patch-ad
+++ b/math/oleo/files/patch-ad
@@ -1,8 +1,16 @@
---- Makefile.in.orig Sat Jul 10 16:46:45 1999
-+++ Makefile.in Sat Sep 18 04:16:54 1999
-@@ -123,7 +123,7 @@
- EXTRA_DIST = oleobug.in FAQ oleo.spec.in oleo.spec ftp.gnudist ftp.alpha ftp.dist
+--- Makefile.in.orig Sat Jul 22 18:51:35 2000
++++ Makefile.in Fri Jul 28 04:28:46 2000
+@@ -124,14 +124,14 @@
+ D = `date +%G%m%d.%H%M%S`
+
+-SUBDIRS = doc lib intl src m4 po Xresources examples afm
++SUBDIRS = doc lib intl src m4 po Xresources examples
+
+ # Remove this file here (it is created via configure), not from within intl.
+ DISTCLEANFILES = intl/libintl.h
+
+ EXTRA_DIST = oleobug.in FAQ oleo.spec.in oleo.spec
-docdir = $(prefix)/Oleo
+docdir = $(datadir)/doc/Oleo
diff --git a/math/oleo/files/patch-ag b/math/oleo/files/patch-ag
new file mode 100644
index 000000000000..2d4bce85ce2d
--- /dev/null
+++ b/math/oleo/files/patch-ag
@@ -0,0 +1,60 @@
+--- aclocal.m4.orig Thu Feb 10 05:22:27 2000
++++ aclocal.m4 Fri Jul 28 19:30:42 2000
+@@ -1733,7 +1733,7 @@
+ # but which still want to provide support for the GNU gettext functionality.
+ # Please note that the actual code is *not* freely available.
+
+-# serial 3
++# serial 5
+
+ AC_DEFUN(AM_WITH_NLS,
+ [AC_MSG_CHECKING([whether NLS is requested])
+@@ -1775,9 +1775,10 @@
+ AC_CHECK_LIB(intl, bindtextdomain,
+ [AC_CACHE_CHECK([for gettext in libintl],
+ gt_cv_func_gettext_libintl,
+- [AC_TRY_LINK([], [return (int) gettext ("")],
+- gt_cv_func_gettext_libintl=yes,
+- gt_cv_func_gettext_libintl=no)])])
++ [AC_CHECK_LIB(intl, gettext,
++ gt_cv_func_gettext_libintl=yes,
++ gt_cv_func_gettext_libintl=no)],
++ gt_cv_func_gettext_libintl=no)])
+ fi
+
+ if test "$gt_cv_func_gettext_libc" = "yes" \
+@@ -1799,6 +1800,9 @@
+ INSTOBJEXT=.mo
+ fi
+ fi
++ if test "$gt_cv_func_gettext_libintl" = "yes"; then
++ INTLLIBS='-lintl'
++ fi
+ ])
+
+ if test "$CATOBJEXT" = "NONE"; then
+@@ -1883,6 +1887,12 @@
+ nls_cv_header_intl=intl/libintl.h
+ nls_cv_header_libgt=intl/libgettext.h
+ fi
++ AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
++ AC_OUTPUT_COMMANDS(
++ [case "$CONFIG_FILES" in *po/Makefile.in*)
++ sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
++ esac])
++
+
+ # If this is used in GNU gettext we have to set USE_NLS to `yes'
+ # because some of the sources are only built for this goal.
+@@ -1927,9 +1937,9 @@
+ AC_REQUIRE([AC_FUNC_MMAP])dnl
+
+ AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \
+-unistd.h values.h sys/param.h])
++unistd.h sys/param.h])
+ AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \
+-__argz_count __argz_stringify __argz_next])
++strdup __argz_count __argz_stringify __argz_next])
+
+ if test "${ac_cv_func_stpcpy+set}" != "set"; then
+ AC_CHECK_FUNCS(stpcpy)
diff --git a/math/oleo/files/patch-ah b/math/oleo/files/patch-ah
new file mode 100644
index 000000000000..b0d2a4e1cd80
--- /dev/null
+++ b/math/oleo/files/patch-ah
@@ -0,0 +1,15 @@
+--- configure.in.orig Tue Jul 25 21:56:32 2000
++++ configure.in Fri Jul 28 02:51:24 2000
+@@ -324,12 +324,6 @@
+ AM_GNU_GETTEXT
+
+ dnl
+-dnl This used to cause all kinds of problems in an earlier revision
+-dnl of oleo. (Mostly because of using earlier auto* tools.)
+-dnl
+-AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
+-
+-dnl
+ dnl Pass information about where we install to the source, to be
+ dnl able to read AFM files. Note this doesn't work if you
+ dnl install via "make install DESTDIR=/xxx"
diff --git a/math/oleo/files/patch-ai b/math/oleo/files/patch-ai
new file mode 100644
index 000000000000..4643659df60c
--- /dev/null
+++ b/math/oleo/files/patch-ai
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig Sat Jul 22 18:51:35 2000
++++ doc/Makefile.in Fri Jul 28 03:02:45 2000
+@@ -87,7 +87,7 @@
+ LIBOBJS = @LIBOBJS@
+ LN_S = @LN_S@
+ MAINT = @MAINT@
+-MAKEINFO = @MAKEINFO@
++MAKEINFO = @MAKEINFO@ --no-split
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MOTIF_CFLAGS = @MOTIF_CFLAGS@
+ MOTIF_LIBS = @MOTIF_LIBS@
diff --git a/math/oleo/files/patch-aj b/math/oleo/files/patch-aj
new file mode 100644
index 000000000000..7706eb4c4d20
--- /dev/null
+++ b/math/oleo/files/patch-aj
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig Fri Aug 28 06:15:29 1998
++++ po/Makefile.in.in Fri Jul 28 04:30:24 2000
+@@ -119,7 +119,7 @@
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
++ *.mo) destdir=$(gnulocaledir);; \
+ *) destdir=$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
diff --git a/math/oleo/pkg-plist b/math/oleo/pkg-plist
index 3b62801db52a..03ed1443d895 100644
--- a/math/oleo/pkg-plist
+++ b/math/oleo/pkg-plist
@@ -4,14 +4,12 @@ share/locale/fr/LC_MESSAGES/oleo.mo
share/locale/nl/LC_MESSAGES/oleo.mo
share/oleo/fr/Oleo
share/oleo/nl/Oleo
+share/oleo/oleo.html
share/oleo/Oleo
share/doc/Oleo/AUTHORS
share/doc/Oleo/FAQ
@unexec install-info --delete %D/info/oleo.info %D/info/dir
info/oleo.info
-info/oleo.info-1
-info/oleo.info-2
-info/oleo.info-3
@exec install-info %D/info/oleo.info %D/info/dir
@dirrm share/doc/Oleo
@dirrm share/oleo/nl