diff options
author | lioux <lioux@FreeBSD.org> | 2005-05-30 23:23:29 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2005-05-30 23:23:29 +0000 |
commit | 70e811c5020adb8dcbfec6e5e5ff043471888409 (patch) | |
tree | 1862460fd5ec1701d6208b6377e83dc9f94df7a0 | |
parent | 9db9895f51317ef488cb21a29b744d91b6c6dad0 (diff) | |
download | FreeBSD-ports-70e811c5020adb8dcbfec6e5e5ff043471888409.zip FreeBSD-ports-70e811c5020adb8dcbfec6e5e5ff043471888409.tar.gz |
New port print/texinfo version 4.8: A typeset documentation system
with multiple format output
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/texinfo/Makefile | 46 | ||||
-rw-r--r-- | print/texinfo/distinfo | 2 | ||||
-rw-r--r-- | print/texinfo/files/patch-doc::Makefile.in | 29 | ||||
-rw-r--r-- | print/texinfo/pkg-descr | 18 | ||||
-rw-r--r-- | print/texinfo/pkg-install | 28 | ||||
-rw-r--r-- | print/texinfo/pkg-plist | 66 |
7 files changed, 190 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 0af032c..f5342ad 100644 --- a/print/Makefile +++ b/print/Makefile @@ -257,6 +257,7 @@ SUBDIR += tex SUBDIR += tex-omegaware-old SUBDIR += tex-texmflocal + SUBDIR += texinfo SUBDIR += texpower SUBDIR += tgif2tex SUBDIR += tipograf diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile new file mode 100644 index 0000000..5b50758 --- /dev/null +++ b/print/texinfo/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: latest texinfo +# Date created: Sun May 29 17:32:08 UTC 2005 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= texinfo +PORTVERSION= 4.8 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= A typeset documentation system with multiple format output + +USE_GETTEXT= yes + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +INSTALL_TARGET= install install-tex +PKGDEINSTALL= ${PKGINSTALL} + +MAKE_ARGS= TEXMF=${PREFIX}/${TEXMFLOCAL} +CONFIGURE_ARGS= \ + --infodir=${PREFIX}/${INFO_PATH} \ + --without-included-gettext +CONFIGURE_ENV= \ + CPPFLAGS="-I${LOCALBASE}/lib" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" + +INFO= ${PORTNAME} info-stnd info +MAN1= info.1 infokey.1 install-info.1 makeinfo.1 texi2dvi.1 \ + texindex.1 +MAN5= info.5 texinfo.5 + +PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} + +TEXMFLOCAL= share/texmf-local + +post-install: + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ + ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/print/texinfo/distinfo b/print/texinfo/distinfo new file mode 100644 index 0000000..951c2f8 --- /dev/null +++ b/print/texinfo/distinfo @@ -0,0 +1,2 @@ +MD5 (texinfo-4.8.tar.bz2) = 6ba369bbfe4afaa56122e65b3ee3a68c +SIZE (texinfo-4.8.tar.bz2) = 1521822 diff --git a/print/texinfo/files/patch-doc::Makefile.in b/print/texinfo/files/patch-doc::Makefile.in new file mode 100644 index 0000000..9297966 --- /dev/null +++ b/print/texinfo/files/patch-doc::Makefile.in @@ -0,0 +1,29 @@ +--- doc/Makefile.in.orig Fri Dec 31 16:01:25 2004 ++++ doc/Makefile.in Sun May 29 19:57:29 2005 +@@ -76,7 +76,7 @@ + CONFIG_CLEAN_FILES = + SOURCES = + DIST_SOURCES = +-INFO_DEPS = texinfo info-stnd.info info.info ++INFO_DEPS = texinfo.info info-stnd.info info.info + am__TEXINFO_TEX_DIR = $(srcdir) + DVIS = texinfo.dvi info-stnd.dvi info.dvi + PDFS = texinfo.pdf info-stnd.pdf info.pdf +@@ -219,7 +219,7 @@ + + # Put texinfo.txi first because that's the most important. + info_TEXINFOS = texinfo.txi info-stnd.texi info.texi +-DISTCLEANFILES = texinfo texinfo-* info*.info* ++DISTCLEANFILES = texinfo.info texinfo-* info*.info* + man_MANS = info.1 infokey.1 install-info.1 makeinfo.1 texindex.1 texi2dvi.1 \ + info.5 texinfo.5 + +@@ -273,7 +273,7 @@ + $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +-texinfo: texinfo.txi $(srcdir)/version.texi ++texinfo.info: texinfo.txi $(srcdir)/version.texi + restore=: && backupdir="$(am__leading_dot)am$$$$" && \ + rm -rf $$backupdir && mkdir $$backupdir && \ + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ diff --git a/print/texinfo/pkg-descr b/print/texinfo/pkg-descr new file mode 100644 index 0000000..2b37c60 --- /dev/null +++ b/print/texinfo/pkg-descr @@ -0,0 +1,18 @@ +[ excerpt from developer's web site ] + +Texinfo is the official documentation format of the GNU project. +It was invented by Richard Stallman and Bob Chassell many years +ago, loosely based on Brian Reid's Scribe and other formatting +languages of the time. It is used by many non-GNU projects as well. + +Texinfo uses a single source file to produce output in a number of +formats, both online and printed (dvi, html, info, pdf, xml, etc.). +This means that instead of writing different documents for online +information and another for a printed manual, you need write only +one document. And when the work is revised, you need revise only +that one document. The Texinfo system is well-integrated with GNU +Emacs. + +WWW: http://www.gnu.org/software/texinfo/ + +-- lioux@FreeBSD.org diff --git a/print/texinfo/pkg-install b/print/texinfo/pkg-install new file mode 100644 index 0000000..b6e6a86 --- /dev/null +++ b/print/texinfo/pkg-install @@ -0,0 +1,28 @@ +#!/bin/sh +# $FreeBSD$ + +[ $# != 2 ] && exit 1 +PKGNAME=$1 +ACTION=$2 + +PATH="${PKG_PREFIX}/bin:/usr/local/bin:/usr/bin:${PATH}" + +SETENV=env +TEXHASH=texhash +TRUE=true + +case "$ACTION" in + +POST-INSTALL|DEINSTALL) + ${SETENV} PATH="${PATH}" ${TEXHASH} 2>/dev/null || ${TRUE} + ;; + +PRE-INSTALL|POST-DEINSTALL) + ;; + +*) + exit 1 + ;; +esac + +exit diff --git a/print/texinfo/pkg-plist b/print/texinfo/pkg-plist new file mode 100644 index 0000000..7fcdc1a --- /dev/null +++ b/print/texinfo/pkg-plist @@ -0,0 +1,66 @@ +bin/info +bin/infokey +bin/install-info +bin/makeinfo +bin/texi2dvi +bin/texi2pdf +bin/texindex +share/locale/cs/LC_MESSAGES/texinfo.mo +share/locale/da/LC_MESSAGES/texinfo.mo +share/locale/de/LC_MESSAGES/texinfo.mo +share/locale/de_AT/LC_MESSAGES/texinfo.mo +share/locale/eo/LC_MESSAGES/texinfo.mo +share/locale/fr/LC_MESSAGES/texinfo.mo +share/locale/he/LC_MESSAGES/texinfo.mo +share/locale/hr/LC_MESSAGES/texinfo.mo +share/locale/ja/LC_MESSAGES/texinfo.mo +share/locale/nb/LC_MESSAGES/texinfo.mo +share/locale/nl/LC_MESSAGES/texinfo.mo +share/locale/no/LC_MESSAGES/texinfo.mo +share/locale/pl/LC_MESSAGES/texinfo.mo +share/locale/ro/LC_MESSAGES/texinfo.mo +share/locale/ru/LC_MESSAGES/texinfo.mo +share/locale/sv/LC_MESSAGES/texinfo.mo +share/locale/tr/LC_MESSAGES/texinfo.mo +share/locale/zh_CN/LC_MESSAGES/texinfo.mo +share/locale/zh_TW/LC_MESSAGES/texinfo.mo +%%DATADIR%%/texinfo.cat +%%DATADIR%%/texinfo.dtd +%%DATADIR%%/texinfo.xsl +%%TEXMFLOCAL%%/pdftex/plain/misc/pdfcolor.tex +%%TEXMFLOCAL%%/tex/generic/dvips/epsf.tex +%%TEXMFLOCAL%%/tex/texinfo/texinfo.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-cs.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-de.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-en.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-es.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-fr.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-it.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-nl.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-no.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-pl.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-pt.tex +%%TEXMFLOCAL%%/tex/texinfo/txi-tr.tex +@dirrm %%TEXMFLOCAL%%/tex/texinfo +@unexec rmdir %D/%%TEXMFLOCAL%%/tex/generic/dvips 2> /dev/null || true +@unexec rmdir %D/%%TEXMFLOCAL%%/tex/generic 2> /dev/null || true +@unexec rmdir %D/%%TEXMFLOCAL%%/tex 2> /dev/null || true +@unexec rmdir %D/%%TEXMFLOCAL%%/pdftex/plain/misc 2> /dev/null || true +@unexec rmdir %D/%%TEXMFLOCAL%%/pdftex/plain 2> /dev/null || true +@unexec rmdir %D/%%TEXMFLOCAL%%/pdftex 2> /dev/null || true +@unexec rmdir %D/%%TEXMFLOCAL%% 2> /dev/null || true +@dirrm %%DATADIR%% +@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zh_TW 2> /dev/null || true +@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zh_CN 2> /dev/null || true +@unexec rmdir %D/share/locale/ro/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ro 2> /dev/null || true +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/pl 2> /dev/null || true +@unexec rmdir %D/share/locale/no/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/no 2> /dev/null || true +@unexec rmdir %D/share/locale/de_AT/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/de_AT 2> /dev/null || true +@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/cs 2> /dev/null || true |