Commit graph

41 commits

Author SHA1 Message Date
Muhammad Moinur Rahman
a9b0182964 print/texlive-texmf: Temporarily reduce DEPENDS
This is a large port and due to the dependencies often triggered for
rebuilds. There might be cases where python and texlive-base might not
be necessary hence reduce the temporarily remove the dependencies and
check the outcome. On my cases I did not find any problem as the
runtimes are installed by other necessary packages for those who use it
extensively for writing. If there is a runtime breakage scream at me
please at the earliest.

Remove an unnecesary VARIABLE from previous commit which is for
MAINTAINER_MODE only.

Not bumping as this does not feel trivial and no need to trigger a
rebuild of other ports which depends on doxygen.
2023-10-26 22:34:03 +02:00
Muhammad Moinur Rahman
a2992ca4da print/texlive-texmf: Update dists
- The distfile has been replaced with a locally modified distfile
  including all the patches required resulting in a smaller distfile.
  The delta is a huge step forward reducing the original file from 3.6GB
  to 1.1 GB.
- However this still does not change the build time a lot. Although it
  reduces the fetch and install target but the package target is still
  large. I have checked with a static plist and due to it's size the
  time difference is longer and does not yield any better results.
- There are still 9 more ports which uses the original upstream distfile
  of 3.6GB but I will slowly replace them with smaller targeted dists to
  reduce the fetch target duration.

Sponsored by:	Nepustil
2023-10-26 14:22:06 +02:00
Muhammad Moinur Rahman
24e24a1956 */tex*: Update version 20210325=>20230313
- devel/tex-kpathsea: Update version 6.3.3=>6.3.5
- print/texlive-tlmgr: Update version 20210325=>20230313
  * Add LICENSE GPLv2
- devel/tex-libtexlua: Update distinfo from 20230313 dists
- devel/tex-libtexluajit: Update distinfo from 20230313 dists
- print/tex-ptexenc: Update version 1.3.9=>1.4.3
  * Pet portclippy
- devel/tex-web2c: Update version 20210325=>20230313
- devel/tex-synctex: Update distinfo from 20230313 dists
- print/tex-basic-engines: Update version 20210325=>20230313
- print/texlive-base: Update version 20210325=>20230313
- print/texlive-docs: Update version 20210325=>20230313
- print/texlive-full: Update version 20210325=>20230313
- print/texlive-texmf: Update version 20210325=>20230313
- print/texlive-texmf-source: Update version 20210325=>20230313
- print/latex-biber: Update version 2.16=>2.19
- print/tex-dvipdfmax: Update version 20210325=>20230313
- print/tex-dvipsk: Update version 2021.1=>2023.1
- print/tex-formats: Update version 20210325=>20230313
- print/tex-jadetex: Update distinfo from 20230313 dists
- print/tex-luatex: Update version 1.12.0=>1.16.0
- print/tex-xetex: Update distinfo from 20230313 dists
- print/tex-xmltex: Update distinfo from 20230313 dists
- japanese/tex-ptex: Fix build
  * Remove ConTeXt format
- textproc/foiltex: Update MASTER_SITES
  * Adopt port
- There are multiple ports which uses the macro USE_TEX=texmf that is
  downloading a big DISTFILE. Unfortunately it is not possible for me to
  test all the consumers in runtime. So in the following ports I have
  removed USE_TEX=texmf so that someone who uses those can report the
  runtime files those are missing. If possible(based on LICENSE
  permission) I will try to create a smaller distfile out of the
  texlive-20230313-texmf and change dependency accordingly otherwise
  will reinstate USE_TEX=texmf. The list of ports that are affected are
  following:
  * arabic/arabtex
  * graphics/epix
  * math/cadabra2
  * math/coq
  * math/gnuplot-tex-extras
  * net-mgmt/netmagis-www
  * print/dvisvg
  * print/lilypond
  * print/mftrace
  * print/tex-xdvik
  * print/latex-beamer

Sponsored by:	Nepustil
2023-04-11 10:43:18 -05:00
Muhammad Moinur Rahman
721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
b86221feea cleanup: remove trailing whitepaces 2022-09-07 12:26:41 +02:00
Jan Beich
029acf78ac print/texlive-texmf: unbreak fetch on i386 after 8374a33c80
fetch: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/texlive-20210325-texmf.tar.xz: size mismatch: expected 2147483647, actual 3474113420

Reported by:	antoine
2022-02-19 22:53:20 +00:00
Muhammad Moinur Rahman
9eae55747b print/texlive-texmf: Remove CONFLICTS
- Remove reference to old latex-base DIST

PR:		262052
Reported by:	alt2600@icloud.com
2022-02-19 16:42:35 -06:00
Muhammad Moinur Rahman
8374a33c80 tex* : Update version 20150521=>20210325
- Update MASTER_SITES_TEX_CTAN from https://tug.org/historic/
- Update texlua to use texlua53 library
- Deprecate CSLaTeX format
- Remove aleph as per Upstream
- Add common variables TEXLIVE_YEAR and TEXLIVE_VERSION to be used in
  all ports related to tex*
- Fix dependency of print/texlive-texmf-source [1]
- devel/tex-kpathsea: Update version 6.2.1=>6.3.3
- devel/tex-libtexlua: Update version 5.2.4=>5.3.6
- devel/tex-libtexluajit: Update version 2.0.3=>2.1.0
- devel/tex-synctex: Update version 1.17.0=>2.0.0
- devel/tex-web2c: Update version 20150521=>20210325
- editors/texworks: Fix build with newer tex version
- print/tex-basic-engines: Update version 20150521=>20210325
- print/tex-dvipdfmax: Update version 20150521=>20210325
- print/tex-dvipsk: Update version 5.995=>20210325.1
- print/tex-formats: Update version 20150521=>20210325
- print/tex-jadetex:
- print/tex-luatex: Update version 0.80.0=>1.12.0
  * Convert to dynamic pkg-plist
- print/tex-ptexenc: Update version 1.3.3=>1.3.9
- print/tex-xetex: Update version 0.99992=>0.99993
  * Convert to dynamic pkg-plist
- print/texlive-base: Update version 20150521=>20210325
- print/texlive-docs: Update version 20150521=>20210325
  * Convert to dynamic pkg-plist
- print/texlive-full: Update version 20150521=>20210325
- print/texlive-texmf-source: Update version 20150521=>20210325
- print/texlive-texmf: Update version 20150521=>20210325
  * Convert to dynamic pkg-plist
- print/texlive-tlmgr: Update version 20150521=>20210325
- print/xpdfopen: Transfer MAINTAINER to tex@ as xpdfopen is an
  integral part of tex after poppler support has been deprecated from
  tex [2]
- textproc/dblatex: Update version 0.3.11=>0.3.12
  * Take MAINTAINERship
- textproc/gastex: Fix build
- textproc/metauml: Fix build

PR:		226983 [1]
Reported by:	Trond.Endrestol@ximalas.info [1]
Reviewed by:	tcberner (private repo)
Approved by:	hrs (maintainer-timeout) [2]
Relnotes: https://tug.org/texlive/doc/texlive-en/texlive-en.html#news
Sponsored by:	Nepustil.net
2022-02-18 20:25:00 -06:00
Stefan Eßer
22ba17b97f print/texlive-texmf: Add CPE information
Approved by:	portmgr (blanket)
2021-10-14 12:24:24 +02:00
Daniel Engberg
05540b77e7 print/texlive-texmf: Update maintainer from freebsd-tex@ to tex@
PR:		257601
Approved by:	tcberner (mentor)
2021-08-17 12:37:19 +02:00
Tobias C. Berner
75b84e53f2 print/texlive-full: Update maintainership of TeX Live universe ports
- Give the maintainership of the TeX-live related ports to the FreeBSD
  TeX group [1].

