pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/kpathsea Import kpathsea-3.5.7 from pkgsrc-wip.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d03bde22ca84
branches: trunk
changeset: 552398:d03bde22ca84
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Jan 03 22:12:42 2009 +0000
description:
Import kpathsea-3.5.7 from pkgsrc-wip.
Kpathsea is a library to do path searching. It is used in the Web2C
implementation of TeX and friends. The library's fundamental purpose
is to return a filename from a list of directories specified by the
user, similar to what shells do when looking up program names to
execute.
diffstat:
print/kpathsea/DEINSTALL | 13 ++++
print/kpathsea/DESCR | 5 +
print/kpathsea/INSTALL | 13 ++++
print/kpathsea/Makefile | 56 ++++++++++++++++++++
print/kpathsea/PLIST | 84 +++++++++++++++++++++++++++++++
print/kpathsea/buildlink3.mk | 20 +++++++
print/kpathsea/distinfo | 6 ++
print/kpathsea/files/texmf-deinstall.tmpl | 13 ++++
print/kpathsea/files/texmf-install.tmpl | 12 ++++
print/kpathsea/patches/patch-aa | 56 ++++++++++++++++++++
print/kpathsea/texmf.mk | 25 +++++++++
11 files changed, 303 insertions(+), 0 deletions(-)
diffs (truncated from 347 to 300 lines):
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/DEINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/DEINSTALL Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+case "${STAGE}" in
+DEINSTALL)
+ ${RM} -f \
+ @PKG_SYSCONFDIR@/ls-R \
+ @VARBASE@/lib/texmf/ls-R \
+ @TEXMFLOCAL@/ls-R \
+ @PREFIX@/share/doc/texmf/ls-R \
+ @PREFIX@/share/texmf-dist/ls-R \
+ @PREFIX@/share/texmf/ls-R
+ ;;
+esac
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/DESCR Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,5 @@
+Kpathsea is a library to do path searching. It is used in the Web2C
+implementation of TeX and friends. The library's fundamental purpose
+is to return a filename from a list of directories specified by the
+user, similar to what shells do when looking up program names to
+execute.
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/INSTALL Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+case "${STAGE}" in
+POST-INSTALL)
+ @PREFIX@/bin/mktexlsr \
+ @PREFIX@/share/texmf \
+ @PREFIX@/share/texmf-dist \
+ @PREFIX@/share/doc/texmf \
+ @TEXMFLOCAL@ \
+ @VARBASE@/lib/texmf \
+ @PKG_SYSCONFDIR@
+ ;;
+esac
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/Makefile Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+DISTNAME= texlive-20080816-source
+PKGNAME= kpathsea-3.5.7
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX= .tar.lzma
+
+MAINTAINER= minskim%NetBSD.org@localhost
+HOMEPAGE= http://www.tug.org/kpathsea/
+COMMENT= Path searching library for TeX-related files
+
+CONFLICTS+= teTeX-bin-[0-9]*
+CONFLICTS+= teTeX-texmf-[0-9]*
+
+EXTRACT_ELEMENTS= ${DISTNAME}/texk/kpathsea \
+ ${DISTNAME}/texk/make \
+ ${DISTNAME}/texk/config.guess \
+ ${DISTNAME}/texk/config.sub \
+ ${DISTNAME}/texk/install.sh \
+ ${DISTNAME}/texk/mkinstalldirs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+INFO_FILES= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/texk/kpathsea
+
+MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
+
+SUBST_CLASSES+= texmfdir
+SUBST_MESSAGE.texmfdir= Setting texmf directories.
+SUBST_STAGE.texmfdir= pre-configure
+SUBST_FILES.texmfdir= texmf.cnf
+SUBST_SED.texmfdir= -e 's,@TEXMFLOCAL@,${TEXMFLOCAL},'
+SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE},'
+SUBST_SED.texmfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
+
+PKG_SYSCONFSUBDIR= texmf
+
+BUILD_DEFS+= VARBASE
+TEXMFLOCAL= ${PREFIX}/share/texmf-local
+FILES_SUBST+= TEXMFLOCAL=${TEXMFLOCAL}
+
+CONF_FILES= ${PREFIX}/share/texmf/web2c/texmf.cnf \
+ ${PKG_SYSCONFDIR}/texmf.cnf
+
+OWN_DIRS+= ${TEXMFLOCAL} ${VARBASE}/lib/texmf
+INSTALLATION_DIRS+= share/doc/texmf share/texmf-dist
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/PLIST Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,84 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+bin/kpseaccess
+bin/kpsereadlink
+bin/kpsestat
+bin/kpsewhich
+bin/mktexlsr
+bin/mktexmf
+bin/mktexpk
+bin/mktextfm
+include/kpathsea/absolute.h
+include/kpathsea/c-auto.h
+include/kpathsea/c-ctype.h
+include/kpathsea/c-dir.h
+include/kpathsea/c-errno.h
+include/kpathsea/c-fopen.h
+include/kpathsea/c-limits.h
+include/kpathsea/c-memstr.h
+include/kpathsea/c-minmax.h
+include/kpathsea/c-namemx.h
+include/kpathsea/c-pathch.h
+include/kpathsea/c-pathmx.h
+include/kpathsea/c-proto.h
+include/kpathsea/c-stat.h
+include/kpathsea/c-std.h
+include/kpathsea/c-unistd.h
+include/kpathsea/c-vararg.h
+include/kpathsea/cnf.h
+include/kpathsea/concatn.h
+include/kpathsea/config.h
+include/kpathsea/db.h
+include/kpathsea/debug.h
+include/kpathsea/default.h
+include/kpathsea/expand.h
+include/kpathsea/fn.h
+include/kpathsea/fontmap.h
+include/kpathsea/getopt.h
+include/kpathsea/hash.h
+include/kpathsea/kpathsea.h
+include/kpathsea/lib.h
+include/kpathsea/line.h
+include/kpathsea/magstep.h
+include/kpathsea/paths.h
+include/kpathsea/pathsearch.h
+include/kpathsea/proginit.h
+include/kpathsea/progname.h
+include/kpathsea/readable.h
+include/kpathsea/recorder.h
+include/kpathsea/str-list.h
+include/kpathsea/str-llist.h
+include/kpathsea/systypes.h
+include/kpathsea/tex-file.h
+include/kpathsea/tex-glyph.h
+include/kpathsea/tex-hush.h
+include/kpathsea/tex-make.h
+include/kpathsea/tilde.h
+include/kpathsea/truncate.h
+include/kpathsea/types.h
+include/kpathsea/variable.h
+include/kpathsea/xopendir.h
+include/kpathsea/xstat.h
+info/kpathsea.info
+lib/libkpathsea.la
+man/man1/kpseaccess.1
+man/man1/kpsereadlink.1
+man/man1/kpsestat.1
+man/man1/kpsewhich.1
+man/man1/mktexlsr.1
+man/man1/mktexmf.1
+man/man1/mktexpk.1
+man/man1/mktextfm.1
+share/texmf/web2c/mktex.opt
+share/texmf/web2c/mktexdir
+share/texmf/web2c/mktexdir.opt
+share/texmf/web2c/mktexnam
+share/texmf/web2c/mktexnam.opt
+share/texmf/web2c/mktexupd
+share/texmf/web2c/texmf.cnf
+@dirrm share/texmf/web2c
+@exec ${MKDIR} %D/share/texmf-dist
+@dirrm share/texmf-dist
+@dirrm share/texmf
+@exec ${MKDIR} %D/share/doc/texmf
+@dirrm share/doc/texmf
+@dirrm include/kpathsea
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/buildlink3.mk Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+KPATHSEA_BUILDLINK3_MK:= ${KPATHSEA_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= kpathsea
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkpathsea}
+BUILDLINK_PACKAGES+= kpathsea
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kpathsea
+
+.if ${KPATHSEA_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=3.5.7
+BUILDLINK_PKGSRCDIR.kpathsea?= ../../print/kpathsea
+BUILDLINK_FILES.kpathsea+= bin/kpsewhich
+.endif # KPATHSEA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/distinfo Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d
+RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38
+Size (texlive-20080816-source.tar.lzma) = 23175835 bytes
+SHA1 (patch-aa) = 758c34fca692adec25fd4aa411ceedaf9be1421c
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/files/texmf-deinstall.tmpl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/files/texmf-deinstall.tmpl Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: texmf-deinstall.tmpl,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+#
+# Rebuild ls-R databases.
+#
+
+case ${STAGE} in
+POST-DEINSTALL)
+ @FIND@ -d @TEXMF_DIRS@ -type d -empty -exec @RMDIR@ {} \;
+ @MKTEXLSR@ @TEXMF_DIRS@
+ ;;
+*)
+ ;;
+esac
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/files/texmf-install.tmpl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/files/texmf-install.tmpl Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: texmf-install.tmpl,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+#
+# Rebuild ls-R databases.
+#
+
+case ${STAGE} in
+POST-INSTALL)
+ @MKTEXLSR@ @TEXMF_DIRS@
+ ;;
+*)
+ ;;
+esac
diff -r 222a5737ccfc -r d03bde22ca84 print/kpathsea/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/kpathsea/patches/patch-aa Sat Jan 03 22:12:42 2009 +0000
@@ -0,0 +1,56 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+Set paths to texmf trees for pkgsrc.
+
+--- texmf.cnf.orig 2008-07-26 14:39:36.000000000 -0700
++++ texmf.cnf
+@@ -44,18 +44,18 @@
+
+ % The tree containing the runtime files closely related to the specific
+ % program version used:
+-TEXMFMAIN = $SELFAUTOPARENT/texmf
++TEXMFMAIN = $SELFAUTODIR/share/texmf
+
+ % The main distribution tree:
+-TEXMFDIST = $SELFAUTOPARENT/texmf-dist
++TEXMFDIST = $SELFAUTODIR/share/texmf-dist
+
+ % Our documentation-only tree, arranged by language:
+-TEXMFDOC = $SELFAUTOPARENT/texmf-doc
++TEXMFDOC = $SELFAUTODIR/share/doc/texmf
+
+ % A place for local additions to a "standard" texmf tree.
+ % This tree is not used for local configuration maintained by
+ % texconfig, it uses TEXMFCONFIG below.
+-TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local
++TEXMFLOCAL = @TEXMFLOCAL@
+
+ % TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
+ % With teTeX-3.0 or later, this must be set.
+@@ -63,7 +63,7 @@ TEXMFLOCAL = $SELFAUTOPARENT/../texmf-lo
+ % TEXMFSYSVAR = $TEXMFMAIN
+ % For using a separate tree:
+ % TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
+-TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
++TEXMFSYSVAR = @VARBASE@/lib/texmf
+
+ % TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
+ % With teTeX-3.0 or later, this must be set.
Home |
Main Index |
Thread Index |
Old Index