import kile 1.9

Kile is an integrated LaTeX environment for the KDE desktop.
Kile gives you the ability to use all the functionalities of LaTeX in
a graphical interface, giving you easy, immediate, and customized
access to all programs for LaTeX compiling, postprocessing, debugging,
conversion and viewing tools; you also get very handy wizards, a LaTeX
reference, interfaces with GnuPlot and XFig, and project management.

submitted by David Love <david@dcs.shef.ac.uk>
This commit is contained in:
steven 2006-05-20 20:24:47 +00:00
parent f1784f0fa1
commit 65f33d3ee1
10 changed files with 1414 additions and 0 deletions

50
editors/kile/Makefile Normal file
View File

@ -0,0 +1,50 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/05/20 20:24:47 steven Exp $
COMMENT= "integrated LaTeX environment for KDE"
DISTNAME= kile-1.9
CATEGORIES= editors x11/kde
HOMEPAGE= http://kile.sourceforge.net/
MAINTAINER= David Love <david@dcs.shef.ac.uk>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kile/}
EXTRACT_SUFX= .tar.bz2
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xrender ICE SM c m pthread stdc++ util z \
art_lgpl_2 jpeg pcre pcreposix png
LIB_DEPENDS= DCOP,kabc,katepartinterfaces.1,kdecore.4,kdefx,kdeprint,kdesu,kdeui,khtml,kio,kjs,kparts,kresources,kspell.7,ktexteditor.1,kutils,kwalletclient,vcard::x11/kde/libs3
RUN_DEPENDS= kdvi,kpdf::x11/kde/graphics3 \
latex::print/teTeX/base
MODULES= x11/kde devel/gettext
MAKE_ENV= KDEDIR="${LOCALBASE}"
MAKE_FLAGS= ${MODKDE_MAKE_FLAGS}
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.59
MODGNU_CONFIG_GUESS_DIRS=${MODKDE_CONFIG_GUESS_DIRS}
CONFIGURE_ARGS+=${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ENV= ${MODKDE_CONFIGURE_ENV} \
LDADD="-pthread -lm"
pre-configure:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
${WRKSRC}/src/kile/kile.kcfg
.include <bsd.port.mk>

4
editors/kile/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (kile-1.9.tar.bz2) = 32b660b4baccecf895d40c5ed43d2ffc
RMD160 (kile-1.9.tar.bz2) = 9522062a00e3f75829be4856b6c8ad5f6c205ba6
SHA1 (kile-1.9.tar.bz2) = 07a4f57f71a67eadc2106c6ffbfa87417d10a581
SIZE (kile-1.9.tar.bz2) = 4708076

View File

@ -0,0 +1,18 @@
--- acinclude.m4.orig Fri Mar 17 08:30:02 2006
+++ acinclude.m4 Fri Mar 24 13:47:56 2006
@@ -3516,9 +3516,12 @@ int main() {
return 0;
}
EOF
- kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out | grep -E "libc.so"| grep -E -o "/lib[[^\/]]*/" | sed "s/lib//" | sed "s/\/*//g"`
- rm -rf conftest.*
- fi
+ kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
+ s,.*/lib\([[^\/]]*\)/.*,\1,
+ p
+ }'`
+ rm -rf conftest.*
+ fi
if test "$kdelibsuff" = "no"; then
kdelibsuff=

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_kile_kile_kcfg,v 1.1.1.1 2006/05/20 20:24:48 steven Exp $
--- src/kile/kile.kcfg.orig Sun Apr 30 01:47:26 2006
+++ src/kile/kile.kcfg Sun Apr 30 01:47:46 2006
@@ -198,7 +198,7 @@
<group name="Help">
<entry name="location" type="String">
<label>Location of the TeX documentation.</label>
- <default>/usr/share/texmf/doc</default>
+ <default>!!LOCALBASE!!/share/texmf-dist/doc</default>
</entry>
<entry name="use" type="Int">
<label>Use the system's TeX reference for the contextual help.</label>

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_kile_syntax_Makefile_am,v 1.1.1.1 2006/05/20 20:24:48 steven Exp $
--- src/kile/syntax/Makefile.am.orig Fri Mar 17 08:28:26 2006
+++ src/kile/syntax/Makefile.am Fri Mar 24 12:49:12 2006
@@ -1,3 +1,13 @@
syntaxdir = $(kde_datadir)/katepart/syntax
-syntax_DATA = latex.xml bibtex.xml
+syntax_DATA = latex-kile.xml bibtex-kile.xml
+
+# dl - 4 January 2006
+# Rename these files so they don't conflict with the KDE
+# defaults. This gives the user a choice between the syntax
+# files provided by Kile, and those shipped with KDE
+latex-kile.xml:
+ mv latex.xml latex-kile.xml
+
+bibtex-kile.xml:
+ mv bibtex.xml bibtex-kile.xml

View File

@ -0,0 +1,157 @@
$OpenBSD: patch-src_kile_syntax_Makefile_in,v 1.1.1.1 2006/05/20 20:24:48 steven Exp $
--- src/kile/syntax/Makefile.in.orig Fri Mar 24 13:53:31 2006
+++ src/kile/syntax/Makefile.in Fri Mar 24 13:53:54 2006
@@ -1,5 +1,4 @@
# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# KDE tags expanded automatically by am_edit - $Revision: 1.1.1.1 $
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -59,9 +58,7 @@ am__strip_dir = `echo $$p | sed -e 's|^.
am__installdirs = "$(DESTDIR)$(syntaxdir)"
syntaxDATA_INSTALL = $(INSTALL_DATA)
DATA = $(syntax_DATA)
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
@@ -314,25 +311,11 @@ xdg_appsdir = @xdg_appsdir@
xdg_directorydir = @xdg_directorydir@
xdg_menudir = @xdg_menudir@
syntaxdir = $(kde_datadir)/katepart/syntax
-syntax_DATA = latex.xml bibtex.xml
-#>- all: all-am
-#>+ 1
-all: docs-am all-am
+syntax_DATA = latex-kile.xml bibtex-kile.xml
+all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-#>- @for dep in $?; do \
-#>- case '$(am__configure_deps)' in \
-#>- *$$dep*) \
-#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-#>- && exit 0; \
-#>- exit 1;; \
-#>- esac; \
-#>- done; \
-#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/kile/syntax/Makefile'; \
-#>- cd $(top_srcdir) && \
-#>- $(AUTOMAKE) --gnu src/kile/syntax/Makefile
-#>+ 12
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -344,7 +327,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefi
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/kile/syntax/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/kile/syntax/Makefile
- cd $(top_srcdir) && perl admin/am_edit src/kile/syntax/Makefile.in
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
@@ -454,13 +436,9 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-#>- clean: clean-am
-#>+ 1
-clean: kde-rpo-clean clean-am
+clean: clean-am
-#>- clean-am: clean-generic clean-libtool mostlyclean-am
-#>+ 1
-clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
+clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
@@ -514,74 +492,16 @@ uninstall-am: uninstall-info-am uninstal
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
uninstall uninstall-am uninstall-info-am uninstall-syntaxDATA
+
+# dl - 4 January 2006
+# Rename these files so they don't conflict with the KDE
+# defaults. This gives the user a choice between the syntax
+# files provided by Kile, and those shipped with KDE
+latex-kile.xml:
+ mv latex.xml latex-kile.xml
+
+bibtex-kile.xml:
+ mv bibtex.xml bibtex-kile.xml
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
-
-#>+ 2
-KDE_DIST=latex.xml bibtex.xml Makefile.am Makefile.in
-
-#>+ 2
-docs-am:
-
-#>+ 15
-force-reedit:
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/kile/syntax/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu src/kile/syntax/Makefile
- cd $(top_srcdir) && perl admin/am_edit src/kile/syntax/Makefile.in
-
-
-#>+ 21
-clean-bcheck:
- rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
-
-bcheck: bcheck-am
-
-bcheck-am:
- @for i in ; do \
- if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
- echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
- echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
- echo "$$i"; \
- if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
- rm -f $$i.bchecktest.cc; exit 1; \
- fi ; \
- echo "" >> $$i.bchecktest.cc.class; \
- perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
- rm -f a.out; \
- fi ; \
- done
-
-
-#>+ 3
-final:
- $(MAKE) all-am
-
-#>+ 3
-final-install:
- $(MAKE) install-am
-
-#>+ 3
-no-final:
- $(MAKE) all-am
-
-#>+ 3
-no-final-install:
- $(MAKE) install-am
-
-#>+ 3
-kde-rpo-clean:
- -rm -f *.rpo
-
-#>+ 3
-nmcheck:
-nmcheck-am: nmcheck

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_kile_syntax_bibtex_xml,v 1.1.1.1 2006/05/20 20:24:48 steven Exp $
--- src/kile/syntax/bibtex.xml.orig Wed Feb 22 21:58:02 2006
+++ src/kile/syntax/bibtex.xml Wed Feb 22 21:59:13 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="BibTeX" version="1.12" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)" license="LGPL">
+<language name="BibTeX (Kile version)" version="1.12" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)" license="LGPL">
<highlighting>
<list name="kw_entry">
<item>@article</item>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_kile_syntax_latex_xml,v 1.1.1.1 2006/05/20 20:24:48 steven Exp $
--- src/kile/syntax/latex.xml.orig Fri Mar 24 12:50:32 2006
+++ src/kile/syntax/latex.xml Fri Mar 24 12:50:42 2006
@@ -1,6 +1,6 @@
<?xml version="1.01" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="LaTeX" version="1.19" section="Markup" kateversion="2.3" extensions="*.tex; *.ltx; *.dtx; *.sty; *.cls;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@t-online.de)" license="LGPL" >
+<language name="LaTeX (Kile version)" version="1.19" section="Markup" kateversion="2.3" extensions="*.tex; *.ltx; *.dtx; *.sty; *.cls;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@t-online.de)" license="LGPL" >
<highlighting>
<contexts>
<!-- Normal text -->

6
editors/kile/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
Kile is an integrated LaTeX environment for the KDE desktop.
Kile gives you the ability to use all the functionalities of LaTeX in
a graphical interface, giving you easy, immediate, and customized
access to all programs for LaTeX compiling, postprocessing, debugging,
conversion and viewing tools; you also get very handy wizards, a LaTeX
reference, interfaces with GnuPlot and XFig, and project management.

1127
editors/kile/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff