xlt stable port information

Package: xlt
Version: 13.0.13
Revision: 3
Maintainer: None
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
autoconf2.6,
automake1.11,
libtool2,
openmotif4,
x11-dev
<<
Source: mirror:sourceforge:%N/Xlt-%v.tar.gz
Source-MD5: 46b6259c7637d6e9b87520eb91b6ea51
PatchFile: %n.patch
PatchFile-MD5: 8fd3315610961791d2d0cbbd0b47b7b9
PatchScript: <<
%{default_script}
perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' acinclude.m4
<<
ConfigureParams: --disable-dependency-tracking --enable-static
CompileScript: <<
autoreconf -f -i
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
mv %i/share/aclocal/ac_find_motif.m4 %i/share/aclocal/ac_find_motif-%n.m4
<<
DocFiles: AUTHORS ChangeLog COPYING COPYING.LIB NEWS README
BuildDependsOnly: True
SplitOff: <<
Package: %N-shlibs
Depends: <<
openmotif4-shlibs,
x11
<<
Files: lib/*.*.dylib
Shlibs: %p/lib/libXlt.0.dylib 14.0.0 %n (>= 13.0.13-1)
DocFiles: AUTHORS ChangeLog COPYING COPYING.LIB NEWS README
<<
Description: Set of motif based widgets
DescDetail: <<
The Xlt widget set is a group of larger and smaller utility widgets. In
addition the Xlt library also suppplied a couple of convenience functions
(and macros) to help with certain tasks while programming with the Motif
API.
<<
DescPackaging: <<
Patched doc/Makefile.in so the correct doc and man directory is selected.

#Patched configure to use fink's aclocal path without needing
#BuildDepends:automaken

Using fink's UpdateLibTool causes compile-time failure (ltconfig and
ltmain.sh version mismatch (?)), so redo real autotools. Therefore no
reason to avoid using them for aclocal path. Why doesn't aclocal look
in local dir??

Rename ac_find_motif.m4 to avoid conflicts with lesstif.

Originally packaged by Matt Stephenson.

fangism bumped dep to openmotif4.
<<
License: GPL/LGPL
Homepage: http://xlt.sourceforge.net

xlt stable port .patch

diff -Nurd -x'*~' Xlt-13.0.13.orig/Makefile.am Xlt-13.0.13/Makefile.am
--- Xlt-13.0.13.orig/Makefile.am 2005-09-16 08:55:48.000000000 -0400
+++ Xlt-13.0.13/Makefile.am 2007-07-17 16:21:53.000000000 -0400
@@ -6,7 +6,8 @@
ltconfig ltmain.sh aclocal.m4 config.h.in install-sh \
missing mkinstalldirs

-SUBDIRS = . lib doc tests scripts
+SUBDIRS = . lib doc scripts
+ACLOCAL_AMFLAGS = -I .

EXTRA_DIST = COPYING.LIB ac_find_xlt.m4 ac_find_xpm.m4 ac_find_motif.m4

diff -Nurd -x'*~' Xlt-13.0.13.orig/acinclude.m4 Xlt-13.0.13/acinclude.m4
--- Xlt-13.0.13.orig/acinclude.m4 2004-07-02 14:43:01.000000000 -0400
+++ Xlt-13.0.13/acinclude.m4 2007-06-26 12:25:38.000000000 -0400
@@ -444,3 +444,5 @@
)
AC_MSG_RESULT($lt_cv_libm)
])
+
+m4_include(ac_find_motif.m4)
diff -Nurd -x'*~' Xlt-13.0.13.orig/doc/Makefile.am Xlt-13.0.13/doc/Makefile.am
--- Xlt-13.0.13.orig/doc/Makefile.am 2005-09-12 16:56:03.000000000 -0400
+++ Xlt-13.0.13/doc/Makefile.am 2007-06-26 13:34:49.000000000 -0400
@@ -7,7 +7,6 @@

xltdir = $(includedir)/Xlt

-mandir = $(prefix)/man
man_MANS = \
StrokeInstall.3 Strokes.3 \
Xlt.3 \
@@ -51,4 +50,4 @@

html_DATA = $(html_HTML)

-htmldir= $(prefix)/Xlt/doc/html
+htmldir= $(prefix)/share/doc/xlt

xlt _unstable_ port .patch