[1] https://wiki.freebsd.org/tex

Approved by:	hrs
2021-05-05 18:25:32 +02:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Martin Wilke
5ccd27dd1d -Fix shebangs 2017-04-23 11:03:22 +00:00
Jan Beich
93028a155a print/texlive-texmf: unbreak on aarch64 on real hardware
=======================<phase: package        >============================
===>  Building package for texlive-texmf-20150523_3
pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
====>> Killing timed out build after 3600 seconds
====>> Cleaning up wrkdir
===>  Cleaning for texlive-texmf-20150523_3
pkg-static: lstat(/wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/share/texmf-dist/fonts/type1/public/pl/plti7.pfm): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/share/texmf-dist/fonts/type1/public/pl/plti8.pfb): No such file or directory
pkg-static: lstat(/wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/share/texmf-dist/fonts/type1/public/[...]

Reported by:	pkg-fallout (runaway_proces)
Approved by:	portmgr blanket (unblocking 172 ports)
2017-01-24 11:44:51 +00:00
Mathieu Arnold
065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Dmitry Marakasov
007ed5f751 - Fix shebangs
- Add NO_ARCH
- Fix NO_WRKSRC (should be NO_WRKSUBDIR)

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
2015-08-12 12:00:33 +00:00
Hiroki Sato
01b61e0833 - Fix dependency due to change in r392909.
- Remove unnecessary gmake dependency.

PR:	201890
2015-07-26 19:13:23 +00:00
Hiroki Sato
6caf5364a5 - Allow comma-separated multiple arguments in USE_TEX like "foo:arg1,arg2".
- Add EXTRACT_DEPENDS to texlive-texmf.
2015-07-24 20:48:02 +00:00
Hiroki Sato
e49c66f103 - Update LaTeX2e to 20150101pl2.
- Add CONFLICTS.
- Fix pkg-plist.
2015-07-24 09:39:32 +00:00
Hiroki Sato
90410e570d Update TeXLive to TL2015.
- print/texlive-infra was renamed with print/texlive-tlmgr.
  Note that currently tlmgr(1) does not work because of
  lack of TLPDB.  This will be fixed.

- Lua libraries used in LuaTeX are separated into
  devel/tex-libtexlua and devel/texlibtexluajit.
  USE_TEX supports them via keywords "texlua" and "texluajit".

- libsynctex is currently installed by devel/tex-web2c.
  This will be separated into a single port.

- Add graphics/libpotrace and use installed libpotrace
  and libharfbuzz.
2015-07-19 20:33:34 +00:00
Antoine Brodin
115aba45f3 Cleanup plist 2014-11-13 07:41:17 +00:00
Hiroki Sato
d5acd8954a Fix a warning message when \usepackage[magyar]{babel} and utf8 inputenc
are used at the same time.

PR:		194349
Submitted by:	Zsolt Udvari
2014-11-02 20:49:59 +00:00
Hiroki Sato
ececdb663c Split print/texlive-texmf into two ports, texlive-texmf and
texlive-texmf-source.

PR:	193202
2014-08-31 20:23:30 +00:00
Hiroki Sato
f599a5e158 - Add capability to specify package dependency in USE_TEX.
- Make print/texlive-full always depend on the latest packages; currently
  texmf>=20140525_2 and base>=20140525_1.
2014-08-23 17:58:43 +00:00
Hiroki Sato
d886961e88 Fix duplicated files.
Spotted by:	Jan Henrik Sylvester
2014-08-22 15:35:04 +00:00
Hiroki Sato
6e0c41ef75 Update TeXLive to 2014.
- Note that full support of configuration tools such as tlmgr and texconfig
  is not ready yet.

- Most of dviware now supports libpaper to choose the default papersize.
  Use paperconfig(8) utility or print/papersize-default-* packages.

- Some quite old macros of the age of latex209 have been removed, and
  there are user-visible/invisible incompatibilities.  Please send a report
  to freebsd-tex@FreeBSD.org or file a PR if you have trouble.
2014-08-22 11:04:23 +00:00
Baptiste Daroussin
2a0b64c734 Support stage for texlive, given it is impossible to rebuild the fmt files into
the stage then they are now rebuild in post-installation, like it is done in
other package system
2014-07-04 17:35:18 +00:00
Baptiste Daroussin
3a749cac52 Support stage 2014-04-06 16:20:23 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Baptiste Daroussin
6c6152ff82 Add NO_STAGE all over the place in preparation for the staging support (cat: print) 2013-09-20 22:43:59 +00:00
Hiroki Sato
1a49d1a04f Remove duplicate files with print/texlive-infra.
Spotted by:	Tony Morlan
2013-05-23 08:31:09 +00:00
Hiroki Sato
ca9b293799 - Fix duplicated pkg-plist entries.
- Split off documentation to print/texlive-docs from print/texlive-texmf.
  The document part was 1.3GB (30k files).  Now the size of texlive-texmf
  package is 557MB (this was 1.5GB before the split).
- do-texhash, do-fmtutil, do-updmap targets now run after post-install.
2013-05-22 08:26:53 +00:00
Hiroki Sato
6a782d26cb Mark USE_TEX=texlive in TeXLive-specific ports. 2013-05-15 15:33:02 +00:00
Hiroki Sato
4e09def2d4 Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT:
	A knob to choose teTeX or TeXLive.  One can specify in /etc/make.conf.

USE_TEX:
	A knob for port developers.  Valid keywords are listed in
	bsd.tex.mk.
2013-05-11 17:58:55 +00:00
Hiroki Sato
d09ef7c559 Split off print/tex-dvipsk from print/texlive-base. libpaper support
will be added later.
2013-05-09 20:03:43 +00:00
Hiroki Sato
7148be76c6 - Separate print/tex-dvipdfmx from print/texlive-base and add libpaper
support.  dvipdfmx's default paper size can be set by
  ${LOCALBASE}/etc/papersize and/or PAPERSIZE environment variable as
  other programs like print/psutils do.

- Use absolute pathname in {fmtutil,texconfig,updmap}-sys programs because
  manually-installed and/or old TeXLive files can prevent them from
  working. [1]

- Fix pkg-plist in print/texlive-texmf.

- Remove DIST_SUBDIR from Mk/bsd.tex.mk.

Reported by:	bsam, Stephen Montgomery-Smith [1]
2013-05-07 08:44:32 +00:00
Hiroki Sato
139838ce1d TeXLive mega commit. The following ports have been added:
* Meta port
   - print/texlive-full: meta port to install all of the TeXLive components

  * Libraries
   - devel/tex-kpathsea: kpathsea library
   - devel/tex-web2c: WEB2C toolchain and TeX engines
   - print/tex-ptexenc: character code conversion library for pTeX

  * Base part of the TeXLive
   - print/texlive-base: binary programs in TeXLive
   - print/texlive-texmf: macro and font data in TeXLive
   - print/texlive-infra: tlmgr dependency (Perl modules)

  * TeX Formats
   - print/tex-formats: TeX, LaTeX, PDFTeX, AMSTeX, ConTeXT, CSLaTeX,
       EplainTeX, METAFONT, MLTeX, PDFTeX, TeXsis
   - print/tex-aleph: Aleph/Lambda
   - print/tex-xetex: XeTeX
   - print/tex-luatex: LuaTeX
   - print/tex-jadetex: JadeTeX
   - print/tex-xmltex: XMLTeX
   - japanese/tex-ptex: pTeX

  * DVI ware
   - print/tex-xdvik: XDvi

Mk/bsd.tex.mk is added for common part and USE_TEX knob [1].

Approved by:	portmgr (old version) [1]
PR:		ports/171571
PR:		ports/176399 [1]
2013-05-06 00:44:22 +00:00